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 ux when installing or updating projects #202

Merged
merged 2 commits into from
Mar 30, 2021

Conversation

ngwese
Copy link
Member

@ngwese ngwese commented Mar 28, 2021

addresses "update all" confusion where projects which were up
to date were listed as failures in the summary modal. when projects
are installed or successfully updated a modal now acknowledges
success instead of immediately returning to the project listing

additionally:

  • updates go-git from v4.1.2 to v5.2.0
  • release.sh exits if any command errors

when a script is installed a confirmation dialog is show:
installation-success

when a single script/project is updated successfully:
update-single-success

when a single script/project is updated but there are no changes:
update-single-no-change

when "update all" sees changes:
update-all-success

when "update all" does not result in any changes:
update-all-no-changes

addresses "update all" confusion where projects which were up
to date were listed as failures in the summary modal. when projects
are installed or successfully updated a modal now acknowledges
success instead of immediately returning to the project listing

additionally:

- updates go-git from v4.1.2 to v5.2.0
- release.sh exits if any command errors
Copy link
Member

@dndrks dndrks left a comment

Choose a reason for hiding this comment

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

woahh thank you greg! the UX improvements are really legible and make the process a lot clearer 🥇

i have some concerns about the SYSTEM > RESET recommendation, please let me know if that needs more detail

web/src/project-activity.js Outdated Show resolved Hide resolved
@tehn
Copy link
Member

tehn commented Mar 28, 2021 via email

@tehn
Copy link
Member

tehn commented Mar 28, 2021 via email

@ngwese
Copy link
Member Author

ngwese commented Mar 28, 2021

cool, the RESET bit was part of what i wanted to get eyes on. happy to change the text to whatever or remove. my goal was to help prevent the common “it doesn’t work after i install” confusion.

another potential option is to offer a button in the confirmation dialog that does the restart (i think there is even an issue for something like that). sorry i’m still asleep, i see this is already a suggestion from @dndrks!

...or it might even be possible for me to scan the project dirs for .sc files to make any behavior conditional on that

@dndrks
Copy link
Member

dndrks commented Mar 28, 2021

...or it might even be possible for me to scan the project dirs for .sc files to make any behavior conditional on that

this would rule if it isn't too much work!

@tehn
Copy link
Member

tehn commented Mar 28, 2021 via email

@tehn
Copy link
Member

tehn commented Mar 28, 2021

ok this is here now: monome/norns#1332

i'd suggest juts changing the text to SYSTEM > RESTART which means people don't lose their faves/etc. auto/forced restart could be later.

@ngwese ngwese requested a review from dndrks March 30, 2021 05:12
@ngwese
Copy link
Member Author

ngwese commented Mar 30, 2021

i've updated the PR to use SYSTEM > RESTART as the recommend action. i see value in looking into a button to offer that directly in the dialog but i'd like to pursue that as a different change (will open a ticket)

@ngwese ngwese merged commit 65afa76 into monome:main Mar 30, 2021
@ngwese ngwese deleted the fix/better-dialogs branch March 30, 2021 18:00
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.

3 participants