Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emoji default for House Timeline Gramplet #664

Conversation

emyoulation
Copy link
Contributor

Add "Emoji" house option and make default
Improve divider from "equals" symbol to horizontal bar
Increase Courier font from 9pt to 12pt

Add "Emoji" house optionand make default
Improve horizontal line from "equals" symbol to horizontal bar
Increase font from 9pt to 12pt
@giotodibondone
Copy link

giotodibondone commented Mar 9, 2025

Add "Emoji" house option and make default

Please don't , the current default is best!

Also keep the font the same size please!

@fxtmtrsine
Copy link

"Emoji"

No "Emoji" please!

Improve divider from "equals" symbol to horizontal bar

make that optional!

Increase Courier font from 9pt to 12pt

It would be better if the addon used the font size from the Themes addon and left the font size alone!

@Nick-Hall
Copy link
Member

Options would seem to be the way forward here.

You should be able to use the application font and just change it to a monospaced alternative (e.g. Courier) keeping the size the same. If you want to offer font size options then "smaller" and "larger" are possible.

@emyoulation
Copy link
Contributor Author

emyoulation commented Mar 20, 2025

Well... I was able to do such a minor tweak how to add the emoji Configure option. And could re-submit just that as the change. (Without changing the default text "house" of default hard-coded font size and font family.)

But it is beyond me to make it :

  • usable with the Themes addon
  • adaptive to the OS monospaced font family
  • implementing the larger/smaller sizings
  • keep current version for whole tree addresses in the Dashboard but add person/repository versions that filter to current record's addresses only

I just felt that the current defaults make it look primitive (like a 1970s terminal or line printer output). Also, 9pt is too hard to read for my old, weak eyes. And a default that adds hundreds of multi-line chunks of tediously repetitive data instead of hundreds of single lines for an (equally tedious and repetitive) emoji (or horizontal rules) seems wrong.

Perhaps it would be possible to use the monospace font for JUST the text character house and have the rest be a proportional font? It would be a good experiment and demonstrate coding that might be adaptable elsewhere. (Like the Pedigree gramplet... where mixing font family stylings on a line could enhance the appearance and clipboarded data. Monospace the flowchart symbols, Proportional for the name display format, smaller for the vital statistics dates. Having the stylings clipboarded for pasting into a word processing document or reuse in a report variant would add to its usefulness.)

@GaryGriffin
Copy link
Member

Assuming this should be cherry-picked to gramps60 -
Any PR should address https://gramps-project.org/bugs/view.php?id=13709 on gramps6.0

@emyoulation
Copy link
Contributor Author

Lets not cherry pick this one. Too much opposition.

Maybe I should just flush the defaults changes and resubmit.

Someone else will have to figure out the Themes (font size, font family) compatibility.

@GaryGriffin
Copy link
Member

Sorry for the confusion. I meant, if this PR is approved for gramps52, it should be cherrypicked to gramps60. In this case, the PR should fix the gramps60 bug.

@emyoulation
Copy link
Contributor Author

No problem. I would've already stripped out the defaults changes from the PR if I knew how. Then it COULD have been approved for 5.2 and cherry-picked for 6.0

But the best I (may) have time to do is cancel the PR and resubmit with adding emoji as a new option and replacing the divider character.

remove changes to defaults that were controversial
Copy link
Contributor Author

@emyoulation emyoulation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to remove different defaults to font size and default 'house' representation

@emyoulation
Copy link
Contributor Author

emyoulation commented Mar 24, 2025

Assuming this should be cherry-picked to gramps60 -
Any PR should address https://gramps-project.org/bugs/view.php?id=13709 on gramps6.0

I am surprised that this helps for the console warning message SyntaxWarning: invalid escape sequence '\_'
The only thin that I did for those lines was to insert a leading space for each line. (So that it does not butt up against the left border of the gramplet window.)

@GaryGriffin
Copy link
Member

Sorry for the confusion. I did not mean to say that you fixed this bug. I only meant to see if fixing this 6.0 issue would be in-scope for this PR as it touches this code. That would allow cherry picking the 5.2 change to the 6.0 branch too.

@emyoulation
Copy link
Contributor Author

should be ready to merge now. The defaults are now the same was before.

@GaryGriffin GaryGriffin merged commit 8d42ee7 into gramps-project:maintenance/gramps52 Apr 1, 2025
@GaryGriffin
Copy link
Member

Merging to 5.2 branch. Not cherry picking to 6.0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants