Missing "cancel" button when editing Wiki pages #1

Open
opened 2023-04-10 21:23:35 +02:00 by khorben · 1 comment
Owner

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.

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

image

- Gitea version (or commit ref): 1.16.9 - Git version: 2.39.1 - Operating system: NetBSD 9.3_STABLE (GENERIC) pkgsrc-2022Q4 (from source, system service) - Database: - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes: https://try.gitea.io/khorben/test-for-wiki/wiki?action=_new - [ ] No - Log gist: (nothing relevant here) ## 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. 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 ![image](/attachments/3f796f10-c929-4cba-beee-3bf787296919)
202 KiB
khorben self-assigned this 2023-04-10 21:23:35 +02:00
Author
Owner
Reported upstream at https://github.com/go-gitea/gitea/issues/24036.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DeforaNetworks/gitea#1
No description provided.