Skip to content

Feature/upgrade storybook#155

Merged
abi-muller merged 7 commits into
release/web-securityfrom
feature/upgrade_storybook
Feb 5, 2026
Merged

Feature/upgrade storybook#155
abi-muller merged 7 commits into
release/web-securityfrom
feature/upgrade_storybook

Conversation

@abi-muller

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread frontend/src/pages/_document.tsx Outdated
<Head>
<meta name="emotion-insertion-point" content="" />
<meta name="theme-color" content={theme.palette.primary.main} />
<meta name="emotion-insertion-point" content="" />

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.

is there a reason this is a duplicated meta tag?

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.

good spot thank you!

data-emotion={`${style.key} ${style.ids.join(' ')}`}
key={style.key}
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: style.css }}

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.

presume we're ok with this risk? We're opening ourselves to XSS attacks here

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.

think this is ok because the css is generated from our style components not user input

)
]

export const initialGlobals = {

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.

does this get used?

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.

@abi-muller
abi-muller changed the base branch from feature/review_python_and_npm_dependencies to release/web-security February 5, 2026 13:28
@MotwaniM
MotwaniM self-requested a review February 5, 2026 13:29
@abi-muller
abi-muller merged commit 7898faf into release/web-security Feb 5, 2026
2 of 3 checks passed
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.

2 participants