-
Notifications
You must be signed in to change notification settings - Fork 400
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
#7874 Add support for group attributes #7875
Conversation
@offtherailz @taba90 moving to next major. We will include this on MS master as soon as also GeoStore master will be updated accordingly. |
This is the PR to merge on GeoStore to make this PR working |
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.
a few changes here and there
the rest is good
})); | ||
}); | ||
useEffect(() => { | ||
loadOptions().then(setOptions); |
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.
what happens if an error occurs in here?
do we have to handle error somehow?
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.
no options are show. I think it is acceptable (I don't think react-select provides sufficient api for error show).
Co-authored-by: Matteo V. <matteo.velludini@geosolutionsgroup.com>
@ElenaGallo, could you please test this on DEV ? Thank you as admin user you will be able to see attributes tab, with a notes attribute. You can test by creating a new group saving its attributes and so on. |
Description
This PR provides support for group attribute management. By default the tab is hidden (we can decide to add one notes attribute, just to test the functionality).
In draft because it requires :
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
No group attribute support
What is the new behavior?
closes #7874
closes https://github.com/geosolutions-it/npa-cgg/issues/279
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information
For testing:
as admin user, when open "account management" and browse groups, you will be able to see a new tab for groups, where to see/edit the user group attributes. By default I added a "notes" attribute for testing.
You can try to create a group, then edit the group, change the "notes" attribute, try to save and so on.