[PR #4733] [MERGED] 🐛 [Bug] Pinning sidebar doesnt persist on reload #39992

Closed
opened 2026-04-23 12:54:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4733
Author: @alecbakholdin
Created: 4/3/2025
Status: Merged
Merged: 4/8/2025
Merged by: @matt-fidd

Base: masterHead: pinning-sidebar-doesnt-persist


📝 Commits (4)

📊 Changes

6 files changed (+32 additions, -41 deletions)

View changed files

📝 packages/loot-core/src/platform/server/asyncStorage/__mocks__/index.ts (+6 -8)
📝 packages/loot-core/src/platform/server/asyncStorage/index.d.ts (+5 -5)
📝 packages/loot-core/src/platform/server/asyncStorage/index.electron.ts (+5 -9)
📝 packages/loot-core/src/platform/server/asyncStorage/index.ts (+7 -14)
📝 packages/loot-core/src/server/preferences/app.ts (+3 -5)
upcoming-release-notes/4733.md (+6 -0)

📄 Description

Closes #4732

Updated saveGlobalPrefs:

  1. Updated setItem declaration to be async (it's an async function)
  2. floatingSidebar is now compared against undefined because it is a boolean value and false was being ignored

Caused by #4127


🔄 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/4733 **Author:** [@alecbakholdin](https://github.com/alecbakholdin) **Created:** 4/3/2025 **Status:** ✅ Merged **Merged:** 4/8/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `pinning-sidebar-doesnt-persist` --- ### 📝 Commits (4) - [`875a192`](https://github.com/actualbudget/actual/commit/875a1927bd1e84d24a59c29528ecb4196c24b29e) Fixed pinning issue - [`cdfc31c`](https://github.com/actualbudget/actual/commit/cdfc31c649d900674ca7af5ed12ca3b9213c3e87) asyncStorage typing updates - [`acdf5bc`](https://github.com/actualbudget/actual/commit/acdf5bcef2369331a82938ef598b6d18199dbdc2) re-added awaits to savePreferences - [`54eb5f6`](https://github.com/actualbudget/actual/commit/54eb5f604c1147fc43eb91913d8ab8246bafc3d5) release notes ### 📊 Changes **6 files changed** (+32 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/platform/server/asyncStorage/__mocks__/index.ts` (+6 -8) 📝 `packages/loot-core/src/platform/server/asyncStorage/index.d.ts` (+5 -5) 📝 `packages/loot-core/src/platform/server/asyncStorage/index.electron.ts` (+5 -9) 📝 `packages/loot-core/src/platform/server/asyncStorage/index.ts` (+7 -14) 📝 `packages/loot-core/src/server/preferences/app.ts` (+3 -5) ➕ `upcoming-release-notes/4733.md` (+6 -0) </details> ### 📄 Description Closes #4732 Updated saveGlobalPrefs: 1. Updated setItem declaration to be async (it's an async function) 2. floatingSidebar is now compared against `undefined` because it is a boolean value and false was being ignored Caused by #4127 --- <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-04-23 12:54:00 -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#39992