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

chore(content-explorer): Migrate shareDialog #3735

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

greg-in-a-box
Copy link
Contributor

@greg-in-a-box greg-in-a-box commented Nov 5, 2024

before:
image

after:
image

@greg-in-a-box greg-in-a-box marked this pull request as ready for review November 5, 2024 02:04
@greg-in-a-box greg-in-a-box requested a review from a team as a code owner November 5, 2024 02:04
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need the flow files for the internal components of ContentExplorer? shouldn't the flow only be needed for the outer component that consumers use?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do you think we should leave it out? its only there because i ran the codemod on it

type="text"
value={url}
/>
<Button autoFocus className="be-modal-button-copy" onClick={copy} variant="primary">
Copy link
Contributor

Choose a reason for hiding this comment

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

does button have autoFocus prop?

tsconfig.json Outdated
@@ -15,5 +15,6 @@
"strict": false
},
"files": [".storybook/typings.d.ts"],
"include": ["src/**/*.ts", "src/**/*.tsx", "examples/src/**.tsx", "types.ts", "scripts/jest/jest-setup.ts"]
"include": ["src/**/*.ts", "src/**/*.tsx", "examples/src/**.tsx", "types.ts", "scripts/jest/jest-setup.ts"],
"exclude": ["src/**/*.stories.ts", "src/**/*.stories.tsx"]
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we want to exclude stories?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it dawned on me that components and elements in stories do not need all the required props to demonstrate specific functions.

>
<div className="be-modal-content">
<Text as="label">
<FormattedMessage tagName="div" {...messages.shareDialogText} />
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need tagName still? i assume it was originally added for some block level style but i'm not sure if it's necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

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

going to remove this that should be there

@greg-in-a-box greg-in-a-box force-pushed the sharedialog branch 5 times, most recently from 89360b1 to 54392aa Compare November 12, 2024 02:22
@greg-in-a-box greg-in-a-box requested a review from a team as a code owner November 12, 2024 02:22
@greg-in-a-box greg-in-a-box force-pushed the sharedialog branch 2 times, most recently from 1728cfc to b8c0428 Compare November 12, 2024 02:32
@greg-in-a-box greg-in-a-box merged commit c76176e into box:master Nov 12, 2024
4 checks passed
@greg-in-a-box greg-in-a-box deleted the sharedialog branch November 12, 2024 19:29
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