Improve text view card design and functionality #790
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!790
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "741-improve-text-view-card"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes
TextView Improvements
Added separate states for:
Added Save/Edit toggle functionality
Added Delete confirmation flow
Added Cancel functionality for delete state
Prevented delete confirmation from opening when the note is empty
Added error message:
Editing & Saving Flow
Fixed issue where text changes were not saved correctly before adding a card
Added validation to prevent adding a card while still editing
Added warning message:
Synced saved preview text with dashboard card data
Fixed issue where dashboard cards were created with empty text
AddCardModal Improvements
Added preview state management:
Synced TextView preview with AddCardModal state
AddNewView Improvements
UI / UX Improvements
Test Cases
TextView edit/save
Add TextView to dashboard
Prevent add while editing
Delete confirmation
Confirm delete
Empty delete error
This is not a full review, just something I noticed.
I think the states added should be reset with the closeModal function. A small quirk or functionality of the addCardModal is that its state (eg. what card and category is selected) is stored if you just click outside of the modal. This is so that you can click outside the modal to view the dashboard before adding and to prevent the user accidentally clicking outside of it and having to select the view again.
I think that the preview for the text should follow this logic. This is just my opinion though.
One thing that should be fixed is that the error message stays if you press close and then open the modal again
Review on #741
Whats done
Tested on Windows using Chrome
Inspected following files
What needs to be done
Conclusion
See review for what needs to be done #790 (comment)
Thank you both for the detailed reviews and feedback. The comments and suggestions helped improve both the functionality and overall user experience of the feature.
Implemented the requested review changes for the TextView card and AddCardModal.
Changes made:
@a24vinla Can you please check the changes?
Sorry for late response, my notifications are a bit full.
All requested changes have been made and work well. I think this implementation should be looked at if we want to implement adding settings to cards before adding them.
Nothing more to add!