8 Commits

Author SHA1 Message Date
d9c8bb8e34 Fix Pango layout extents error in draw_year_markers
- Replace get_extents() with get_pixel_size() for correct text measurement
- Fixes ValueError: not enough values to unpack error
- get_pixel_size() returns (width, height) tuple directly in pixels
2025-11-28 22:23:28 +01:00
a94b01c4d8 Add HTML preview website for MyTimeline plugin
- Create interactive preview page showing timeline visualization
- Display demo family events (Smith family) with color-coded markers
- Responsive design with modern styling
- Shows birth (green), death (red), and marriage (blue) events
- Includes year markers and event details
2025-11-28 22:20:34 +01:00
6d5db75411 Add missing build_tree() abstract method implementation
- Implement build_tree() method required by NavigationView
- Calls goto_handle() with active family to rebuild display
- Fixes TypeError when loading MyTimeline view
2025-11-28 22:19:03 +01:00
b3488a29e8 Fix bidirectional family references in demo family generator
- Add parentin references for fathers and mothers
- Add childof references for children
- Regenerate person XMLs with correct family relationships
- Fixes import errors about missing bidirectional references
2025-11-28 22:14:03 +01:00
da620972a6 Add huge demo family for testing MyTimeline plugin
- Add generate_demo_family.py script to generate demo data
- Add demo_family.gramps with large family tree:
  * 2 parents (John and Mary Smith)
  * 15 children
  * 5 spouses
  * ~20 grandchildren
  * Multiple families with marriage events
  * Birth and death events for all members
- Perfect for testing the MyTimeline plugin with real data
2025-11-28 22:09:31 +01:00
77f36d6b8b Update plugin author information 2025-11-28 22:07:36 +01:00
2d724f9a0a Update plugin version to match Gramps 5.1
Changed MODULE_VERSION from 6.0 to 5.1 to match installed Gramps version
2025-11-28 22:06:34 +01:00
581a6c1f59 Initial commit: MyTimeline plugin for Gramps
- Add MyTimeline.gpr.py plugin registration file
- Add MyTimeline.py view implementation with vertical timeline
- Displays family events (marriage, birth, death) in a vertical timeline
- Supports navigation, bookmarks, and database updates
2025-11-28 21:49:59 +01:00