Repository navigation
fix(native): dialogs that fit, a sidebar that never covers the page, and asset logos - #451
Merged
Merged
Conversation
…and asset logos - Dialog host: a page's panel is placed in the page's own width (not under the floating sidebar) and up to the window top; the topbar steps aside and the collapsed rail takes the scrim. Fixes the planned-payment history and quick look content hidden behind the sidebar and the add-transaction sheet under the topbar. - Content-sized dialogs (maxWidth: nil) hug their content, capped by the window (VisionDialogFit); fixed-height bodies use visionDialogFrame so a short window shrinks their scroll area instead of clipping them. - Sidebar: the page canvas runs under the floating sidebar, so no grey strip shows while it slides in or out. - Quick look: Space closes it wherever focus is. - Statistics payee details: a double click opens the payee's transactions. - Import/Export: export filters slide in inside a clipped slot, never over the heading. - Data source health and Database maintenance: web row padding, and the hidden actions header no longer wraps into a tall row. - Metals: a gold-bar glyph on asset pages and tiles. - Asset pages: company and coin logos by ticker, falling back to the glyph. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018QJtaK46HActmbWwGtQsu1
Tor chose an opt-in: Settings > Appearance > Company and coin logos (app_settings.assetLogos, Swift app only). With it off, no logo host is contacted and the asset-class glyph shows. validate-locales now counts Swift sources as key consumers, so keys only the Swift app reads pass the unused-key check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018QJtaK46HActmbWwGtQsu1
Coverage Report for backend
File CoverageNo changed files found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by EraPartner · project thread
Summary
Swift app polish items from Tor's list (all performance profiles).
VisionModalPresenternow covers safe areas with the scrim only and places the panel in the page's own width, up to the window top; the topbar steps aside while a page panel is up (PageModalTopbarHiding) and the collapsed rail takes the scrim too. This also fixes the add-transaction sheet drawn under the topbar.maxWidth: nildialogs usedframe(maxHeight:), which always took 90 % of the window and centred the content in empty glass; flexible content also spread across the window. They now take the content's ideal size capped by the window (VisionDialogFit/VisionDialogContentFit). Fixed-height bodies (chart builder, watchlist chart and add, shortcuts) usevisionDialogFrame(width:height:)so a short window shrinks their scroll area instead of clipping. Chart builder preferred height 680 → 740 so the form shows its Tags field.DetailGlassBackgroundnow runs under the sidebar (no freeze/clip).recipient_id(InsightsRoutes.drill(recipientId:)). Swift-only: the web table has no row action.TableHead h-10andTableCell py-3padding; the hidden "Actions" header was a 1 pt-wide text wrapping one letter per line, which made the header row tall.VisionSymbol.goldBar) on asset pages, tiles and the watchlist; the generated sidebar symbol is unchanged.app_settings.assetLogos, default off, Swift only). When on,AssetLogoSource+AssetLogoload FMPimage-stock/{TICKER}.pngfor stocks/ETFs andcryptocurrency-icons@0.18.1on jsDelivr for crypto; fetched once per session, any failure keeps the glyph. Only the ticker leaves the Mac. Off: no requests..swiftsources as key consumers, so the two Swift-only keys (settings.appearance.assetLogos,…Hint, en + nl) pass the unused-key check.Demo exclusions (item 4): not a bug.
packaging/electron/demo-db/generate.mtsseeds every category active and no exclusion settings, so filtered and unfiltered data are identical; Statistics shows the toggle whenever the scope applies, as the web does.Type of change
fix— bug fixfeat— new feature (logos setting, payee drill)Checklist
docs/pages updated (docs/architecture/native-app.md,docs/i18n/translations.md)i18n/source/(en + nl);bun run validate-localespassesArchitecture & data
app_settingsis a loose JSON object; new key is additive)Verification
bun scripts/native-lint.ts:native-lint ok.bun test scripts/native-tests: 74 pass, 0 fail.bun run validate-locales: passed.bun run typecheck:scripts: clean.AssetLogoSourceTests,NativeAppSettingsTests.assetLogosStayOffUntilTheUserTurnsThemOn,InsightsTests.payeeDrillOpensTransactionsFilteredToThePayee,NativeOverlayMetricsTests.contentSizedDialogsTakeTheContentSizeUpToTheWindowAllowanceandcontentSizedPanelsHugTheirContent(NSHostingView layout).128/color/btc.pngetc.).Residual risk & follow-ups
🤖 Generated with Claude Code
https://claude.ai/code/session_018QJtaK46HActmbWwGtQsu1