Skip to content

Invoice branding font option, collab review, Cmd+Enter submit shortcut - #969

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
lonerthefirst3-sudo:fix/issues-899-898-897
Oct 20, 2026
Merged

Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
lonerthefirst3-sudo:fix/issues-899-898-897

Conversation

@lonerthefirst3-sudo

Copy link
Copy Markdown
Contributor

Summary

  • Add custom branding options for invoices #899: Branding already supported logo, accent color, and tagline (persisted + applied in PDF export). The one missing acceptance-criteria piece was font selection, so this adds a fontFamily brand setting (Helvetica/Times-Roman/Courier — react-pdf's built-in fonts, no embedding needed), a selector in the branding form with live preview, and wiring into both PDF export paths.
  • Implement real-time collaboration features for draft invoices #898: Investigated — real-time collaboration is already substantially implemented (useInvoiceCollaboration, CoEditorPanel, CollaborationCursors, useInvoicePresence/PresenceBar, CommentThread, ActivityFeed), all wired into the invoice detail page. Skipped with an explanatory issue comment rather than bolting on a cosmetic, non-functional "lock" — true conflict resolution/locking is a backend-protocol change too large for this PR.
  • Add keyboard shortcuts and accessibility enhancements #897: The shortcut registry covers navigation and the help overlay, but the invoice creation wizard had no shortcut to submit/advance. Added Cmd/Ctrl+Enter via the existing useRegisterShortcuts pattern.

Closes #899
Closes #898
Closes #897

Test plan

  • Set branding at /settings/branding, pick each font option, confirm the preview font changes and persists after reload
  • Export an invoice PDF and a receipt PDF, confirm the chosen font renders
  • On /invoice/new, press Cmd/Ctrl+Enter on an early step (advances) and on the review step (submits)
  • Confirm the shortcut does not fire with Alt/Shift held or inside unrelated modifier combos

Branding already supported logo upload, accent color, and tagline with
persistence and PDF export, but font selection — an explicit acceptance
requirement — was missing. Adds a fontFamily field to brand settings
(Helvetica/Times-Roman/Courier, react-pdf's built-in fonts), a selector
in the branding form with live preview, and wiring into both PDF export
paths (invoice export and receipt).
…n wizard

The ShortcutRegistry already covers navigation chords and the help
overlay, but the invoice creation flow — the primary task in the app —
had no keyboard shortcut to submit/advance. Registers Cmd/Ctrl+Enter
via the existing useRegisterShortcuts pattern, reusing handleSubmit's
existing step-advance-vs-create logic through form.requestSubmit().
@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@lonerthefirst3-sudo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

@lonerthefirst3-sudo is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Kingsman-99
Kingsman-99 merged commit c043443 into Stellar-split:main Oct 20, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants