WeblateOrg / WeblateOrg/weblate

Remember collapsed/expanded state of String Information's Details section

Open
#21,124 2 comments 0 reactions 0 assignees View on GitHub
Waiting for: Triage
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the problem

To the bottom-right of the typical Weblate editor, there's a section named **String Information**. It contains a foldable section named **Details**.
This section contains that some may deem important. The Source String location, the date it was added

The problem is, every time the page is changed or refreshed, and therefore every time a translation is submitted, the Details section collapses every time. This makes it _very tedious_ to look up further information for any specific string.

### Solution brainstorm

Remember the collapsed state of this section across the same session.

### Describe alternatives you have considered

Keep the section unfolded by default. Under normal circumstances, it's not particularly intrusive, I personally feel like.

### Screenshots

Details section collapsed

Details section expanded

### Additional context

I am part of the Godot Engine team, and I have translated its components in Italian almost by myself. This is my experience.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the Weblate editor's String Information panel and its Details foldable section, then trace how its expanded state is initialized when the page changes or refreshes. Done means the section remembers its collapsed or expanded state throughout the same session, including after submitting a translation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend, localization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
54/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.