My first gramplet - "Historical Context" for gramps 5.2

Thanks for clarifying.
I actually searched for Danish Historical Timeline, and couldn’t find any, except as a part of a genealogical software.
So my choice was either to install that software, and try to reverse engineer it, or invent my own.
And I think to use gramps date formats make more sense, that the GEDCOM, but it is a matter of feeling. I can see that the FROM, TO and other could have worked for the data files - but I think it is to much hazzle to change that now.
I will definately take a look at the link you provided.
That said, I think my approach with a “clean” datafile is better, than having to provide a module for each language, at least for a user with no programming experience.

Yes your approach with a clean data file is better than having the data packed into some programming code.

I understand that it is now too late to change such a fundamental thing in your gramplet. I just found this thread and read the discussions about date formats. For me as a German, using the Gregorian calendar only is ok. If I’m a Gramps user from another country I would be not satisfied by being restricted that way. And even history in Europe goes ways back than using the Gregorian calendar only.

Historical data files can be oriented on a region like “Denmark” or “Sweden”, they can be oriented on a theme like “epidemics” or “wars and battles”. The admin decides which ones should be included. If you have many such data files, the number of events could be enormous. To filter the ones that fit in the life span of a person in your tree is a good idea. But still there can be overwhelming many of them. The specification of a location could be helpful. But this is complex. If a person lived the whole life time in Denmark it is maybe irrelevant what happened in China at that time. But maybe that person emigrated from Denmark to the USA, then events from both countries could be interesting. And there is another aspect: the user of the application. If I’m a user from China and not familiar with the History of Denmark then it could be interesting for me to compare the timeline of a person that lived in Denmark together with historical event data from China. That would allow me to compare the timeline of that person with the history in China I’m familiar with.

What do you think about adding location data to historic events?

I originally did that, I let the location code be part of the data file name. i.e. dk_DA_data_v1_0.txt.
But the discussion showed that this was not good enough, so I allow the user to specify in the preferences which datafiles should be used. If you specify more than one datafile, they will be merged.
This will work until we have a plethora of files, I will the have to come up with a new idea :smile:
And yes Julian date is a headache. I am currently trying to come up with a standalone app showing the clerical dates, since older records does not shows dates but something like 3. Sunday after trinitatis, and I struggle with the Julian dates.

That is a good idea. It is the same as it is used in webtrees. But as a user (or admin) how should I decide which ones to select? There are so many persons in my family tree, they lived in so many different countries. And for my webtrees family tree I have users from all over the world. So finally the only strategy is to select all the available data files. But then there are too many events in the timeline of a person. If you would come up with new ideas just now it would be helpful for me :wink:

