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

♻️ moving P, useStableCallback, AnchorLink common components #1413

Merged
merged 2 commits into from
Jul 29, 2023

Conversation

MatissJanis
Copy link
Member

Moving the code to separate files. Functionally should be no differences.

Moving the code to separate files. Functionally should be no differences.
@netlify
Copy link

netlify bot commented Jul 29, 2023

Deploy Preview for actualbudget ready!

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

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 (+244 B) +0.01%
Changeset
File Δ Size
src/components/common/AnchorLink.tsx 🆕 +373 B 0 B -> 373 B
src/hooks/useStableCallback.ts 🆕 +317 B 0 B -> 317 B
src/components/common/Paragraph.tsx 🆕 +271 B 0 B -> 271 B
src/components/gocardless/GoCardlessLink.js 📈 +57 B (+10.59%) 538 B -> 595 B
src/components/manager/WelcomeScreen.js 📈 +65 B (+3.26%) 1.95 KB -> 2.01 KB
src/components/schedules/PostsOfflineNotification.js 📈 +65 B (+2.99%) 2.12 KB -> 2.18 KB
src/components/manager/subscribe/Bootstrap.tsx 📈 +60 B (+2.77%) 2.12 KB -> 2.17 KB
src/components/manager/ImportYNAB4.js 📈 +57 B (+2.63%) 2.12 KB -> 2.18 KB
src/components/manager/ImportYNAB5.js 📈 +57 B (+2.57%) 2.17 KB -> 2.22 KB
src/components/manager/ImportActual.js 📈 +57 B (+2.34%) 2.38 KB -> 2.44 KB
src/components/settings/FixSplits.js 📈 +49 B (+1.91%) 2.51 KB -> 2.56 KB
src/components/modals/FixEncryptionKey.js 📈 +57 B (+1.86%) 3 KB -> 3.05 KB
src/components/modals/CloseAccount.js 📈 +76 B (+1.84%) 4.03 KB -> 4.11 KB
src/components/reports/NetWorth.js 📈 +62 B (+1.80%) 3.37 KB -> 3.43 KB
src/components/FatalError.js 📈 +80 B (+1.76%) 4.43 KB -> 4.51 KB
src/components/modals/CreateEncryptionKey.js 📈 +73 B (+1.70%) 4.19 KB -> 4.27 KB
src/components/modals/CreateAccount.js 📈 +49 B (+1.66%) 2.88 KB -> 2.93 KB
src/components/modals/PlaidExternalMsg.js 📈 +49 B (+1.63%) 2.93 KB -> 2.97 KB
src/components/reports/CashFlow.js 📈 +57 B (+1.39%) 4.01 KB -> 4.06 KB
src/components/modals/MergeUnusedPayees.js 📈 +49 B (+1.17%) 4.08 KB -> 4.12 KB
src/components/schedules/DiscoverSchedules.js 📈 +57 B (+1.13%) 4.91 KB -> 4.96 KB
src/components/modals/GoCardlessExternalMsg.js 📈 +57 B (+0.86%) 6.47 KB -> 6.53 KB
src/components/Titlebar.js 📈 +64 B (+0.80%) 7.79 KB -> 7.86 KB
src/components/payees/index.js 📈 +43 B (+0.40%) 10.58 KB -> 10.62 KB
src/components/common.tsx 📉 -684 B (-23.27%) 2.87 KB -> 2.2 KB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/main.js 848.52 KB -> 848.71 KB (+204 B) +0.02%
static/js/reports.chunk.js 32.25 KB -> 32.27 KB (+22 B) +0.07%
static/js/wide-components.chunk.js 159.28 KB -> 159.3 KB (+18 B) +0.01%

Smaller

No assets were smaller

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/narrow-components.chunk.js 31.94 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

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

Copy link
Contributor

@j-f1 j-f1 left a comment

Choose a reason for hiding this comment

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

Good idea renaming P to Paragraph!

@MatissJanis MatissJanis merged commit 9fd4e6c into master Jul 29, 2023
15 checks passed
@MatissJanis MatissJanis deleted the matiss/common-move branch July 29, 2023 12:09
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved labels Jul 29, 2023
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
…udget#1413)

Moving the code to separate files. Functionally should be no
differences.
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