feat(ui): implement abstraction layer for appset ui support #24916
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Originally part of the AppSet UI PR: https://github.com/argoproj/argo-cd/pull/16689/files#diff-7035eb962aa6d0d147a318d9d131f4ce457e91e9f6aa4ac4a6ce0c5133616564 we are breaking it down to make it easier to review/test/
This PR introduces an abstraction layer for handling both
Application
andApplicationSet
types throughout the UI codebase. This is a foundational change that prepares the codebase to support ApplicationSet features in the future without duplicating code.This PR should have zero functional impact on the UI. All existing Application functionality works exactly as before. No user-facing features are added or changed. Since no ApplicationSet routes exist:
pathname
is always/applications/*
This abstraction layer sets the foundation for future PRs that will:
/applicationsets
Each of these can now be implemented without duplicating all the Application code and reduce chance of regressions
Checklist: