Skip to content

Conversation

@jordigh
Copy link

@jordigh jordigh commented Oct 17, 2022

Progress bars are very visible at a glance. If your family members happen to look over your shoulder while you're working on Christmas lists, you may accidentally reveal to them how many gifts they're getting. Additionally, parents may want to log into their children's accounts for help and may not want to see their own progress bars from their children's accounts. Both situations have already happened in my family!

So, let's hide the progress bars by default and provide an easy button to show them.

@jordigh jordigh force-pushed the hide-show-progressbars branch from f2307fb to 4bbf3c4 Compare October 17, 2022 01:09
Progress bars are very visible at a glance. If your family members
happen to look over your shoulder while you're working on Christmas
lists, you may accidentally reveal to them how many gifts they're
getting. Additionally, parents may want to log into their children's
accounts for help and may not want to see their own progress bars from
their children's accounts. Both situations have already happened in my
family!

So, let's hide the progress bars by default and provide an easy link
to show them.
@jordigh jordigh force-pushed the hide-show-progressbars branch from 4bbf3c4 to 3ee7089 Compare October 18, 2022 02:16
@Wingysam
Copy link
Owner

Thank you! This is a good idea and should be done by default, but an environment variable should restore the original functionality. ALWAYS_SHOW_PROGRESS_BARS=true should remove the button and always show progress bars.

@jordigh jordigh force-pushed the hide-show-progressbars branch 2 times, most recently from 509d968 to a391e27 Compare October 20, 2022 01:29
This restores the previous behaviour.
@jordigh jordigh force-pushed the hide-show-progressbars branch 2 times, most recently from e2353a2 to 0581171 Compare October 20, 2022 01:52
@jordigh
Copy link
Author

jordigh commented Oct 20, 2022

There, like that?

@Wingysam
Copy link
Owner

Hey, sorry I haven't gotten to this yet. I've just gotten home from a fall retreat and need to catch up on homework. I'll review this when I can. Initial concerns are that the language definitions are still missing, and the env check should use the parse function of yes-no like this:

const { parse: yesNo } = require('yes-no')

Thanks!

@Wingysam
Copy link
Owner

Wingysam commented Oct 5, 2023

These two strings should still be localized when visible. "???/???" might not make sense in some languages, and it might make more sense to have some kind of text in the "name " string.
image
image

@Wingysam Wingysam changed the title hide/show progress bars feat: Hide/show progress bars Jan 24, 2025
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.

2 participants