-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Editing Flow and Manual Dates #77
Merged
Merged
Conversation
This file contains 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
…etion based on editing state
…emove action from default Type component
… update changelog state directly. add updateOtherStates for setting all other logs to editing=false when clicking edit on a changelog
…lements were not pulling in the temp version of the data
…closes the editing state for any other widget
…), add date-fns library for date validation
…guage used elsewhere in the widget
ryansrofe
approved these changes
Apr 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work
1 task
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.
Description
Updating editing flow to have an editing/display state - this will help with accidental changes, and give us more options for incorporating editable options that differ from the display version down the road. I built the feature to manually edit the "created date" for change logs. This will be useful for libraries with existing logs looking to switch to FigLog without history loss.
Fixes #64 and #17
Type of Change
This feature should be tested to be sure that it is not a breaking change - it has the potential to be one, but I have intended to author it so that it is not one. It is a "breaking change" from a UX perspective in that it changes how the user edits change logs, but should not actually break existing widgets from a functionality/data standpoint.
How Has This Been Tested?
Manual testing via creating change logs and editing in different scenarios:
New Editing flow: