All Project Services Settings pages load same JS
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
All the forms on Settings > Integrations > Project Services use the same controller. This means they all use app/assets/javascripts/pages/projects/services/edit/index.js (or EE version). Ideally we should either add pages per file, or we can lazily-import modules in edit/index.js only if the relevant element exists.
Not a big issue currently as we do not use Vue on many of these forms, however will get worse for any we want to add it for.
Found on !15733 (merged)
-
@psimyn started a discussion: (+1 comment) this controller is shared between all project services, so we just need to do simple check here. Not ideal, but a problem for a future issue