-
Notifications
You must be signed in to change notification settings - Fork 32
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
[ME]: Filter out place keywords in keyword section #987
Conversation
keyword section of metadata editor, add e2e test for place keywords and other keywords
Affected libs:
|
📷 Screenshots are here! |
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.
Looking and working great, except the national / regional coverage keyword is displayed in the generic keywords components, and I think it should not be displayed, same as place keywords. I think you can recognize those specifically from the form fields config.
keywords list in the form (visual), but keep all keywords in the record.
@@ -175,16 +175,27 @@ export class FormFieldSpatialExtentComponent { | |||
...(thesaurus && { thesaurus }), | |||
} as Keyword) | |||
) | |||
const notPlaceKeywords = await firstValueFrom( | |||
|
|||
const notPlaceKwAndSpatialScopeKw = await firstValueFrom( |
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.
Sorry, I couldn't find a better name...
@LHBruneton-C2C I filtered out the national / regional keyword from the keywords list on the editor form (visually), but kept them in the record. |
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.
Maybe not simpler, but that's the expected behavior, thanks!
Description
This PR fixes the issue that place keywords were shown twice in the editor. Once in the spatial extent section and once on the third page in the keyword section.
Now the keywords are visually separated.
Note:
It is still important to save ALL keywords in the record in the "keywords" property.
Quality Assurance Checklist
breaking change
labelbackport <release branch>
label