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

Enhanced countdown format and style #29

Merged
merged 3 commits into from
Jun 14, 2022
Merged

Enhanced countdown format and style #29

merged 3 commits into from
Jun 14, 2022

Conversation

sei-jbritton
Copy link
Contributor

@sei-jbritton sei-jbritton commented May 6, 2022

UI-only change.

  • Change to countdown pipe to improve formatting for time remaining output
  • New countdowncolor pipe to change element class for time remaining based on thresholds
  • Green, yellow, red text color styles applied based on time remaining
  • New env var countdownStartSecondsAtMinute to specify when seconds should start displaying. This also determines when the countdown style turns red.

This enhances the basic countdown pipe by showing more than just one unit at a time. For example, instead of just "1h" it could say "1h 43m". The text color will also change to indicate how close a session is to ending.

Copy link
Collaborator

@sei-mkaar sei-mkaar left a comment

Choose a reason for hiding this comment

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

Tested with Foundry Appliance. 👍

@sei-mkaar sei-mkaar merged commit 5bebcc7 into main Jun 14, 2022
@sei-mkaar sei-mkaar deleted the countdown-pr branch August 3, 2022 17:19
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