[PR #2836] [MERGED] fix(client): resolve silent theme and extension import failures on Gtk/Firefox #5760

Closed
opened 2026-10-22 04:19:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2836
Author: @Minsklatte
Created: 6/23/2026
Status: ✅ Merged
Merged: 6/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/gtk-firefox-file-picker


📝 Commits (2)

  • c19f25d fix(client): resolve silent theme and extension import failures on Gtk/Firefox
  • 6f007e8 Merge remote-tracking branch 'origin/staging' into codex/pr-2836-conflicts

📊 Changes

1 file changed (+40 additions, -28 deletions)

View changed files

📝 packages/client/src/components/panels/SettingsPanel.tsx (+40 -28)

📄 Description

Linked issue

N/A - maintainer-requested PR merge.

Why this change

  • Fixes silent custom CSS theme and local extension import failures on Linux Gtk/Firefox, where hidden file inputs can fail to open or report selected files.

What changed

  • Replaces hidden theme/extension file inputs with a programmatic transparent file picker attached to document.body.
  • Keeps current staging support for synced themes, duplicate detection, extension ZIP imports, and extension folder imports.
  • Adds a fallback JSON parser for theme imports with literal control characters in quoted strings.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Conflict resolution validated locally with pnpm --filter @marinara-engine/client lint in a temp worktree.
  • Manual Gtk/Firefox picker verification remains for a human reviewer.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • No screenshots attached; file picker behavior needs platform/browser manual verification.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/2836 **Author:** [@Minsklatte](https://github.com/Minsklatte) **Created:** 6/23/2026 **Status:** ✅ Merged **Merged:** 6/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/gtk-firefox-file-picker` --- ### 📝 Commits (2) - [`c19f25d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c19f25da62113204a987cfa8ffeede0d61fb627b) fix(client): resolve silent theme and extension import failures on Gtk/Firefox - [`6f007e8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6f007e8c1ad70c4c88be299e8b60019f9edbcdc4) Merge remote-tracking branch 'origin/staging' into codex/pr-2836-conflicts ### 📊 Changes **1 file changed** (+40 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+40 -28) </details> ### 📄 Description ## Linked issue N/A - maintainer-requested PR merge. ## Why this change - Fixes silent custom CSS theme and local extension import failures on Linux Gtk/Firefox, where hidden file inputs can fail to open or report selected files. ## What changed - Replaces hidden theme/extension file inputs with a programmatic transparent file picker attached to `document.body`. - Keeps current staging support for synced themes, duplicate detection, extension ZIP imports, and extension folder imports. - Adds a fallback JSON parser for theme imports with literal control characters in quoted strings. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Conflict resolution validated locally with `pnpm --filter @marinara-engine/client lint` in a temp worktree. - Manual Gtk/Firefox picker verification remains for a human reviewer. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - No screenshots attached; file picker behavior needs platform/browser manual verification. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:19:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5760
No description provided.