Skip to content

fix: hide announcement banner in embed mode - #3467

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/embed-mode-announcement-banner
Sep 27, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/embed-mode-announcement-banner

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

The announcement banner was rendered in embed mode as well, e.g. inside the "Move to" / "Copy to" location picker dialogs (which load Web in embed mode) and in external apps embedding OpenCloud as a file or location picker.

Announcement.vue now stays hidden while embed mode is enabled. Since the component is used by all layouts (Application, Plain, Bare), this covers every embed view.

Related Issue

  • Fixes -

How Has This Been Tested?

  • test environment: local OpenCloud 8.0.0 rolling (docker-compose) with an active announcement, Chrome
  • test case 1: open /files/spaces/personal?embed=true → no announcement banner
  • test case 2: open /files/spaces/personal without embed mode → banner is still shown
  • test case 3: new unit test in Announcement.spec.ts for embed mode (fails without the fix)

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)

@dschmidt

Copy link
Copy Markdown
Contributor

Good catch, thanks!

@AlexAndBear
AlexAndBear merged commit 6269f88 into main Sep 27, 2026
32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/embed-mode-announcement-banner branch September 27, 2026 14:50
@openclouders openclouders mentioned this pull request Sep 27, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants