feat: click-to-copy #7

Merged
addison merged 10 commits from feat/transaction-click-to-copy into main 2025-11-27 15:31:17 -05:00
Owner

Click a value to copy it.

Click a value to copy it.
- Add CopyableTransactionNumber component with hover effects
- Shows checkmark for 2 seconds after copy
- Update specs to mark feature as complete
- Rename CopyableTransactionNumber to generic CopyableCell component
- Apply CopyableCell to all column types (number, date, name, currency)
- Component handles type conversion for strings, numbers, and formatted values
- Replace subtle green checkmark with explicit 'Copied!' text
- Add fade-in/out animation that's clearly visible
- Text appears for 2 seconds then fades away
- Improves discoverability for new users per Low Friction principle
- Use absolute positioning for 'Copied!' text instead of inline
- Text now appears below the value without affecting layout
- Keeps column widths stable while providing clear feedback
- Add light green background with padding and border radius
- Darker green text for better contrast
- Looks more like a tooltip while maintaining minimalist design
fix: position tooltip above cell instead of below to prevent cutoff at table bottom
Some checks failed
Code Review Bot / run_code_review_bot (pull_request) Has been cancelled
CI / backend (pull_request) Failing after 4m49s
CI / frontend (pull_request) Failing after 30s
421d1ca9e2
refactor: extract CopyableCell into separate component file
Some checks failed
CI / backend (pull_request) Has been cancelled
CI / frontend (pull_request) Has been cancelled
Code Review Bot / run_code_review_bot (pull_request) Has been cancelled
0671b44d50
- Move CopyableCell component to dedicated CopyableCell.tsx file
- Import component in InvoicesPage
- Improves code organization and reusability
docs: update info about issues
Some checks failed
CI / backend (pull_request) Has been cancelled
CI / frontend (pull_request) Has been cancelled
Code Review Bot / run_code_review_bot (pull_request) Has been cancelled
e9470ceda8
refactor: clean up
Some checks failed
CI / backend (pull_request) Failing after 41s
CI / frontend (pull_request) Successful in 35s
Code Review Bot / run_code_review_bot (pull_request) Failing after 36s
46029a190c
addison deleted branch feat/transaction-click-to-copy 2025-11-27 15:31:17 -05:00
addison referenced this pull request from a commit 2025-11-27 15:31:19 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kwila/office-automations!7
No description provided.