Skip to content

fix: update tab title and search location chip on language change - #3923

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/language-change-title-chip
Oct 21, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/language-change-title-chip

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Tab title: App.vue now re-applies the route based title when the language changes, without a "Navigated to" announcement. Titles set by views via useDocumentTitle (e.g. "file.txt - Preview") are not overwritten.
  • Location chip: SearchBarFilter.vue takes the label from the current options by id instead of translating the stored, already translated title again, which failed when switching away from a non-English language.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: chip label follows de -> en; route title updates on a language change without an announcement; a view title is not overwritten
  • test case 2: browser: de -> en and en -> de on Preferences (title and chip), view titles of folders, project spaces, preview and text editor kept, navigation titles, chip scope switching and useScope deep links

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear force-pushed the fix/language-change-title-chip branch from 874040c to 37fa421 Compare October 21, 2026 10:38

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@AlexAndBear
AlexAndBear merged commit 73a26af into main Oct 21, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/language-change-title-chip branch October 21, 2026 12:15
@openclouders openclouders mentioned this pull request Oct 21, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tab title and search location chip keep the old language after a language change

2 participants