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

Improve UI feedback on loading/unloading modules #73

Open
wants to merge 2 commits into
base: jupyterlab4
Choose a base branch
from

Conversation

lexming
Copy link
Contributor

@lexming lexming commented May 21, 2024

Currently clicking the Load/Unload button does not cause any change on the UI. So while modules load/unload it might seem that nothing was triggered by the click.

This PR makes a few style changes to improve the UI feedback on loading/unloading modules:

  • use pointer cursor on Load/Unload button
  • add hover color to Load/Unload button
  • on click, change Load/Unload button to a Loading/Unloading state (with different label and color)

Demo:

jupyter-lmod-ui-feedback.webm

I'm targeting the jupyterlab4 branch, as that is the active development now. But this PR is not really related to the changes for jupyterlab v4 in #70 .

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.

1 participant