-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Missing "cancel" button when editing Wiki pages #24036
Comments
I don't see a reason for a "Cancel" button when you could just navigate away |
There is no way to go back to the Wiki page currently being edited, except for navigating through the whole Wiki to that page again. |
Can you illustrate with a video/gif? |
I agree with the author. Think about the case:
And another case:
The "cancel" button sometimes is more friendly and intuitive for such page. |
Thanks for the heads-up to this issue @wxiaoguang .. I reported the same request in: https://codeberg.org/forgejo/forgejo/issues/705 |
Thank you for your report, but their fix doesn't seem right, violates the UI design (#28261 (comment)) .... actually it is a quite simple fix, and will be included in #29603 |
Description
When editing or creating wiki pages, there is no "Cancel" button helping the user navigate back to the original wiki page, or to the list of wiki pages available, respectively. (See https://try.gitea.io/khorben/test-for-wiki/wiki?action=_new)
Alternatively, Gitea could navigate back into the user's history. On the positive side, nowadays most browsers recognise when information was input but not saved yet, and warn the user before possibly losing this information. However, this would require JavaScript (unless a fallback behaviour is implemented) and break PLA (Principle of Least Astonishment) since it would remove the page edition page from the history, without the user actually interacting with the history buttons ("Back" and "Forward").
Note that this improvement to the User Interface/User eXperience may also apply to new issues. (See https://try.gitea.io/khorben/test-for-wiki/issues/new)
Screenshots
Gitea Version
1.16.9
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
NetBSD 9.3_STABLE (GENERIC) pkgsrc-2022Q4 (from source, system service)
Browser Version
Safari 16.3
The text was updated successfully, but these errors were encountered: