Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Extract menus to separate files (changes split from #2472) #2511

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

joel-jeremy
Copy link
Contributor

@joel-jeremy joel-jeremy commented Mar 27, 2024

Split some changes from #2472 for easier review

@github-actions github-actions bot changed the title Extract menus to separate files (change split from #2472) [WIP] Extract menus to separate files (change split from #2472) Mar 27, 2024
Copy link

netlify bot commented Mar 27, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 7987f5c
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/660c55506389150008b1a634
😎 Deploy Preview https://deploy-preview-2511.demo.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@joel-jeremy joel-jeremy changed the title [WIP] Extract menus to separate files (change split from #2472) [WIP] Extract menus to separate files (changes split from #2472) Mar 27, 2024
Copy link
Contributor

github-actions bot commented Mar 27, 2024

Bundle Stats — desktop-client

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
11 4.44 MB → 4.44 MB (+1.86 kB) +0.04%
Changeset
File Δ Size
src/components/mobile/MobileForms.tsx 🆕 +3.31 kB 0 B → 3.31 kB
src/components/budget/rollover/budgetsummary/ToBudgetAmount.tsx 🆕 +2.1 kB 0 B → 2.1 kB
src/components/budget/rollover/BalanceMenu.tsx 🆕 +1011 B 0 B → 1011 B
src/components/budget/rollover/budgetsummary/ToBudgetMenu.tsx 🆕 +778 B 0 B → 778 B
src/components/budget/report/BalanceMenu.tsx 🆕 +579 B 0 B → 579 B
src/components/budget/rollover/CoverTooltip.tsx 📈 +367 B (+21.96%) 1.63 kB → 1.99 kB
src/components/budget/rollover/TransferTooltip.tsx 📈 +98 B (+3.49%) 2.74 kB → 2.84 kB
src/components/budget/rollover/RolloverContext.tsx 📈 +1 B (+0.13%) 776 B → 777 B
src/components/budget/index.tsx 📈 +1 B (+0.01%) 9.15 kB → 9.15 kB
src/components/common/Menu.tsx 📉 -244 B (-4.18%) 5.7 kB → 5.46 kB
src/components/budget/report/BalanceTooltip.tsx 📉 -196 B (-23.20%) 845 B → 649 B
src/components/budget/rollover/BalanceTooltip.tsx 📉 -537 B (-23.49%) 2.23 kB → 1.71 kB
src/components/budget/rollover/budgetsummary/ToBudget.tsx 📉 -2.19 kB (-53.17%) 4.12 kB → 1.93 kB
src/components/mobile/MobileForms.jsx 🔥 -3.18 kB (-100%) 3.18 kB → 0 B
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/BalanceTooltip.js 6.12 kB → 7.31 kB (+1.2 kB) +19.54%
static/js/index.js 2.53 MB → 2.53 MB (+679 B) +0.03%
static/js/wide.js 249 kB → 249 kB (+2 B) +0.00%

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 13.5 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/ButtonLink.js 379 B 0%
static/js/BackgroundImage.js 122.29 kB 0%
static/js/import.js 105.26 kB 0%
static/js/AppliedFilters.js 20.35 kB 0%
static/js/narrow.js 215.48 kB 0%
static/js/ReportRouter.js 1.17 MB 0%

Copy link
Contributor

github-actions bot commented Mar 27, 2024

Bundle Stats — loot-core

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
1 1.2 MB 0%

Changeset

No files were changed

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.js 1.2 MB 0%

@trafico-bot trafico-bot bot added 🚧 WIP and removed 🚧 WIP labels Mar 27, 2024
@joel-jeremy joel-jeremy changed the title [WIP] Extract menus to separate files (changes split from #2472) [Maintenance] Extract menus to separate files (changes split from #2472) Mar 27, 2024
@joel-jeremy joel-jeremy requested a review from MatissJanis March 27, 2024 15:22
<View style={{ marginBottom: 5 }}>Cover from category:</View>

<InitialFocus>
{node => (
<CategoryAutocomplete
categoryGroups={categoryGroups}
value={null}
value={categoryGroups.find(g => g.id === categoryId)}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔨 warning: ‏doesn't seem to work

Untitled.mov

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is existing behavior, the value gets set but the autocomplete component clears the selection on blur by default.

@trafico-bot trafico-bot bot added ⚠️ Changes requested Pull Request needs changes before it can be reviewed again and removed 🔍 Ready for Review labels Apr 2, 2024
@trafico-bot trafico-bot bot added 🔍 Ready for Review and removed ⚠️ Changes requested Pull Request needs changes before it can be reviewed again labels Apr 2, 2024
@joel-jeremy joel-jeremy merged commit f3d7641 into master Apr 2, 2024
19 checks passed
@joel-jeremy joel-jeremy deleted the split-from-2472 branch April 2, 2024 21:06
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed 🔍 Ready for Review labels Apr 2, 2024
@carkom
Copy link
Contributor

carkom commented Apr 4, 2024

@joel-jeremy @MatissJanis
This change broke toggle menu items. Can we get a bugfix in to get them working again?

Edit: put in PR #2553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Merged Pull Request has been merged successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants