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 a custom back button to the account wizard's advanced setup page #4686

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Jun 30, 2022

This PR adds a back button to the advanced setup page of the accounts wizard that returns the user to the beginning of the wizard.

Addresses a point in #4052

Screen.Recording.2022-06-30.at.14.27.58.mov

Signed-off-by: Claudio Cambra claudio.cambra@gmail.com

@claucambra claucambra self-assigned this Jun 30, 2022
@codecov
Copy link

codecov bot commented Jun 30, 2022

Codecov Report

Merging #4686 (b6bc885) into master (dfe2ef8) will decrease coverage by 0.00%.
The diff coverage is n/a.

❗ Current head b6bc885 differs from pull request most recent head 5e67405. Consider uploading reports for the commit 5e67405 to get more accurate results

@@            Coverage Diff             @@
##           master    #4686      +/-   ##
==========================================
- Coverage   56.43%   56.42%   -0.01%     
==========================================
  Files         138      138              
  Lines       17068    17069       +1     
==========================================
  Hits         9632     9632              
- Misses       7436     7437       +1     
Impacted Files Coverage Δ
src/libsync/discovery.cpp 84.56% <0.00%> (-0.30%) ⬇️
src/libsync/ocsprofileconnector.cpp 0.00% <0.00%> (ø)
src/libsync/account.cpp 36.99% <0.00%> (+0.38%) ⬆️
src/libsync/account.h 35.71% <0.00%> (+6.30%) ⬆️

Copy link
Member

@nimishavijay nimishavijay left a comment

Choose a reason for hiding this comment

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

Looks great! I would suggest removing the arrow <
Edit: This is there is all the back buttons, so this is not an issue :)

A question: Is it not possible to navigate back to the page where you enter your server address? This navigates to the first setup screen

@jancborchardt
Copy link
Member

Agree with @nimishavijay's feedback.

Adding:

  • The "<" is there on all Back buttons in our app, or in macOS? Cause it seems odd indeed.
  • The wording ahould rather be "Cancel" since at this stage one is already connected, and "Back" sounds less destructive.

@claucambra claucambra force-pushed the feature/back-button-setup branch from 744a082 to b6bc885 Compare July 1, 2022 09:47
@claucambra
Copy link
Collaborator Author

Agree with @nimishavijay's feedback.

Adding:

  • The "<" is there on all Back buttons in our app, or in macOS? Cause it seems odd indeed.
  • The wording ahould rather be "Cancel" since at this stage one is already connected, and "Back" sounds less destructive.

Ok, I renamed the button to "Cancel":

Screenshot 2022-07-01 at 11 52 38

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@mgallien mgallien force-pushed the feature/back-button-setup branch from b6bc885 to 5e67405 Compare July 6, 2022 07:57
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4686-5e67405b45a0bc33f4c27bc03915a48c083815cc-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Jul 6, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@claucambra claucambra merged commit d6faf0a into master Jul 6, 2022
@claucambra claucambra deleted the feature/back-button-setup branch July 6, 2022 08:56
@claucambra
Copy link
Collaborator Author

/backport to stable-3.5

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.

5 participants