Introduce MVP-level coaching session Note creation/updating #25
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
This PR creates a new note when a coaching session page first loads and an associated note.id isn't yet set. It also updates the singular Note (for now) associated with this session after a 1 second delay of non-typing.
Note: this requires the use of this backend PR to function correctly
GitHub Issue: None
Changes
Note
typecoaching_session_id
coaching_session_id
Screenshots / Videos Showing UI Changes (if applicable)
Testing Strategy
Concerns
This PR does not yet automatically update the second user's Note textarea when the first user makes any changes. I haven't tested this across multiple users yet, they will most likely clobber each other's updates if they both make Note changes.