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

Restyle developer tools UI and add a notification for new dash versions #3121

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

marthacryan
Copy link

@marthacryan marthacryan commented Jan 13, 2025

Updates developer tools to have a completely new UI.
dash-devtools

The notification prompts the developer to upgrade their version of dash and has 3 options for actions:

  • Don't show again -> sets a boolean flag in local storage if the user clicks.
  • Remind me later -> sets a field in local storage to the time that this button is clicked. The frontend then uses that to determine whether to show the notification again.
  • Skip this version -> sets a field in local storage to the version that was received from the server. The frontend then uses that to determine whether to show the notification again.
  • Read more -> links to dash documentation on installation

Note: Currently requires plotly VPN to test until we make the server public.

Todos:

  • Add style to UI (There is currently no style applied to the buttons / very little applied to the notification)
  • Update dev tools menu options - create separate button for toggling notifications?
  • Swap in actual server information for notifications
  • Code cleanup
    • Change names of files / directories to reflect actual content better
    • Do a pass through style to make sure there isn't extraneous css
  • Add tests
  • Some style cleanup?
    • Add different color for hover on tooltip buttons
    • Add font (inter?)
    • Make errors not scroll / take up more room
  • Documentation (@LiamConnors)
  • Finalize the server
    • Grab version from pypi
    • Make public
  • Implement it so that it's a feature flag that refreshes once a day or per refresh

@gvwilson gvwilson added feature something new P2 considered for next cycle labels Jan 15, 2025
@marthacryan marthacryan changed the title Add very basic update notifications Restyle developer tools UI and add a notification for new dash versions Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P2 considered for next cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants