-
Notifications
You must be signed in to change notification settings - Fork 99
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
adds discussions to lix #3121
adds discussions to lix #3121
Conversation
|
From Discord https://discord.com/channels/897438559458430986/1283682858489221161/1283785662373429410
Branches don't seem to influence comments. Remember the definition of a branch "A branch is a filter for changes that are currently applied". The definition is not a completely isolated state. From a user perspective, any comment on a change seems to be good if it's available in another branch. That avoids conflicts + unnecessary switching of branches. If I am in branch Merging two lix'es would be copying the comments from one to another (like we do with commits atm). Proposal
PS it seems like "merging two branches" is different from "merging to lixes". Merging a branch does not merge data because the data of changes, comments, etc. is available in all branches. cc @janfjohannes cautious when implementing branches. it might be a good idea not to touch the
Yes 👍
Add a testing for merging two lixes. The discussions should be copied over. And I would appreciate rename |
@samuelstroschein I Agree, that we can merge the changes without branches and use the same approach of copying over the changes.
Lets say you have two branches state in
state in
A view on the change table with a join on the branch table would contain something like this:
Now someone points to the fact that the column "Cost 2024" was not updated in
A discussion with the
A discussion with the
A discussion with the
We would need to have a reference to branches because this comment makes no sense for |
sync call with @martin-lysk and @janfjohannes :
|
@martin-lysk github notified me that this pr is ready for review but i don't see an explicit prompt from you. lmk if i should review this pr |
yes @samuelstroschein , i worked in the signature part. Plz review |
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.
Yep, that's what i had in mind. requesting two changes before approval (rest of the comments is minor and can be ignored or implemented):
- change
comment
toaddComment
- change
lix.comment(args: { parentChange: { id: string }})
tolix.comment(args: { parentChangeId: string})
…ead of objects as params, fixes tests
Worked in you feedback - feel free to merge if it looks good to you @samuelstroschein |
This adds discussions and comments to lix
Notice this is WIP to see what we should add