Skip to content

IS-10950 reading listing template from env-var, previever script impr.#57

Open
markoweb wants to merge 75 commits intomainfrom
IS-10950-previewer-listing
Open

IS-10950 reading listing template from env-var, previever script impr.#57
markoweb wants to merge 75 commits intomainfrom
IS-10950-previewer-listing

Conversation

@markoweb
Copy link
Copy Markdown
Contributor

This PR is allowing to change the listing template by setting the LISTING_TEMPLATE env var.

…ace delete button with descriptive text when those lists contain only one item and MFA is using respective authentication methods
Copy link
Copy Markdown

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

Enables selecting the Identity Server preview “listing template” via the LISTING_TEMPLATE environment variable.

Changes:

  • Update previewer.js to append -l <LISTING_TEMPLATE> to the Java process args when the env var is set.
  • Replace string throws with Error instances for required argument validation.
  • Align package-lock.json workspaces with the current repo layout (removes non-existent src/login-web-app entry).

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/identity-server/previewer.js Adds env-var-driven listing template argument and improves error throwing style.
package-lock.json Updates workspace list to match the repository’s existing workspaces.

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


if (process.env.LISTING_TEMPLATE) {
procArgs.push('-l');
procArgs.push(process.env.LISTING_TEMPLATE)
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Avoid automated semicolon insertion (92% of all statements in the enclosing function have an explicit semicolon).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

procArgs.push(optionsOrArgv['additional-static-root'])
}

if (process.env.LISTING_TEMPLATE) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not familiar with this script, but would it make sense to pass this via optionsOrArgv, as with other things above?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That would require to change all npm scripts to allow setting this param and because it's intended just for an internal use I think the env. var. is better approach here.

Copy link
Copy Markdown

Copilot AI commented Jan 28, 2026

@markoweb I've opened a new pull request, #59, to work on those changes. Once the pull request is ready, I'll request review from you.

vahag-curity and others added 21 commits February 10, 2026 09:58
…ing-last-mfa-used-device

[IS-10866] removing device may lockout the user
- react-router ^7.9.4 → ^7.13.1 (fixes CSRF, XSS, open redirect CVEs)
- vite ^7.1.12 → ^7.3.1 (fixes rollup path traversal CVE)
- cypress ^15.5.0 → ^15.11.0 (fixes systeminformation command injection CVEs)
- npm audit fix for transitive deps (qs, lodash, immutable via relay-compiler)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…emes-to-be-watched

IS-10358 Allow custom themes to be watched
…endencies-due-to-vulnerabilities

IS-11041: Update SSP dependencies to fix npm audit vulnerabilities
…t-after-urls-ready

IS-10358 Fix toast not going away after dev urls are ready
…ector-for-submit-buttons-without-proper-variants

IS-11076 Simplify submit button CSS selector and fix outline button c…
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.22.5 to 7.28.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.6/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.28.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot bot and others added 29 commits March 16, 2026 15:28
Bumps [mdast-util-to-hast](https://github.com/syntax-tree/mdast-util-to-hast) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/syntax-tree/mdast-util-to-hast/releases)
- [Commits](syntax-tree/mdast-util-to-hast@13.2.0...13.2.1)

---
updated-dependencies:
- dependency-name: mdast-util-to-hast
  dependency-version: 13.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [diff](https://github.com/kpdecker/jsdiff) from 5.2.0 to 5.2.2.
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](kpdecker/jsdiff@v5.2.0...v5.2.2)

---
updated-dependencies:
- dependency-name: diff
  dependency-version: 5.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [h3](https://github.com/h3js/h3) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/h3js/h3/releases)
- [Changelog](https://github.com/h3js/h3/blob/v1.15.6/CHANGELOG.md)
- [Commits](h3js/h3@v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: h3
  dependency-version: 1.15.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…on/css/docs/h3-1.15.6

Bump h3 from 1.15.4 to 1.15.6 in /src/common/css/docs
…on/css/docs/mdast-util-to-hast-13.2.1

Bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /src/common/css/docs
…on/css/docs/diff-5.2.2

Bump diff from 5.2.0 to 5.2.2 in /src/common/css/docs
Bumps [svgo](https://github.com/svg/svgo) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](svg/svgo@v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: svgo
  dependency-version: 4.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…on/css/docs/svgo-4.0.1

Bump svgo from 4.0.0 to 4.0.1 in /src/common/css/docs
…dix-ui-react-dialog

replace unmaintained @reach/dialog with @radix-ui/react-dialog
* Factorize BankID authenticator polling logic Version 2 in shared fragments
* Use polling logic Version 2 in BankID signing authenticator, based on a feature flag (bankidConsentorLaunchVersion2). Old polling logic remains the default one.
…e that we should install dependencies from monorepo root
…entor-update-polling-logic

IS-10603 Use updated polling logic for BankID signing consentor.
fix npm audit issues for all ui-kit projects
…e that we should install dependencies from monorepo root
# Conflicts:
#	package-lock.json
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…and-image

IS-10358 Update README hero image to support dark mode
…vel-watch-mode-for-component-library

IS-10358 Update component-library use watch mode from root level npm start
Co-authored-by: markoweb <2862929+markoweb@users.noreply.github.com>
Co-authored-by: markoweb <2862929+markoweb@users.noreply.github.com>
@markoweb markoweb force-pushed the IS-10950-previewer-listing branch from 396902f to e6f841c Compare March 23, 2026 11:55
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.