feat: add back button to reports pages (#6702)

* feat: add back button to reports pages

* Update VRT screenshots

Auto-generated by VRT workflow

PR: #6702

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Alexis Vielma
2026-02-12 18:35:08 -08:00
committed by GitHub
parent cf5fe67e7b
commit 68bb33e5e6
9 changed files with 8 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -322,7 +322,7 @@ export function Titlebar({ style }: TitlebarProps) {
<Routes>
<Route
path="/accounts"
path="*"
element={
location.state?.goBack ? (
<Button variant="bare" onPress={() => navigate(-1)}>
@@ -340,8 +340,6 @@ export function Titlebar({ style }: TitlebarProps) {
<Route path="/accounts/:id" element={<AccountSyncCheck />} />
<Route path="/budget" element={<BudgetTitlebar />} />
<Route path="*" element={null} />
</Routes>
<View style={{ flex: 1 }} />
<SpaceBetween gap={10}>

View File

@@ -103,7 +103,7 @@ export function ReportCard({
<Layout {...layoutProps}>
<Button
variant="bare"
onPress={() => navigate(to)}
onPress={() => navigate(to, { state: { goBack: true } })}
style={{
height: '100%',
width: '100%',

View File

@@ -0,0 +1,6 @@
---
category: Features
authors: [aelxxs]
---
Adds "Back" button to reports config pages