Provides the backend and frontend changes necessary to edit notes.
Fixes a bug where specifying "full width" doesn't make the notes full width.
Updates the README.
UI/UX changes:
When a given user is authorized to edit an existing note, a new [Edit] option is present next to the [Delete] option. By clicking edit, the note component transforms into the NoteInput component, permitting the ability to edit the text and click an "Update" button. Upon error, the note is still in editing form until further action occurs. Upon success, the editing session is terminated and all of the notes for the resource are refetched.
Compatibility issues:
I do not believe this PR introduces any backward compatibility issues. Should be plug-and-play.
Before accepting or tagging for release, I recommend updating the lang file for et.json with the new translations.
I did my best to adhere to this package's coding strategy and style as best I could. If I find time, I might attempt a refactor (at least for the backend parts) to help make future maintenance easier.
Closes #60
This PR:
UI/UX changes: When a given user is authorized to edit an existing note, a new
[Edit]
option is present next to the[Delete]
option. By clicking edit, the note component transforms into the NoteInput component, permitting the ability to edit the text and click an "Update" button. Upon error, the note is still in editing form until further action occurs. Upon success, the editing session is terminated and all of the notes for the resource are refetched.Compatibility issues: I do not believe this PR introduces any backward compatibility issues. Should be plug-and-play.
Before accepting or tagging for release, I recommend updating the lang file for
et.json
with the new translations.I did my best to adhere to this package's coding strategy and style as best I could. If I find time, I might attempt a refactor (at least for the backend parts) to help make future maintenance easier.