Skip to content

Conversation

@ls-urs-keller
Copy link

@ls-urs-keller ls-urs-keller commented Oct 26, 2025

JIRA Ticket: LSPAY-33449

Description

Adding React18 typings

How to test?

  • Checkout branch, run yarn dev
  • Open Storybook
  • Or check the deploy preview on Netlify (link available in comments)

Checklist

@ls-urs-keller ls-urs-keller force-pushed the LSPAY-33449 branch 15 times, most recently from 2312531 to e723c51 Compare October 27, 2025 07:52
- Typings,
- Updating gh actions, depracated actions/cache@v1
- Allow prerelease on branch LSPAY-33449
@ls-urs-keller ls-urs-keller force-pushed the LSPAY-33449 branch 11 times, most recently from b9d67ce to 8f2da7f Compare October 29, 2025 08:15
 - @lightspeed/[email protected]
 - @lightspeed/[email protected]
@ls-urs-keller ls-urs-keller marked this pull request as ready for review November 4, 2025 11:02
@ls-urs-keller ls-urs-keller requested a review from a team as a code owner November 4, 2025 11:02
Copy link

@nwallace534 nwallace534 left a comment

Choose a reason for hiding this comment

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

Understand this has been in use already. I skim reviewed and added a few questions but no blockers found and all code has been glanced at.

Sure glad I don't use snapshot testing anymore, it doesn't add anything but lines to review in PRs.

// TODO: use prettier.resolveConfigFile instead...
prettierConfig.parser = 'babel';

// Function to sanitize SVG attributes for JSX compatibility

Choose a reason for hiding this comment

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

Discussed via slack. AI generated script to fill in for lib no longer compatible.

import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { withReadme } from 'storybook-readme';
import Readme from './README.md';

Choose a reason for hiding this comment

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

Is this local README.md still in the repo or referenced elsewhere? If not I'd recommend removing

import { Tooltip, TooltipPlacement } from './Tooltip';
import { Input } from '../Input';
import { ExampleBox } from '../../../../.storybook/components/ExampleBox';
import Readme from './README.md';

Choose a reason for hiding this comment

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

Mentioned elsewhere, does this README still get uesd?

"@styled-system/theme-get": "5.0.16",
"styled-system": "^5.0.16"
},
"peerDependencies": {

Choose a reason for hiding this comment

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

Not a comment on your PR but I do wonder why there is a handlebars file with a package.json like what could it possibly be adding to a project.

"command": {
"publish": {
"allowBranch": ["master", "next"],
"allowBranch": ["master", "next", "LSPAY-33449"],

Choose a reason for hiding this comment

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

will this hardcoded branch be removed soon?

"prop-types": "^15.6.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react": "^18.3.1",

Choose a reason for hiding this comment

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

The reason for the whole PR!

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