Skip to content

Handle sidebar mode separately to add the back button#3815

Open
lolamtisch wants to merge 1 commit into
masterfrom
sidebar_handling
Open

Handle sidebar mode separately to add the back button#3815
lolamtisch wants to merge 1 commit into
masterfrom
sidebar_handling

Conversation

@lolamtisch

Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings April 21, 2026 14:11

Copilot AI 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.

Pull request overview

This PR fixes the missing back button when MAL-Sync is opened via Firefox’s sidebar by introducing a dedicated sidebar panel HTML entrypoint and treating “sidebar” as a display mode where the back button should render.

Changes:

  • Update the Firefox sidebar_action manifest panel to load a new sidebar.html instead of window.html.
  • Add src/_minimal/sidebar.html and ensure it’s copied into the webextension dist output.
  • Render the nav back button in both popup and sidebar modes.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
webpackConfig/webextension.assets.js Switches sidebar default panel to sidebar.html and copies the new file into dist/webextension/.
src/_minimal/sidebar.html New minimal HTML entrypoint for the Firefox sidebar, setting mode="sidebar".
src/_minimal/components/nav/nav-back.vue Extends back-button display logic to include sidebar mode.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Source-Dom

Source-Dom commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

#3814

Do you want to close the issue automatically ? I wondered if you forgot to write closes before the issue number.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants