Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to initialize Presentation with custom props #314

Merged
merged 3 commits into from
May 24, 2024

Conversation

saskliutas
Copy link
Member

Added ability to supply custom props to use during Presentation initialization. This is need to allow supplying new unified selection storage to be used by presentation-frontend.

Remove code setting active locale as it is done by default when initializing Presentation: https://github.com/iTwin/itwinjs-core/blob/73187a864fe12a1ca44d38f799bc9a2d79dfa40a/presentation/frontend/src/presentation-frontend/Presentation.ts#L74

@ben-polinsky
Copy link
Contributor

Looks good to me. We'll need to mitigate this audit failure:

ERROR: HIGH Security Vulnerability: Path traversal in webpack-dev-middleware in webpack-dev-middleware (from ..__..__packages__apps__desktop-viewer-test>@bentley/react-scripts>webpack-dev-server>webpack-dev-middleware). See GHSA-wr3j-pwj9-hqq6 for more info.

@aruniverse aruniverse added this pull request to the merge queue May 24, 2024
Merged via the queue into master with commit d0ae151 May 24, 2024
4 checks passed
@aruniverse aruniverse deleted the presentation_props branch May 24, 2024 16:02
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.

3 participants