-
Notifications
You must be signed in to change notification settings - Fork 88
sorting editor updates on local items #3137
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThis PR updates two components. In the SortingEditor component, the second argument ( Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant LE as ListEditorRenderer
participant UI as User Interface
U->>LE: Trigger item change event
LE->>LE: Merge existing item with new data (immutable update)
LE->>LE: Call updateItem(index, updatedItem)
LE->>UI: Refresh the UI to reflect changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Hi @teboho. List editor is used by different components including lists with groups. Please make sure that your changes work in all of them. One of example of issues reintroduiced by your changes: #1690
There were some reasons for mutability. Ideally it should be immutable but it requires more changes
Hi @IvanIlyichev thank you for the feedback,I will take further look |
This reverts commit 441306b.
Hi @IvanIlyichev , I saw that the TableViewSelector currently on functional is already not working correctly which means that already on main something is wrong with it, I've alerted @Tshepo1103-lab about it, while I did revert the changes this PR was proposing I still need to test if trying to use those changes still affects the TableViewSelector negatively? I will reapply the changes once TableViewSelector works again and test all the places where the list editor is used to see if they still work as in v43 |
#2977
Fixing this issue
https://jam.dev/c/42df9ebb-d728-42e2-bc35-cc02584514f5
Summary by CodeRabbit