fix(orchestrator): improve workflow instances page table size #1124
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.
FLPATH-887
Currently the default page size is 5, when often the workflow runs length are more than 5 and there's a lot of space left on the page that is wasted.
To improve this, it will show a table with 20 rows and pagination if there are more than 20 rows, otherwise it'll show a table without pagination.
This behavior matches the backstage catalog tables.
In order to reuse the CatalogPage and avoid duplicating this code, this would be possible when there will be better integration of backstage with the orchestrator and the workflow instances will be backstage entities.
Short list:
Long list:
Screencast from 25-01-24 13:53:58.webm