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

[WIP] Migration mobile Transaction component to TransactionListItem + cleanup #3761

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joel-jeremy
Copy link
Contributor

Removed a bunch of files and replaced it with react-aria-component equivalent components

@actual-github-bot actual-github-bot bot changed the title Migration mobile Transaction component to TransactionListItem + cleanup [WIP] Migration mobile Transaction component to TransactionListItem + cleanup Oct 31, 2024
Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 63ed1dd
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/67240f041128c20008140012
😎 Deploy Preview https://deploy-preview-3761.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.

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
9 5.32 MB → 5.38 MB (+69.37 kB) +1.27%
Changeset
File Δ Size
node_modules/react-aria-components/dist/ListBox.mjs 🆕 +17.48 kB 0 B → 17.48 kB
node_modules/@react-aria/collections/dist/Document.mjs 🆕 +12.83 kB 0 B → 12.83 kB
node_modules/@react-aria/collections/dist/CollectionBuilder.mjs 🆕 +11.07 kB 0 B → 11.07 kB
src/components/mobile/transactions/TransactionListItem.tsx 🆕 +6.56 kB 0 B → 6.56 kB
node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.mjs 🆕 +5.55 kB 0 B → 5.55 kB
node_modules/@react-aria/collections/dist/BaseCollection.mjs 🆕 +5.49 kB 0 B → 5.49 kB
node_modules/react-aria-components/dist/DragAndDrop.mjs 🆕 +4.06 kB 0 B → 4.06 kB
node_modules/react-aria-components/dist/Collection.mjs 🆕 +2.66 kB 0 B → 2.66 kB
node_modules/@react-aria/collections/dist/useCachedChildren.mjs 🆕 +2.45 kB 0 B → 2.45 kB
node_modules/react-aria-components/dist/Header.mjs 🆕 +1.12 kB 0 B → 1.12 kB
node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js 🆕 +1.09 kB 0 B → 1.09 kB
node_modules/react-aria-components/dist/ProgressBar.mjs 🆕 +724 B 0 B → 724 B
node_modules/react-aria-components/dist/Separator.mjs 🆕 +722 B 0 B → 722 B
node_modules/react-aria-components/dist/Text.mjs 🆕 +719 B 0 B → 719 B
node_modules/use-sync-external-store/shim/index.js 🆕 +98 B 0 B → 98 B
node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js?commonjs-exports 🆕 +49 B 0 B → 49 B
node_modules/use-sync-external-store/shim/index.js?commonjs-module 🆕 +27 B 0 B → 27 B
node_modules/react-aria-components/dist/Button.mjs 📈 +2.2 kB (+81.42%) 2.7 kB → 4.9 kB
node_modules/@react-aria/collections/dist/Hidden.mjs 📈 +1.03 kB (+46.25%) 2.23 kB → 3.26 kB
node_modules/@react-stately/list/dist/useListState.mjs 📈 +1.44 kB (+39.77%) 3.63 kB → 5.07 kB
node_modules/@react-stately/list/dist/ListCollection.mjs 📈 +482 B (+19.01%) 2.48 kB → 2.95 kB
node_modules/@react-aria/utils/dist/useId.mjs 📈 +433 B (+15.53%) 2.72 kB → 3.15 kB
node_modules/@react-stately/collections/dist/CollectionBuilder.mjs 📈 +731 B (+8.78%) 8.13 kB → 8.84 kB
node_modules/react-aria-components/dist/utils.mjs 📈 +699 B (+8.70%) 7.85 kB → 8.53 kB
node_modules/@react-stately/selection/dist/Selection.mjs 📈 +90 B (+8.51%) 1.03 kB → 1.12 kB
node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs 📈 +506 B (+6.15%) 8.03 kB → 8.52 kB
node_modules/@react-aria/selection/dist/useSelectableCollection.mjs 📈 +1018 B (+5.88%) 16.9 kB → 17.9 kB
node_modules/@react-stately/selection/dist/SelectionManager.mjs 📈 +638 B (+4.95%) 12.58 kB → 13.2 kB
node_modules/@react-aria/interactions/dist/usePress.mjs 📈 +1.36 kB (+4.18%) 32.63 kB → 33.99 kB
node_modules/@react-aria/utils/dist/openLink.mjs 📈 +114 B (+2.33%) 4.79 kB → 4.9 kB
home/runner/work/actual/actual/packages/loot-core/src/shared/months.ts 📈 +8 B (+0.10%) 7.85 kB → 7.86 kB
src/components/mobile/transactions/TransactionList.jsx 📈 +14 B (+0.09%) 15.8 kB → 15.81 kB
node_modules/@react-aria/button/dist/useButton.mjs 📉 -33 B (-1.05%) 3.06 kB → 3.03 kB
src/components/mobile/transactions/TransactionListWithBalances.jsx 📉 -192 B (-3.43%) 5.46 kB → 5.27 kB
src/components/mobile/transactions/Transaction.jsx 🔥 -6.14 kB (-100%) 6.14 kB → 0 B
node_modules/@react-stately/collections/dist/Item.mjs 🔥 -2.45 kB (-100%) 2.45 kB → 0 B
node_modules/@react-stately/collections/dist/Section.mjs 🔥 -1.79 kB (-100%) 1.79 kB → 0 B
src/components/mobile/transactions/ListBoxSection.jsx 🔥 -1.47 kB (-100%) 1.47 kB → 0 B
src/components/mobile/transactions/ListBox.jsx 🔥 -1.13 kB (-100%) 1.13 kB → 0 B
src/components/mobile/transactions/Option.jsx 🔥 -764 B (-100%) 764 B → 0 B
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 3.33 MB → 3.4 MB (+69.37 kB) +2.03%

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/usePreviewTransactions.js 1.64 kB 0%
static/js/AppliedFilters.js 21.3 kB 0%
static/js/BackgroundImage.js 122.29 kB 0%
static/js/narrow.js 82.57 kB 0%
static/js/wide.js 232.16 kB 0%
static/js/ReportRouter.js 1.5 MB 0%

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
1 1.27 MB 0%
Changeset
File Δ Size
packages/loot-core/src/shared/months.ts 📈 +6 B (+0.05%) 11.71 kB → 11.71 kB
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.27 MB 0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant