Skip to content

Configuration Library: Implement lazy loading & UI Update #95

Closed

Description

@Ayush8923

Describe the current behavior
Currently, in the Configuration Library, we follow this flow:

  1. Fetch all configs via /api/configs
  2. Fetch versions via /api/configs/{configId}/versions
  3. Fetch version details via /api/configs/{configId}/versions/{versionId}

This results in multiple API calls being triggered upfront or in quick succession, even when the user may not interact with all configurations.

  • Unnecessary API calls are made for configs that the user may never open
  • Increased load on the backend
  • Slower UI performance due to redundant data fetching
  • Current approach does not scale well with large datasets

Describe the enhancement you'd like

Refactor the UI flow to implement lazy loading:

  • Initially, only fetch the list of configs /api/configs
  • Defer fetching:
    • Versions /versions
    • Version details /versions/{versionId}
  • Trigger these API calls only when the user selects or clicks on a specific config

Activity

  1. changed the title [-]Optimize Configuration Library API Calls with Lazy Loading[/-] [+]Configuration Library: Implement lazy loading[/+] on Mar 27, 2026
  2. self-assigned this
    on Mar 27, 2026
  3. moved this to In Progress in Kaapi-devon Mar 27, 2026
  4. changed the title [-]Configuration Library: Implement lazy loading[/-] [+]Configuration Library: Implement lazy loading & UI Update[/+] on Mar 27, 2026
  5. moved this from In Progress to In Review in Kaapi-devon Mar 27, 2026
  6. Ayush8923 commented on Mar 30, 2026

    @Ayush8923
    CollaboratorAuthor

    This has been completed. Closing this issue.
    PR reference: #96

  7. moved this from In Review to Closed in Kaapi-devon Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions