[PR #2993] [MERGED] Adds ability to resize sidebar #4627

Closed
opened 2026-02-28 20:58:44 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2993
Author: @YusefOuda
Created: 7/6/2024
Status: Merged
Merged: 7/7/2024
Merged by: @youngcw

Base: masterHead: feat/resizeable-sidebar


📝 Commits (10+)

📊 Changes

6 files changed (+111 additions, -58 deletions)

View changed files

📝 packages/desktop-client/package.json (+1 -0)
📝 packages/desktop-client/src/components/sidebar/Sidebar.tsx (+89 -53)
📝 packages/desktop-client/src/components/sidebar/index.tsx (+3 -5)
📝 packages/loot-core/src/types/prefs.d.ts (+1 -0)
upcoming-release-notes/2993.md (+6 -0)
📝 yarn.lock (+11 -0)

📄 Description

Relevant issue: N/A

Description: This PR adds the ability to resize the sidebar using re-resizable on the sidebar component. It adds a new local pref to save the width so that it is persisted, with a minimum width of 200px and a maximum of viewport width / 3. The sidebar animation is also updated to use a percentage for translateX to accommodate the varying possible sizes


🔄 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/2993 **Author:** [@YusefOuda](https://github.com/YusefOuda) **Created:** 7/6/2024 **Status:** ✅ Merged **Merged:** 7/7/2024 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `feat/resizeable-sidebar` --- ### 📝 Commits (10+) - [`5737064`](https://github.com/actualbudget/actual/commit/5737064f3d432392d99e746b5916aec386d6265a) Adds ability to resize sidebar - [`72b52af`](https://github.com/actualbudget/actual/commit/72b52af4a8d8eaf7f07b6537da770438278cd5e0) Adds release notes - [`6d5b0ae`](https://github.com/actualbudget/actual/commit/6d5b0aeff99002d18917d0f39875f091d288ea8b) Changes to feature - [`06fb96e`](https://github.com/actualbudget/actual/commit/06fb96e27d01357133b5b3afe81451285428648a) lint - [`5384d73`](https://github.com/actualbudget/actual/commit/5384d73ca786fc1bf61c54232229c348169681c9) change translateX to use % for both states - [`cddbf76`](https://github.com/actualbudget/actual/commit/cddbf76e51f40104912acfef1892886a62fc8ae6) vrt - [`ab10f64`](https://github.com/actualbudget/actual/commit/ab10f64ca572602bc5d746580ddec6fa1823662c) set max sidebar width, cleanup - [`8dcd29a`](https://github.com/actualbudget/actual/commit/8dcd29acff34954614519e029ebcef4e4bcc93c5) set min and max widths - [`9bb6a01`](https://github.com/actualbudget/actual/commit/9bb6a019ed2fc541a515e3ad7d8dfad2574d41ec) min width to 200px - [`c7eccd3`](https://github.com/actualbudget/actual/commit/c7eccd3aa0f2b7e11726a1e4d7c1e879dbe55880) Merge branch 'master' into feat/resizeable-sidebar ### 📊 Changes **6 files changed** (+111 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/package.json` (+1 -0) 📝 `packages/desktop-client/src/components/sidebar/Sidebar.tsx` (+89 -53) 📝 `packages/desktop-client/src/components/sidebar/index.tsx` (+3 -5) 📝 `packages/loot-core/src/types/prefs.d.ts` (+1 -0) ➕ `upcoming-release-notes/2993.md` (+6 -0) 📝 `yarn.lock` (+11 -0) </details> ### 📄 Description **Relevant issue:** N/A **Description:** This PR adds the ability to resize the sidebar using [re-resizable](https://github.com/bokuweb/re-resizable) on the sidebar component. It adds a new local pref to save the width so that it is persisted, with a minimum width of `200px` and a maximum of `viewport width / 3`. The sidebar animation is also updated to use a percentage for `translateX` to accommodate the varying possible sizes --- <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-02-28 20:58:44 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4627