[PR #7922] feat: add SharedArrayBuffer warning indicator in title bar #105192

Open
opened 2026-05-30 07:35:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7922
Author: @awaissaeed530
Created: 5/22/2026
Status: 🔄 Open

Base: masterHead: feat/shared-array-buffer-indicator


📝 Commits (7)

📊 Changes

4 files changed (+57 additions, -2 deletions)

View changed files

packages/desktop-client/src/components/SharedArrayBufferWarning.tsx (+45 -0)
📝 packages/desktop-client/src/components/Titlebar.tsx (+3 -1)
📝 packages/desktop-client/src/components/common/Link.tsx (+3 -1)
upcoming-release-notes/7922.md (+6 -0)

📄 Description

Description

Adds a persistent warning indicator in the titlebar when SharedArrayBuffer is not supported but the user has overridden the warning. This addresses the issue where users can circumvent the initial warning and then have no indication they are running in a degraded state.

This is a slightly modified implementation of #7764, which was closed.

Fixes #7747

Testing

Tested on Firefox by disabling the javascript.options.shared_memory flag

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 37 14.03 MB → 14.03 MB (+1.89 kB) +0.01%
loot-core 1 5.34 MB 0%
api 2 3.97 MB 0%
cli 1 7.97 MB 0%
crdt 1 11.12 kB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
37 14.03 MB → 14.03 MB (+1.89 kB) +0.01%
Changeset
File Δ Size
src/components/SharedArrayBufferWarning.tsx 🆕 +1.51 kB 0 B → 1.51 kB
src/components/common/Link.tsx 📈 +63 B (+1.02%) 6.04 kB → 6.1 kB
src/components/Titlebar.tsx 📈 +81 B (+0.66%) 11.93 kB → 12.01 kB
locale/en.json 📈 +252 B (+0.12%) 198.24 kB → 198.48 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 1.54 MB → 1.54 MB (+1.59 kB) +0.10%
static/js/en.js 198.24 kB → 198.48 kB (+252 B) +0.12%
static/js/Value.js 5.08 MB → 5.08 MB (+63 B) +0.00%

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/BackgroundImage.js 121.09 kB 0%
static/js/FormulaEditor.js 962.55 kB 0%
static/js/ManageRules.js 46.98 kB 0%
static/js/PayeeRuleCountLabel.js 7.33 kB 0%
static/js/ReportRouter.js 1.26 MB 0%
static/js/ScheduleEditForm.js 146.44 kB 0%
static/js/SchedulesTable.js 202.7 kB 0%
static/js/TransactionEdit.js 90.63 kB 0%
static/js/TransactionList.js 85.81 kB 0%
static/js/_baseIsEqual.js 98.38 kB 0%
static/js/ca.js 186.75 kB 0%
static/js/client.js 451.37 kB 0%
static/js/da.js 101.15 kB 0%
static/js/de.js 170.77 kB 0%
static/js/en-GB.js 9.25 kB 0%
static/js/es.js 178.68 kB 0%
static/js/extends.js 500.96 kB 0%
static/js/fr.js 178.57 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 165 kB 0%
static/js/narrow.js 364.2 kB 0%
static/js/nb-NO.js 148.05 kB 0%
static/js/nl.js 106.24 kB 0%
static/js/pt-BR.js 188.43 kB 0%
static/js/resize-observer.js 18.06 kB 0%
static/js/th.js 174.48 kB 0%
static/js/theme.js 31.88 kB 0%
static/js/toString.js 705.14 kB 0%
static/js/uk.js 207.46 kB 0%
static/js/useFormatList.js 2.52 kB 0%
static/js/useTransactionBatchActions.js 9.71 kB 0%
static/js/wide.js 297.21 kB 0%
static/js/workbox-window.prod.es5.js 7.33 kB 0%
static/js/zh-Hans.js 116.89 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.34 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker._bwMMgjb.js 5.34 MB 0%

api

Total

Files count Total bundle size % Changed
2 3.97 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 3.97 MB 0%
models.js 0 B 0%

cli

Total

Files count Total bundle size % Changed
1 7.97 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
cli.js 7.97 MB 0%

crdt

Total

Files count Total bundle size % Changed
1 11.12 kB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 11.12 kB 0%

🔄 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/actualbudget/actual/pull/7922 **Author:** [@awaissaeed530](https://github.com/awaissaeed530) **Created:** 5/22/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/shared-array-buffer-indicator` --- ### 📝 Commits (7) - [`2b1a958`](https://github.com/actualbudget/actual/commit/2b1a9582e6ce290537de01f3aef7d23055a6bcee) feat: add SharedArrayBuffer warning indicator in title bar - [`d10720e`](https://github.com/actualbudget/actual/commit/d10720e5f63fb40e60655dd0b7c937a741473113) improve styling - [`87b77cc`](https://github.com/actualbudget/actual/commit/87b77cca5c2f4a65c58ee242920676fb36861831) add warning label - [`cc24079`](https://github.com/actualbudget/actual/commit/cc24079339ebd675ca09d21e823cb1abcd3dead3) fix typo - [`d8a8b88`](https://github.com/actualbudget/actual/commit/d8a8b8853d74986ec6d7b195de40050db3acb46a) review comments fixed - [`f6e4232`](https://github.com/actualbudget/actual/commit/f6e423280df093fac534e0d8103eedb0205a118d) use link instead of button - [`dc0e510`](https://github.com/actualbudget/actual/commit/dc0e51060c6c50e958d074ab64f12be39f20dc43) fix tooltip styles ### 📊 Changes **4 files changed** (+57 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `packages/desktop-client/src/components/SharedArrayBufferWarning.tsx` (+45 -0) 📝 `packages/desktop-client/src/components/Titlebar.tsx` (+3 -1) 📝 `packages/desktop-client/src/components/common/Link.tsx` (+3 -1) ➕ `upcoming-release-notes/7922.md` (+6 -0) </details> ### 📄 Description ## Description Adds a persistent warning indicator in the titlebar when SharedArrayBuffer is not supported but the user has overridden the warning. This addresses the issue where users can circumvent the initial warning and then have no indication they are running in a degraded state. This is a slightly modified implementation of #7764, which was closed. ## Related issue(s) Fixes #7747 ## Testing Tested on Firefox by disabling the `javascript.options.shared_memory` flag ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 37 | 14.03 MB → 14.03 MB (+1.89 kB) | +0.01% loot-core | 1 | 5.34 MB | 0% api | 2 | 3.97 MB | 0% cli | 1 | 7.97 MB | 0% crdt | 1 | 11.12 kB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 37 | 14.03 MB → 14.03 MB (+1.89 kB) | +0.01% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/SharedArrayBufferWarning.tsx` | 🆕 +1.51 kB | 0 B → 1.51 kB `src/components/common/Link.tsx` | 📈 +63 B (+1.02%) | 6.04 kB → 6.1 kB `src/components/Titlebar.tsx` | 📈 +81 B (+0.66%) | 11.93 kB → 12.01 kB `locale/en.json` | 📈 +252 B (+0.12%) | 198.24 kB → 198.48 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 1.54 MB → 1.54 MB (+1.59 kB) | +0.10% static/js/en.js | 198.24 kB → 198.48 kB (+252 B) | +0.12% static/js/Value.js | 5.08 MB → 5.08 MB (+63 B) | +0.00% **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/BackgroundImage.js | 121.09 kB | 0% static/js/FormulaEditor.js | 962.55 kB | 0% static/js/ManageRules.js | 46.98 kB | 0% static/js/PayeeRuleCountLabel.js | 7.33 kB | 0% static/js/ReportRouter.js | 1.26 MB | 0% static/js/ScheduleEditForm.js | 146.44 kB | 0% static/js/SchedulesTable.js | 202.7 kB | 0% static/js/TransactionEdit.js | 90.63 kB | 0% static/js/TransactionList.js | 85.81 kB | 0% static/js/_baseIsEqual.js | 98.38 kB | 0% static/js/ca.js | 186.75 kB | 0% static/js/client.js | 451.37 kB | 0% static/js/da.js | 101.15 kB | 0% static/js/de.js | 170.77 kB | 0% static/js/en-GB.js | 9.25 kB | 0% static/js/es.js | 178.68 kB | 0% static/js/extends.js | 500.96 kB | 0% static/js/fr.js | 178.57 kB | 0% static/js/indexeddb-main-thread-worker-e59fee74.js | 13.46 kB | 0% static/js/it.js | 165 kB | 0% static/js/narrow.js | 364.2 kB | 0% static/js/nb-NO.js | 148.05 kB | 0% static/js/nl.js | 106.24 kB | 0% static/js/pt-BR.js | 188.43 kB | 0% static/js/resize-observer.js | 18.06 kB | 0% static/js/th.js | 174.48 kB | 0% static/js/theme.js | 31.88 kB | 0% static/js/toString.js | 705.14 kB | 0% static/js/uk.js | 207.46 kB | 0% static/js/useFormatList.js | 2.52 kB | 0% static/js/useTransactionBatchActions.js | 9.71 kB | 0% static/js/wide.js | 297.21 kB | 0% static/js/workbox-window.prod.es5.js | 7.33 kB | 0% static/js/zh-Hans.js | 116.89 kB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.34 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker._bwMMgjb.js | 5.34 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 2 | 3.97 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- index.js | 3.97 MB | 0% models.js | 0 B | 0% </div> </details> --- #### cli **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 7.97 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- cli.js | 7.97 MB | 0% </div> </details> --- #### crdt **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 11.12 kB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- index.js | 11.12 kB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-30 07:35:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#105192