Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[bug] UX: Remember the last selected language tab #10

Open
Labels
bugSomething isn't working enhancementNew feature or request hacktoberfest help wantedExtra attention is needed
@dineshsutihar

Description

Is your feature request related to a problem?

When the translation UI is injected, it always defaults to showing the first programming language in the list. If a user's primary goal is to translate everything to Python, they have to manually click the "Python" tab every single time, which is a repetitive and slightly annoying experience.

Describe the solution you'd like

  • When a user clicks on a language tab in the translation UI, save the name of that language (e.g., 'Python') into chrome.storage.session. Session storage is ideal because the preference can be reset when the browser is closed.

  • The next time the injectOrUpdateTranslations function is called, it should first check if a value exists in session storage.

  • If a saved language is found, and that language is one of the available translations, make that tab the active one by default instead of the first tab.

Additional context

This is a small but impactful quality-of-life improvement that makes the extension feel smarter and more responsive to the user's workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working enhancementNew feature or request hacktoberfest help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /