Skip to content

style(settings): align checkbox with org name#76685

Merged
michellewzhang merged 3 commits into
masterfrom
mz/align-check
Aug 28, 2024
Merged

style(settings): align checkbox with org name#76685
michellewzhang merged 3 commits into
masterfrom
mz/align-check

Conversation

@michellewzhang

@michellewzhang michellewzhang commented Aug 28, 2024

Copy link
Copy Markdown
Contributor

before
SCR-20240828-kbvc

Screen.Recording.2024-08-28.at.11.26.44.AM.mov

after

Screen.Recording.2024-08-28.at.11.26.01.AM.mov

@michellewzhang michellewzhang requested a review from a team August 28, 2024 18:05
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 28, 2024

@evanpurkhiser evanpurkhiser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we have a more appropriate component we can use here even?

@michellewzhang

Copy link
Copy Markdown
Contributor Author

Do we have a more appropriate component we can use here even?

hm we might be able to use the Checkbox component, let me look into it

@codecov

codecov Bot commented Aug 28, 2024

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
7703 1 7702 0
View the top 1 failed tests by shortest run time
AccountClose lists all orgs user is an owner of AccountClose lists all orgs user is an owner of
Stack Traces | 1.03s run time
Error: Unable to find role="checkbox" and name "solo-owner"

Ignored nodes: comments, script, style
...
    at waitForWrapper (.../sentry/sentry/node_modules/@.../dom/dist/wait-for.js:163:27)
    at .../sentry/sentry/node_modules/@.../dom/dist/query-helpers.js:86:33
    at Object.<anonymous> (.../settings/account/accountClose.spec.tsx:39:59)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

onChange={evt => handleChange(organization, singleOwner, evt)}
size="sm"
/>
{organization.slug}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i think this would mean that you can no longer click on the org slug to check the box? Wrapping in a label element might fix this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

ah good catch, just fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants