Spike: Investigate removing bootstrap tabs
GitLab's codebase relies on Bootstrap's tabs in some parts of the application. Those occurrences are defined via a data-toggle="tab"
attribute, or the .nav-tabs
class. Let's migrate those occurrences to use GitLab UI's GlTabs
component and styles.
Integration strategy
To be defined from the work in this issue. We should come up with a standardized way of migrating each occurrence. Potentially we could create a simple handle to mimic the tabs (similar to the alert_handler.js).
Note that in some cases, only Bootstrap's styles are being used and the navigation itself is handled server-side. In those cases the migration strategy might be as simple as applying GitLab UI's styles.
Bootstrap Tabs Docs: https://getbootstrap.com/docs/4.0/components/navs/#javascript-behavior
Path to bootstrap tabs code: node_modules/bootstrap/js/dist/tab.js