[PR #4555] [MERGED] ♻️ removing usages of MenuButton #5449

Closed
opened 2026-02-28 21:12:39 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4555
Author: @MatissJanis
Created: 3/6/2025
Status: Merged
Merged: 3/6/2025
Merged by: @MatissJanis

Base: masterHead: matiss/remove-menu-button


📝 Commits (1)

  • 63eda35 ♻️ removing usages of MenuButton

📊 Changes

5 files changed (+194 additions, -219 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/Header.tsx (+50 -59)
packages/desktop-client/src/components/common/MenuButton.tsx (+0 -23)
📝 packages/desktop-client/src/components/reports/Overview.tsx (+122 -133)
📝 packages/desktop-client/src/components/reports/ReportCard.tsx (+16 -4)
upcoming-release-notes/4555.md (+6 -0)

📄 Description

MenuButton common component is not a great abstraction. It's basically a wrapper around Button that uses an explicit icon.

Removing the few usages of this component in favour of directly using Button + the icon.

This also allows to translate the aria-label of this component (which is not something we could do if the component was moved to the component library package).


🔄 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/4555 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 3/6/2025 **Status:** ✅ Merged **Merged:** 3/6/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/remove-menu-button` --- ### 📝 Commits (1) - [`63eda35`](https://github.com/actualbudget/actual/commit/63eda3515efe07f2c7b986d99eec0acb16755295) :recycle: removing usages of MenuButton ### 📊 Changes **5 files changed** (+194 additions, -219 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/Header.tsx` (+50 -59) ➖ `packages/desktop-client/src/components/common/MenuButton.tsx` (+0 -23) 📝 `packages/desktop-client/src/components/reports/Overview.tsx` (+122 -133) 📝 `packages/desktop-client/src/components/reports/ReportCard.tsx` (+16 -4) ➕ `upcoming-release-notes/4555.md` (+6 -0) </details> ### 📄 Description `MenuButton` common component is not a great abstraction. It's basically a wrapper around `Button` that uses an explicit icon. Removing the few usages of this component in favour of directly using `Button` + the icon. This also allows to translate the aria-label of this component (which is not something we could do if the component was moved to the component library package). --- <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 21:12:39 -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#5449