Skip to content

Re-editing issue should open "Write", not "Preview" #19031

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

Closed
FWDekker opened this issue Mar 8, 2022 · 1 comment · Fixed by #31445
Closed

Re-editing issue should open "Write", not "Preview" #19031

FWDekker opened this issue Mar 8, 2022 · 1 comment · Fixed by #31445
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Comments

@FWDekker
Copy link
Contributor

FWDekker commented Mar 8, 2022

Gitea Version

1.15.9

Operating System

FreeBSD 13

Browser Version

Firefox 96.0.3

Can you reproduce the bug on the Gitea demo site?

No
(I was unable to create an account at try.gitea.io.)

Description

If a user edits an issue, then previews, then saves/cancels, and then edits again, the editor will start at "Preview" instead of "Write".

I think it would make more sense to forcefully jump to the "Write" tab when a user edits the contents of an issue.

Screenshots

Not applicable.

@FWDekker FWDekker changed the title Re-editing issue should go to "Write" not to "Preview" Re-editing issue should open "Write", not "Preview" Mar 8, 2022
@noerw noerw added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI labels Mar 9, 2022
@wxiaoguang
Copy link
Contributor

-> Switch to "edit" tab when edit comment again #31445

wxiaoguang added a commit that referenced this issue Jun 22, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants