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.
Collaborative Workspace Memos
Description
I use
memos
as a replacement for Google Keep and I'm very happy with it. Recently, however, I wanted to share a shopping list with my partner.Using
workspace
visibility allowed my partner to see my list, but she couldn't edit it.I couldn't find a way to set this up, so I decided to code it.
For the moment it's a simple version that allows all
workspace
members to editmemos
published in theworkspace
.In the future, I'm thinking of adding a collaboration feature. We could then add members to our
memos
to enable them to modify it.I'm making this pull request in case this particular need is requested by others.
What does it do
This
pull request
adds a new parameter to the workspace memo relative settings. This parameter, once active, allows workspace members to modify anymemo
published on the workspace. This makes it easy to create collaborative notes.Code
I'm not very familiar with React, so it's possible that my modifications aren't the most optimized. Feel free to modify/optimize my code.
I've run the server-side unit tests and everything passes.
On the web side, I linted and tested by hand.
For translations, I've written the description for English and French (as these are the only two languages I know).