Skip to content

Comments

fix: use provided appName of NcContent if possible#8157

Merged
susnux merged 1 commit intomainfrom
fix/app-name
Feb 3, 2026
Merged

fix: use provided appName of NcContent if possible#8157
susnux merged 1 commit intomainfrom
fix/app-name

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 3, 2026

☑️ Resolves

We already pass appName to NcContent and we provide this value. So we should make use of this whenever possible.

Reason here is if e.g. library is used without the appName replacement, or if the app has multiple "sub-apps". One example here is Nextcloud core which has one global appName but multiple real app names (e.g. files, files_sharing etc).

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 2️⃣ Backport to stable8 for maintained Vue 2 version or not applicable

We already pass `appName` to `NcContent` and we provide this value.
So we should make use of this whenever possible.

Reason here is if e.g. library is used without the `appName`
replacement, or if the app has multiple "sub-apps".
One example here is Nextcloud core which has one global `appName` but
multiple real app names (e.g. `files`, `files_sharing` etc).

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux added this to the 9.4.1 milestone Feb 3, 2026
@susnux susnux requested a review from ShGKme February 3, 2026 00:41
@susnux susnux added bug Something isn't working 3. to review Waiting for reviews labels Feb 3, 2026
@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.82%. Comparing base (690b10a) to head (1a80caa).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8157      +/-   ##
==========================================
+ Coverage   52.77%   52.82%   +0.04%     
==========================================
  Files         103      103              
  Lines        3348     3351       +3     
  Branches      977      977              
==========================================
+ Hits         1767     1770       +3     
  Misses       1333     1333              
  Partials      248      248              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@susnux susnux merged commit 655dc43 into main Feb 3, 2026
27 checks passed
@susnux susnux deleted the fix/app-name branch February 3, 2026 12:46
@susnux
Copy link
Contributor Author

susnux commented Feb 3, 2026

/backport to stable8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Unable to remove or customize “Nextcloud” text in browser tab title on public share pages

3 participants