The idea that came up in the thread was to allow the datafile to have a descriptive field, and in the selection show that descriptive field,
And to me the history file should include what is important for my ancestors, so wars that they may have participated in as well as laws (In Denmark we had a “jordemoderlov” a law about midwives, which made the child deaths one of the smalest in Europe. And of course epidemics who killed a lot os people in DK.
The idea about description is something that I think a lot about, you could probably add other fields as well

But adding the locations from a persons life span, and filtering on that may be a good idea. It requires some thinking of course, but it should be doable

1 Like

Hi @kmikkels, all,

First off, I just want to say how much I admire the idea behind your addon. For a long time, I’ve been looking for a way to better immerse myself in the lives of my ancestors by contextualizing their experiences with significant events from their era. Until now, I’ve been relying on separate apps and websites for this, but having an integrated experience is such a game-changer.

Your addon is already super useful, and I’m grateful for it. That said, I’ve been thinking about how historical events might be even better represented visually on a timeline rather than in a table format. A timeline could make it easier—especially with lots of events—to grasp their chronological flow at a glance.

Your work and your hands-on mentality to create an addon from scratch (without prior experience!) really inspired me to give it a shot myself. I put together a rough first draft of what a graphical timeline might look like. (Confession: I borrowed a fair bit of your code as a starting point. :sweat_smile:)

Right now, I’d love to hear your feedback on the idea itself. If you think it has potential, maybe there’s even a way to combine our projects down the line. Please bear with me if it looks a bit unpolished—I’ve never created an addon before, let alone a GUI-based one.

capture-low

capture2

Looking forward to hearing what you think, and thanks again for sharing your incredible work

Warm regards,
Samuel

7 Likes

@SamuelThomas
Thanks for the nice words!
I was thinking about a timeline, but:
a: I was afraid it would be to difficult
b: I was afraid it would take to much space of the main window.
I think that there is a project already, cannot remember the link, but @emyoulation may direct you in the right direction.

That said, I am impressed of what you have achieved, and it looks very interesting.
Looking forward to try it .
Regarding borrowing code - that is the whole idea with Open Source.

2 Likes

@SamuelThomas
It looks great!

@Nick-Hall did a Timeline tab for his experimental Combined View that graphs a Person’s events in the style of a Subway (underground) stops map.

He introduced it in 2020 thread on SourceForge:
https://sourceforge.net/p/gramps/mailman/gramps-users/thread/f8853a70-ad2c-438e-ca25-391952604f4d@gramps-project.org/#msg37001106

I wonder if, rather than a gramplet, this wouldn’t be better suited to a new Charts view mode? That would allow it more screen space to utilize.

2 Likes

@SamuelThomas
Maybe we could move your addon into another thread? This thread is already 130 messages long … so new visitor may bail out before they binge read to your message at #127!

Your screen captures do not look unpolished to me. One of the long-standing gramplets (Age Stats) was only upgraded from a text graph to a bar graph with the 5.2 release.

And the House gramplet is still reminiscent of a 1980s report from daisy-wheel printer:

So I wonder if your effort isn’t at a point where you might share on GitHub? As @StoltHD pointed out, feedback might come too fast and strong. But remember that volunteer contributors get to choose what they want to tackle. So a “Nope, I am not going to take on or change that feature.” is a perfectly acceptable answer.

Hi.

@kmikkels How can I help you to translate your gramplet and the documentation in French ?

Thanks

2 Likes

The finnish team started to test your gramplet with version 0.2.26! Thanks for it. Something to learn:

What is the use of “Filter” in Settings? How to define a time span in it?

Are there some co-operation between Historical Context and selected person/family?

1 Like

You will have to clone the addons-source from github. In the po subdirectory you should find the template.pot file which you can use poedit or similar software to translate,
It would be nice, if you could provide a french history file.
The format is:
from date; to date (optional); event; link to a web site about the event (optional)
I will be happy to help, if you need more info
/Kaj

2 Likes

The filter is used for not showing events.
If you for example enter the year for census’es you can use the word “census” for not showing those entries.
The span is the life span for the active person, selected in gramps.
/Kaj

Please, please start a new thread for this subtopic. (Your earlier posting would be a good start.) It could be converted to a wiki page here in Discourse so that everyone could help expand an outline.

There are several Addons that would benefit from a gentle introduction to translation.

1 Like

I will write a small howto. Not today since I have guests - and expect to be a little tipsy later :smile:
Happy New Year everyone!
/Kaj

3 Likes

I’m not familiar with using Git. I just finished the translation. What should I do now ? Can I test my translation ?

1 Like

Happy New Year!

I believe that users like own versions of context and filters. Some ideas to consider:

  1. Positive option "Show only entries containing “census”

  2. 1-3. extra columns for user definied filter codes, use freely decided by user. e.g. in my case the first one “wars”, second one “territorial changes”, third one “pandemics” .

So it would be 1-4 filter text fields on Settings

  1. Option in Setting showing/not showing extra columns

  2. Option to easily open csv file for editing

1 Like

Thanks - and a happy New Year to you too!
Great ideas, I would like to have request for enhancements in the gramps bug tracker: My View - Gramps - Bugtracker – Free Genealogy Software
I am currently working on some ideas proposed by another user, and if all features for requests is in the bug tracker, I will not forget them.
Anyways: all ideas are welcome, if they are not entered into the bug tracker, I will do it myself!

I just posted a small howto, take a look at that.
Currently it describes a linux environment, but someone familiar with the process in windows may post a follow up.
Internationalisation of a gramplet

1 Like