Skip to content
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

IBX-9322: ezobjectrelationlist field allows selecting the same content multiple times #1409

Merged

Conversation

lucasOsti
Copy link
Contributor

@lucasOsti lucasOsti commented Dec 13, 2024

🎫 Issue IBX-9322

Description:

Screenshot 2025-01-24 at 11 57 29

For QA:

Documentation:

@lucasOsti lucasOsti force-pushed the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch from 1c5593e to ce73425 Compare December 13, 2024 13:41
@lucasOsti lucasOsti added Bug Something isn't working Ready for review labels Dec 17, 2024
Copy link
Contributor

@katarzynazawada katarzynazawada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content that had already been selected should be disabled or somehow highlighted during the selection process.
Current state:

Screen.Recording.2025-01-07.at.09.08.08.mov

@lucasOsti lucasOsti force-pushed the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch 3 times, most recently from 4ce602b to c4c5c15 Compare January 10, 2025 09:32
@lucasOsti lucasOsti requested review from dew326 and bozatko January 10, 2025 09:36
@lucasOsti lucasOsti force-pushed the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch from c4c5c15 to 7fdd261 Compare January 10, 2025 09:40
@katarzynazawada katarzynazawada force-pushed the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch from 7fdd261 to d740367 Compare January 16, 2025 11:40
Copy link
Contributor

@katarzynazawada katarzynazawada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one inconsistency, selected item is disabled, X button in the list also but Deselect all buton is available. After using it all items are deselected, user can select new one but when UDW is closed pre-selected items are visible that can be confusing.
See please

Screen.Recording.2025-01-16.at.13.14.14.mov

@barbaragr
Copy link

There is one inconsistency, selected item is disabled, X button in the list also but Deselect all buton is available. After using it all items are deselected, user can select new one but when UDW is closed pre-selected items are visible that can be confusing. See please

Screen.Recording.2025-01-16.at.13.14.14.mov

I don't know if it isn't related to this issue https://issues.ibexa.co/browse/IBX-8853 somehow.

@lucasOsti lucasOsti force-pushed the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch from 655bcf1 to 0d27279 Compare January 24, 2025 10:36
}
}, [selectedLocations, isInitLocationsDeselectionBlocked]);

if (!allowConfirmation || (onlyInitSelectedLocationsAreSelected && isInitLocationsDeselectionBlocked)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: what do you think about putting all these conditions in a variable with a proper name to improve readability?

@lucasOsti
Copy link
Contributor Author

There is one inconsistency, selected item is disabled, X button in the list also but Deselect all buton is available. After using it all items are deselected, user can select new one but when UDW is closed pre-selected items are visible that can be confusing. See please
Screen.Recording.2025-01-16.at.13.14.14.mov

I don't know if it isn't related to this issue https://issues.ibexa.co/browse/IBX-8853 somehow.

This should be fixed by #1404

@juskora juskora force-pushed the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch from da609f1 to 064c725 Compare January 28, 2025 10:22
@juskora
Copy link
Contributor

juskora commented Jan 29, 2025

QA Approved on Ibexa DXP Commerce 4.6-dev.

@tischsoic tischsoic merged commit 11d3fde into 4.6 Jan 29, 2025
29 checks passed
@tischsoic tischsoic deleted the IBX-9322-ezobjectrelationlist-multiple-selection-same-content branch January 29, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working QA approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants