Skip to content

[improve]: dynamically load options in Liferay component #5112

Description

@marijahorvat171

Improvement target

Liferay headless action loads and returns all available endpoints from the OpenAPI specification at once. For large Liferay applications this can result in slow options loading.

Improvement description

Add .optionsLoadedDynamically(true) to the ENDPOINT property and use the searchText parameter in getEndpointsOptions(...) to support dynamic endpoint filtering. Current OpenAPI endpoint returns the complete specification document and does not support server-side endpoint filtering or search. To fully support dynamic loading, an additional backend endpoint would likely be needed to return filtered endpoints based on a search query instead of the entire OpenAPI specification.

Observed Version

latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendConcerning any and all backend issuesworkflow-componentNew backend component request

    Fields

    No fields configured for Feature.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions