Skip to content

GDB-14684 install and configure bootstrap#2986

Open
svilenvelikov wants to merge 1 commit into
masterfrom
GDB-14684-install-and-configure-boostrap
Open

GDB-14684 install and configure bootstrap#2986
svilenvelikov wants to merge 1 commit into
masterfrom
GDB-14684-install-and-configure-boostrap

Conversation

@svilenvelikov
Copy link
Copy Markdown
Collaborator

@svilenvelikov svilenvelikov commented Jun 1, 2026

What

Install and configure bootstrap in the new workbench Angular app.

Why

Primeng components that we use in the new workbench are styled by our styleguide, but outside of them, on a page level we usually need to apply some additional styles. To style the new workbench application consistently we need some utility css classes and helpers for easy creating layouts, grids, controlling spacing, etc. That's why we introduce the bootstrap library and scope it to work in the new angular app only.

How

  • Added bootstrap dependency in packages/workbench.
  • Imported selected Bootstrap SCSS partials in packages/workbench/src/styles.scss under app-root scope.
  • Resolved merge conflicts with latest master updates in styles.scss and kept both:
    • Bootstrap scoped imports
    • @use "styles/primeng-overrides";

Testing

  • Reproduced and resolved merge conflicts locally by merging latest master and latest remote PR branch.
  • Ran targeted checks/build in packages/workbench to validate the merged stylesheet changes.

Screenshots

Checklist

  • Branch name
  • Target branch
  • Commit messages
  • Squash commits
  • MR name
  • MR Description
  • Tests
  • Browser support verified

Copilot AI review requested due to automatic review settings June 1, 2026 15:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Installs Bootstrap in the packages/workbench Angular app and wires selected Bootstrap SCSS partials into the app’s global stylesheet, with an attempt to scope the generated CSS under <app-root> so it doesn’t affect other microfrontends/apps.

Changes:

  • Add bootstrap as a dependency of the workbench package.
  • Import Bootstrap SCSS partials in src/styles.scss (functions/variables/mixins + utilities/grid/helpers), scoped under app-root.
  • Update package-lock.json to reflect the new Bootstrap dependency (and its peer resolution).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/workbench/src/styles.scss Adds scoped Bootstrap SCSS imports under app-root to provide utility/grid/layout classes in the new workbench app.
packages/workbench/package.json Adds Bootstrap as a dependency for the workbench app.
packages/workbench/package-lock.json Locks Bootstrap and related dependency metadata.
Files not reviewed (1)
  • packages/workbench/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/workbench/src/styles.scss
Comment thread packages/workbench/src/styles.scss
Comment thread packages/workbench/src/styles.scss
@svilenvelikov
Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

Comment thread packages/workbench/src/styles.scss Outdated
Copy link
Copy Markdown

Copilot AI commented Jun 2, 2026

@copilot resolve the merge conflicts in this pull request

Done — I resolved the merge conflicts in this PR branch. The resolving commit is 483a8b69a.

Primeng components that we use in the new workbench are styled by our styleguide, but outside of them, on a page level we usually need to apply some additional styles.
To style the new workbench application consistently we need some utility css classes and helpers for easy creating layouts, grids, controlling spacing, etc. That's why we introduce the bootstrap library and scope it to work in the new angular app only.

Configure sass-loader to silence deprecation warnings in webpack config

Update webpack configuration to support Bootstrap 5.3.8 and enhance sass-loader options
@svilenvelikov svilenvelikov force-pushed the GDB-14684-install-and-configure-boostrap branch from 483a8b6 to 0fa9c23 Compare June 3, 2026 11:00
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 3, 2026

Quality Gate Passed Quality Gate passed for 'Shared-components'

Issues
0 New issues
2 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants