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

Custom useNavigate which tracks previous location #1808

Conversation

joel-jeremy
Copy link
Contributor

Fixes #1735

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 03982ae
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/652d8686b200330008cd4e24
😎 Deploy Preview https://deploy-preview-1808.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 Oct 16, 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.82 MB → 2.82 MB (+634 B) +0.02%
Changeset
File Δ Size
src/hooks/useNavigate.ts 🆕 +1.27 kB 0 B → 1.27 kB
src/components/common/ButtonLink.tsx 📈 +38 B (+6.19%) 614 B → 652 B
src/components/manager/subscribe/Error.tsx 📈 +41 B (+2.82%) 1.42 kB → 1.46 kB
src/components/common/Link.tsx 📈 +38 B (+2.61%) 1.42 kB → 1.46 kB
src/components/manager/subscribe/common.tsx 📈 +41 B (+1.33%) 3 kB → 3.04 kB
src/components/payees/ManagePayeesPage.js 📈 +4 B (+0.69%) 576 B → 580 B
src/components/accounts/MobileAccount.js 📈 +38 B (+0.55%) 6.74 kB → 6.78 kB
src/components/Titlebar.tsx 📈 +35 B (+0.24%) 14.42 kB → 14.46 kB
src/components/budget/index.js 📈 +38 B (+0.22%) 17.01 kB → 17.04 kB
src/components/FinancesApp.tsx 📈 +35 B (+0.20%) 16.81 kB → 16.84 kB
src/components/manager/subscribe/ChangePassword.tsx 📈 +6 B (+0.19%) 3.07 kB → 3.07 kB
src/components/sidebar/Tools.tsx 📈 +4 B (+0.17%) 2.25 kB → 2.25 kB
src/components/settings/UI.tsx 📈 +4 B (+0.16%) 2.4 kB → 2.4 kB
src/components/sidebar/SidebarWithData.tsx 📈 +7 B (+0.11%) 5.95 kB → 5.96 kB
src/components/transactions/MobileTransaction.js 📈 +38 B (+0.08%) 48.86 kB → 48.9 kB
src/components/manager/ConfigServer.tsx 📈 +3 B (+0.04%) 7.3 kB → 7.3 kB
src/components/modals/CreateLocalAccount.tsx 📈 +3 B (+0.03%) 8.66 kB → 8.66 kB
src/components/accounts/MobileAccounts.js 📈 +3 B (+0.03%) 9.22 kB → 9.22 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/main.js 1.12 MB → 1.12 MB (+576 B) +0.05%
static/js/narrow-components.chunk.js 43.06 kB → 43.09 kB (+28 B) +0.06%
static/js/wide-components.chunk.js 126.86 kB → 126.87 kB (+16 B) +0.01%
static/js/reports.chunk.js 29.92 kB → 29.94 kB (+14 B) +0.05%

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
static/js/848.chunk.js 760.98 kB 0%
static/media/Inter-italic.var.woff2 239.29 kB 0%
static/media/Inter-roman.var.woff2 221.86 kB 0%
static/js/713.chunk.js 156.56 kB 0%
static/js/231.chunk.js 117.37 kB 0%
static/js/473.chunk.js 13 kB 0%
static/js/389.chunk.js 12.77 kB 0%
static/js/resize-observer-polyfill.chunk.js 8.88 kB 0%
static/css/main.css 7.41 kB 0%
asset-manifest.json 2.07 kB 0%
index.html 1.66 kB 0%
static/media/browser-server.js 903 B 0%

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 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 2.22 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.23 MB 0%
xfo.xfo.kcab.worker.js 1014.46 kB 0%

@joel-jeremy joel-jeremy merged commit e266093 into actualbudget:master Oct 22, 2023
17 checks passed
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved labels Oct 22, 2023
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
* Custom useNavigate which tracks previous location

* Release notes

* Fix lint errors
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.

[Bug]: mobile - single account - back button is flaky
2 participants