You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: component browser: only the first 20 templates of a project are listed #327
The template tree requests don't pass per_page or follow pagination, so GitLab's default page size of 20 applies. components/opentofu has 22 files under templates/, so validate and validate-plan never show up in the Component Browser or in completion after component:.
The requests are in src/services/component/componentFetcherTemplates.ts:116 and :125, and src/services/component/componentFetcher.ts:451 and :474. Adding per_page=100 and following x-next-page, like the tags fix in #150, should cover it.
Steps to reproduce
Add components/opentofu on gitlab.com as a component source.
Run GitLab CI: Browse Components.
Observe the project shows 20 components.
Search for validate-plan. Only validate-plan-apply and validate-plan-destroy come back.
Expected behavior
Every template in the project is listed.
Actual behavior
Only the first 20 tree entries are used. The two __internal_* files take up slots too.
Activity