-
Notifications
You must be signed in to change notification settings - Fork 50
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
Make la thematic area content node more compact #4264
Make la thematic area content node more compact #4264
Conversation
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
This comment was marked as off-topic.
This comment was marked as off-topic.
uups, i detected another bug |
i am not yet convinced that it is good to show the available items >100 pixels below the trigger point. |
I like the look of the compact style. A few issues with the behavior though:
Recording.2023-12-22.102005.mp4e only added to the main input after successful saving. There's no animation indicating a save-in-progress. |
…-activity # Conflicts: # frontend/src/components/activity/CardContentNode.vue # frontend/src/components/activity/content/LAThematicArea.vue
@usu thanks for the review. You're right. I adjusted the functionality and fixed the buggy behaviour. |
Nice! Last thing I noticed is that there is no dirty handling (see video below). Selected keys is overriden, whenever a API response comes back. Recording.2023-12-23.094734.mp4 |
@usu how could I solve this? |
The main principle could be copied from ActivityResponsibles.vue: You'd want a local copy of the selected items (
|
@usu thanks for the help! I've implemented the dirty handling while keeping the debounced save, because the individual options are not saved in separate db fields, we try to limit the requests. |
Because the select can grow high, it can be confusing if the overlay is out of view.
@BacLuc I fixed your issue. The overlay is now on top of the select like in the other instances. |
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.
With the fix of the requestCount decrease in the error case, this is ok for me.
Thank you
Improve the ContentNode to be more dense and improve error messages.