Skip to content

Variant Culture aware search in Document and Media Pickers#19336

Merged
kjac merged 25 commits intov16/improvement/culture-in-search-endpointsfrom
v16/improvement/culture-in-search-endpoints-ui
May 16, 2025
Merged

Variant Culture aware search in Document and Media Pickers#19336
kjac merged 25 commits intov16/improvement/culture-in-search-endpointsfrom
v16/improvement/culture-in-search-endpoints-ui

Conversation

@madsrasmussen
Copy link
Copy Markdown
Member

Review #19334 first

The PR implements the UI parts for: #19322

@nielslyngsoe nielslyngsoe marked this pull request as ready for review May 16, 2025 10:47
@kjac kjac merged commit 4d9c6ac into v16/improvement/culture-in-search-endpoints May 16, 2025
3 of 4 checks passed
@kjac kjac deleted the v16/improvement/culture-in-search-endpoints-ui branch May 16, 2025 10:48
kjac added a commit that referenced this pull request May 19, 2025
* Added culture parameter to search APIs and propagated it to the indexed entity search service

* Variant Culture aware search in Document and Media Pickers (#19336)

* generate types

* enable selection of entity-item-ref elements

* Update input-document.element.ts

* add culture to document search args

* pass culture param to search end point

* get variant context in document picker

* add variant context

* set culture in variant context when changing app language

* set variant context when swithing variant in a workspace

* Update content-detail-workspace-base.ts

* clean up

* remove from split view manager

* Update property-dataset-base-context.ts

* change name to fallbackCulture

* simplify

* get context instead of consuming

* make all methods async

* implement for media

* Update current-user-action.extension.ts

* allow null until we reach the server

* remove log

---------

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>

* remove console.log

* add display culture

* opt-in inheritance

* set observe alias to observeAppCulture

* stop inheritance if specific cultures are set

* remove unused import

* include culture for document and media global search

* await value for get methods

* include orderCulture for document collections

* Update document-collection.context.ts

* Update document-collection.context.ts

* fix self import

---------

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants