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

[Mobile] Schedule name and date in mobile scheduled transaction modal #2664

Merged

Conversation

joel-jeremy
Copy link
Contributor

No description provided.

@github-actions github-actions bot changed the title Schedule name and date in mobile scheduled transaction modal [WIP] Schedule name and date in mobile scheduled transaction modal Apr 25, 2024
Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 3deb7d0
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/66394e295c8e810008f9a892
😎 Deploy Preview https://deploy-preview-2664.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] Schedule name and date in mobile scheduled transaction modal [Mobile] Schedule name and date in mobile scheduled transaction modal Apr 25, 2024
@trafico-bot trafico-bot bot added 🚧 WIP Still work-in-progress, please don't review and don't merge 🔍 Ready for Review Pull Request is not reviewed yet and removed 🚧 WIP Still work-in-progress, please don't review and don't merge labels Apr 25, 2024
Copy link
Contributor

github-actions bot commented Apr 25, 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
9 4.7 MB → 4.7 MB (+3.28 kB) +0.07%
Changeset
File Δ Size
node_modules/usehooks-ts/dist/index.js 📈 +1.17 kB (+109.09%) 1.07 kB → 2.25 kB
src/components/modals/ScheduledTransactionMenuModal.tsx 📈 +995 B (+83.82%) 1.16 kB → 2.13 kB
src/components/common/Modal.tsx 📈 +1.22 kB (+12.61%) 9.68 kB → 10.9 kB
node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js 📈 +58 B (+5.46%) 1.04 kB → 1.09 kB
src/components/NotesButton.tsx 📈 +29 B (+1.36%) 2.08 kB → 2.1 kB
node_modules/lodash.debounce/index.js 📈 +8 B (+0.07%) 10.65 kB → 10.66 kB
node_modules/@react-aria/overlays/dist/import.mjs 📉 -14 B (-0.02%) 66.96 kB → 66.95 kB
node_modules/react-aria-components/dist/import.mjs 📉 -7 B (-0.03%) 19.84 kB → 19.83 kB
node_modules/@reach/listbox/dist/reach-listbox.mjs 📉 -20 B (-0.05%) 40.54 kB → 40.52 kB
src/components/tooltips.tsx 📉 -7 B (-0.09%) 8.03 kB → 8.02 kB
src/components/PrivacyFilter.tsx 📉 -6 B (-0.19%) 3.11 kB → 3.11 kB
node_modules/@xstate/fsm/es/index.js 📉 -32 B (-0.94%) 3.31 kB → 3.28 kB
node_modules/react-dom/index.js 📉 -7 B (-1.52%) 460 B → 453 B
node_modules/react-is/cjs/react-is.production.min.js 📉 -54 B (-1.94%) 2.71 kB → 2.66 kB
src/components/common/Tooltip.tsx 📉 -36 B (-2.61%) 1.35 kB → 1.31 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 2.99 MB → 2.99 MB (+4.6 kB) +0.15%

Smaller

Asset File Size % Changed
static/js/wide.js 263.53 kB → 262.21 kB (-1.32 kB) -0.50%

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/BackgroundImage.js 122.29 kB 0%
static/js/narrow.js 59.7 kB 0%
static/js/usePreviewTransactions.js 790 B 0%
static/js/AppliedFilters.js 20.41 kB 0%
static/js/ReportRouter.js 1.22 MB 0%

Copy link
Contributor

github-actions bot commented Apr 25, 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%

const [delayHandler, setDelayHandler] = useState<ReturnType<
typeof setTimeout
> | null>(null);
const hoverTimeoutRef = useRef<ReturnType<typeof setTimeout>>();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using ref here to avoid rerender

@MatissJanis
Copy link
Member

The visual hierarchy in the modal is off. It looks like the modal has 2x titles.

What if we used the same font size as "scheduled date", but just made the date bold? Would that make it look visually more pleasing?

Before & after:

Screenshot 2024-05-06 at 17 26 56 Screenshot 2024-05-06 at 17 26 52

MatissJanis
MatissJanis previously approved these changes May 6, 2024
@trafico-bot trafico-bot bot added ✅ Approved Pull Request has been approved and can be merged and removed 🔍 Ready for Review Pull Request is not reviewed yet labels May 6, 2024
@joel-jeremy joel-jeremy force-pushed the schedule-name-in-mobile-scheduled-transaction-modal branch from 3199650 to 3deb7d0 Compare May 6, 2024 21:39
@trafico-bot trafico-bot bot added 🔍 Ready for Review Pull Request is not reviewed yet and removed ✅ Approved Pull Request has been approved and can be merged labels May 6, 2024
@trafico-bot trafico-bot bot added ✅ Approved Pull Request has been approved and can be merged and removed 🔍 Ready for Review Pull Request is not reviewed yet labels May 7, 2024
@joel-jeremy joel-jeremy merged commit f20e9c6 into master May 7, 2024
19 checks passed
@joel-jeremy joel-jeremy deleted the schedule-name-in-mobile-scheduled-transaction-modal branch May 7, 2024 16:48
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved Pull Request has been approved and can be merged labels May 7, 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.

None yet

2 participants