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

♻️ (common) migrating to specific common component import paths pt2 #1419

Merged
merged 7 commits into from
Jul 30, 2023

Conversation

MatissJanis
Copy link
Member

Part 2 of the path migration. No functional changes.

Part 1: #1418

@netlify
Copy link

netlify bot commented Jul 30, 2023

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit ecdc13b
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/64c67301af445500087654c6
😎 Deploy Preview https://deploy-preview-1419.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.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 30, 2023

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
16 2.08 MB -> 2.08 MB (-750 B) -0.03%
Changeset
File Δ Size
src/components/modals/FixEncryptionKey.js 📈 +182 B (+5.82%) 3.05 KB -> 3.23 KB
src/components/manager/Import.js 📈 +121 B (+5.76%) 2.05 KB -> 2.17 KB
src/components/gocardless/GoCardlessLink.js 📈 +34 B (+5.71%) 595 B -> 629 B
src/components/manager/ImportYNAB5.js 📈 +116 B (+5.10%) 2.22 KB -> 2.34 KB
src/components/modals/ConfirmCategoryDelete.js 📈 +121 B (+4.79%) 2.47 KB -> 2.59 KB
src/components/UpdateNotification.js 📈 +94 B (+4.78%) 1.92 KB -> 2.01 KB
src/components/FatalError.js 📈 +200 B (+4.33%) 4.51 KB -> 4.71 KB
src/components/accounts/Reconcile.js 📈 +128 B (+4.23%) 2.96 KB -> 3.08 KB
src/components/manager/ImportYNAB4.js 📈 +93 B (+4.17%) 2.18 KB -> 2.27 KB
src/components/modals/CreateEncryptionKey.js 📈 +181 B (+4.14%) 4.27 KB -> 4.44 KB
src/components/modals/LoadBackup.js 📈 +121 B (+4.08%) 2.9 KB -> 3.02 KB
src/components/modals/BudgetSummary.js 📈 +92 B (+3.87%) 2.32 KB -> 2.41 KB
src/components/modals/CreateAccount.js 📈 +116 B (+3.87%) 2.93 KB -> 3.04 KB
src/components/AppBackground.js 📈 +33 B (+3.84%) 860 B -> 893 B
src/components/Notifications.tsx 📈 +145 B (+3.73%) 3.8 KB -> 3.94 KB
src/components/manager/ImportActual.js 📈 +93 B (+3.72%) 2.44 KB -> 2.53 KB
src/components/manager/DeleteFile.js 📈 +92 B (+3.37%) 2.66 KB -> 2.75 KB
src/components/Page.tsx 📈 +60 B (+3.20%) 1.83 KB -> 1.89 KB
src/components/modals/PlaidExternalMsg.js 📈 +93 B (+3.05%) 2.97 KB -> 3.07 KB
src/components/util/LoadComponent.tsx 📈 +34 B (+2.96%) 1.12 KB -> 1.16 KB
src/components/schedules/PostsOfflineNotification.js 📈 +64 B (+2.86%) 2.18 KB -> 2.25 KB
src/components/settings/UI.tsx 📈 +39 B (+2.72%) 1.4 KB -> 1.44 KB
src/components/settings/Experimental.tsx 📈 +67 B (+2.48%) 2.63 KB -> 2.7 KB
src/components/modals/MergeUnusedPayees.js 📈 +93 B (+2.20%) 4.12 KB -> 4.21 KB
src/components/modals/SelectLinkedAccounts.js 📈 +92 B (+2.05%) 4.39 KB -> 4.48 KB
src/components/modals/EditField.js 📈 +63 B (+1.95%) 3.15 KB -> 3.22 KB
src/components/reports/Change.js 📈 +6 B (+1.47%) 407 B -> 413 B
src/components/manager/BudgetList.js 📈 +91 B (+1.46%) 6.08 KB -> 6.17 KB
src/components/reports/Overview.js 📈 +68 B (+1.32%) 5.03 KB -> 5.1 KB
src/components/schedules/DiscoverSchedules.js 📈 +64 B (+1.26%) 4.96 KB -> 5.03 KB
src/components/ManageRules.js 📈 +172 B (+1.11%) 15.09 KB -> 15.25 KB
src/components/modals/ImportTransactions.js 📈 +181 B (+0.88%) 19.98 KB -> 20.16 KB
src/components/reports/DateRange.js 📈 +6 B (+0.82%) 728 B -> 734 B
src/components/modals/ManageRulesModal.js 📈 +6 B (+0.65%) 926 B -> 932 B
src/components/schedules/EditSchedule.js 📈 +92 B (+0.57%) 15.68 KB -> 15.77 KB
src/components/budget/MobileBudgetTable.js 📈 +120 B (+0.53%) 21.93 KB -> 22.04 KB
src/components/budget/misc.js 📈 +91 B (+0.37%) 23.87 KB -> 23.96 KB
src/components/transactions/SelectedTransactions.js 📈 +5 B (+0.17%) 2.92 KB -> 2.92 KB
src/components/common.tsx 📉 -393 B (-23.17%) 1.66 KB -> 1.27 KB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/narrow-components.chunk.js 32.13 KB -> 32.52 KB (+400 B) +1.22%

Smaller

Asset File Size % Changed
static/js/main.js 848.47 KB -> 847.42 KB (-1.05 KB) -0.12%
static/js/wide-components.chunk.js 160.5 KB -> 160.43 KB (-71 B) -0.04%
static/js/reports.chunk.js 32.6 KB -> 32.6 KB (-3 B) -0.01%

Unchanged

Asset File Size % Changed
static/js/457.chunk.js 388.22 KB 0%
static/media/Inter-italic.var.woff2 239.29 KB 0%
static/media/Inter-roman.var.woff2 221.86 KB 0%
static/js/383.chunk.js 117.35 KB 0%
static/js/281.chunk.js 28.55 KB 0%
static/js/876.chunk.js 26.2 KB 0%
static/js/969.chunk.js 12.94 KB 0%
static/js/resize-observer-polyfill.chunk.js 8.12 KB 0%
static/css/main.css 5.82 KB 0%
asset-manifest.json 2.07 KB 0%
index.html 1.66 KB 0%
static/media/browser-server.js 963 B 0%

@github-actions
Copy link
Contributor

github-actions bot commented Jul 30, 2023

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
2 1.97 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 1010.84 KB 0%
xfo.xfo.kcab.worker.js 1004.04 KB 0%

Comment on lines 14 to 15
export { default as Text } from './common/Text';
export { default as View } from './common/View';
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to remove these too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea. In pt3 those will go too. Didn't want to do one massive migration, so doing this slowly over multiple PRs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense, it was a bit surprising that there were only 40 files using Text/View. Guess that’s because there are way more!

upcoming-release-notes/1419.md Outdated Show resolved Hide resolved
@MatissJanis MatissJanis merged commit 30d035f into master Jul 30, 2023
15 checks passed
@MatissJanis MatissJanis deleted the matiss/migrate-paths-2 branch July 30, 2023 14:37
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed 🔍 Ready for Review labels Jul 30, 2023
MatissJanis added a commit that referenced this pull request Jul 30, 2023
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
…ctualbudget#1419)

Part 2 of the path migration. No functional changes.

Part 1: actualbudget#1418

---------

Co-authored-by: Jed Fox <[email protected]>
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
my2 added a commit to my2/actual that referenced this pull request Aug 13, 2024
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.

2 participants