Skip to content

Some actions (Stop Timer/Assign/Label/Milestone ... ) on issue page will make page reload and lose unsaved content, autosave draft or ajax #17705

Open
@aschrijver

Description

@aschrijver

Feature Description

This is a feature request to avoid users (like myself) from stupidity.

I just started using the Timer in the Issue Tracker, and - not being used to it - pressed "Stop Timer" a number of times, while I was still editing the issue text. Forgot to press "Save". This caused all my work to be lost (happened just now after typing a very long text). Also pressing the browser "Back" button (Firefox) did not lead back to edit-mode view, but to the Project Board from which I opened the issue.

The Gitea UI could prevent this from happening by either showing a dialog "You are currently editing. Continue? Yes/No", or committing the changes by handling the "Save" action automatically with "Stop Timer" button press.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions