feat: emoji reactions, live preview, diff view, template preview - #647
Open
Helix-xi wants to merge 1 commit into
Open
feat: emoji reactions, live preview, diff view, template preview#647Helix-xi wants to merge 1 commit into
Helix-xi wants to merge 1 commit into
Conversation
- Stellar-split#608 CommentSection: add emoji reaction picker (+) on each comment, reaction chips with counts, toggle-off by clicking own reaction, persisted to localStorage + synced to reactions API - Stellar-split#607 CustomizationPanel: side-by-side live preview card that reflects logo/colour/message changes in real time without saving; stacks on mobile, side-by-side on desktop (lg+) - Stellar-split#606 VersionHistory: Show diff toggle on each entry, DiffPanel renders removed fields in red and added fields in green; covers title, amount, recipients, due date, notes - Stellar-split#605 TemplateManager: TemplatePreviewModal with read-only invoice card showing all template fields (recipients, amounts, currency, total); Preview button on each row and in the dropdown; Apply Template confirms, Cancel returns without changes
|
@Helix-xi 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! 🚀 |
|
@Helix-xi 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. |
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.
Title:
feat: emoji reactions, live preview, diff view & template preview
Body:
Summary
This PR implements four features from the issue backlog across four components.
#608 — Emoji reaction picker in
CommentSection+button that opens a compact floating emoji picker (👍 ❤️ ✅ ❓)localStorageand synced to the server viaPOST /api/invoices/[id]/comments/[commentId]/reactionsCloses #608
#607 — Live preview pane in
CustomizationPanelInvoicePreviewCardrenders alongside the settings form and updates in real time as the userchanges title, accent colour, or message — no save required
and pay button all styled with the chosen accent colour
lg+), stacked on mobileCloses #607
#606 — Diff view in
VersionHistoryDiffPanelrenders changed fields in a unified diff style: removed lines in red (−),added lines in green (
+), unchanged fields omittedold*/new*key patternsfrom the audit log)
Closes #606
#605 — Template preview before apply in
TemplateManagerPreview button
TemplatePreviewModalwith a read-only invoice card showing alltemplate fields: recipients, amounts, currency, total, and branding
template list with no changes made
Closes #605
Testing
Existing tests continue to pass. All changes are confined to the four target component files; no
new dependencies were introduced.