Skip to content

Revert buttons are unclear #8259

Open

Description

@maboroshin

Describe the issue

View button and Revert button are too close together. According to the CSS code below, the gap is 4 pixels. So, I sometimes press the wrong button.
.btn { padding: 2px 2px; }

The buttons have around 27 pixels.

Also, I'm unaware reverted it because there is no notice. Perhaps others also have done so. To build a cooperative relationship, this mishandling should be prevented.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

  1. Login.
  2. This occurs when I am looking at History for all strings or the History tab for each string.
  3. In the screenshot below, I try to press the magnifying glass. But I made a mistake and pressed the arrow button. (Or I just press the arrow button.)

image

Expected behavior

There is no magnifying glass button when displaying each string. It is self-linked.

Solution 1 : Confirm as an important action. This would be essential.

  • Solution 1a : Dialog "Would you like to revert?". It also indicates which string to return to.
  • Or, Solution 1b : Simply copy the text into the translation string field. No automatic saving.

Solution 2: Notify : But, this doesn't prevent a wrong press and auto saving.

  • Notify that "the string has been reverted". Especially in the case of automatic saving. Otherwise, the user may think pressed "View detail" button. So, does not recognize the occurrence of a problem.

Solution 3 : Button design : But, this doesn't prevent a wrong press and auto saving.

  • Widen the gap between View button and Revert button. The gap should be at least 10 pixels. Or/and, If design changes are possible, This button should be at least 36-42 pixels.
  • Or/and, Currently two buttons are placed within one border. Use one border for each button.
  • Or/and, Currently the picture changes color when focused. Add to this, the background color will also change when focused.

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

Activity

  1. changed the title [-]Wrong press of Revert button[/-] [+]Wrong press Revert button[/+] on Oct 23, 2022
  2. nijel commented on Oct 25, 2022

    @nijel
    Member

    I'd start with solution 3, that should be pretty easy and not as disturbing as confirmation popup.

  3. github-actions commented on Oct 25, 2022

    @github-actions

    This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

    You can learn about how to get started in our contributors documentation.

  4. ishikajn8126 commented on Oct 25, 2022

    @ishikajn8126

    Hey @nijel @maboroshin , is this issue open to work? I'd like to take this up..

  5. maboroshin commented on Oct 25, 2022

    @maboroshin
    Author

    @ishikajn8126 Thanks. This is open! Solution 1 is essential for us.

  6. ishikajn8126 commented on Oct 27, 2022

    @ishikajn8126

    Hey @maboroshin i'm not able to reproduce the behaviour
    I went to the history tab but i can see only the view button
    image

  7. maboroshin commented on Oct 27, 2022

    @maboroshin
    Author

    @ishikajn8126 Please login.

  8. comradekingu commented on Oct 27, 2022

    @comradekingu
    Contributor
  9. maboroshin commented on Oct 27, 2022

    @maboroshin
    Author
  10. ishikajn8126 commented on Oct 28, 2022

    @ishikajn8126

    thanks @comradekingu @maboroshin , i got it now

  11. 13 remaining items

  12. modified the milestone: 2026.10 on Sep 10, 2026
  13. changed the title [-]Revert button is too small[/-] [+]Revert buttons are unclear[/+] on Sep 10, 2026
  14. nijel commented on Sep 10, 2026

    @nijel
    Member

    Let's keep this open for unclear button icons.

  15. reopened this on Sep 10, 2026
  16. added
    Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.
    Waiting for: TriageAssigned automatically for any new issue, needs attention from a Weblate member.
    and removed
    Waiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.
    Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.
    Waiting for: TriageAssigned automatically for any new issue, needs attention from a Weblate member.
    on Sep 10, 2026
  17. nicommteam commented on Sep 10, 2026

    @nicommteam
    Contributor

    "I'll continue with this — will look at improving the clarity of the History/revert button icons (e.g. clearer icon or added label/tooltip distinguishing revert from view)."

  18. added this to the 2026.12 milestone on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: UXIssues related to user experience.Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.enhancementAdding or requesting a new feature.good first issueOpportunity for newcoming contributors.

    Fields

    Priority

    None yet

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions