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

Add UI settings #1055

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft

Add UI settings #1055

wants to merge 17 commits into from

Conversation

JosteinLindhom
Copy link
Contributor

  • feat(state): add settings namespace to Overmind configuration
  • feat(ui): set up route and button for a settings page
  • feat(ui): add settings components for changing UI elements
  • feat(ui): add theme provider that update CSS variables when state changes
  • fix: add missing settings route

The settings namespace is used to keep track of and persist (to local storage) user selected settings.
Current implemented setting options include:
- Selecting between three predefined color pairs for the pass/fail indicator for tests / criterion
- Selecting custom colors for the above (this might be overkill)
- Adjusting the width of the pass/fail indicator
@JosteinLindhom JosteinLindhom self-assigned this Feb 28, 2024
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.23%. Comparing base (ed8ca81) to head (602811b).
Report is 3 commits behind head on master.

❗ Current head 602811b differs from pull request most recent head c21286b. Consider uploading reports for the commit c21286b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1055      +/-   ##
==========================================
- Coverage   40.39%   40.23%   -0.17%     
==========================================
  Files         110       91      -19     
  Lines        9019     6935    -2084     
==========================================
- Hits         3643     2790     -853     
+ Misses       5041     3845    -1196     
+ Partials      335      300      -35     
Flag Coverage Δ
unittests 40.23% <ø> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@meling
Copy link
Contributor

meling commented May 25, 2024

Should this be linked with #1049 and taken out of draft mode?

@JosteinLindhom JosteinLindhom linked an issue May 28, 2024 that may be closed by this pull request
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.

Improve coloring scheme
2 participants