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 Selector Language cheat sheet #1392

Merged
merged 4 commits into from
Oct 26, 2022
Merged

Add Selector Language cheat sheet #1392

merged 4 commits into from
Oct 26, 2022

Conversation

jorgeepc
Copy link
Contributor

@jorgeepc jorgeepc commented Oct 17, 2022

This PR adds the Selector Language cheat sheet to the Create Test Spec form.

Changes

  • Add the Selector Language cheat sheet

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Screenshot

2022-10-24 10 18 40

@jorgeepc jorgeepc self-assigned this Oct 17, 2022
@jorgeepc jorgeepc marked this pull request as ready for review October 24, 2022 15:22
Copy link
Collaborator

@xoscar xoscar left a comment

Choose a reason for hiding this comment

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

GJ @jorgeepc!

@@ -112,7 +122,7 @@ export const ExpectedInputContainer = styled.div`
outline: 1px solid grey;
height: 32px;
font-family: SFPro, serif;
outline: 1px solid #CDD1DB;
outline: 1px solid #cdd1db;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be coming from the theme?

<S.FormSectionHeaderSelector>
<S.FormSectionRow1>
<S.FormSectionTitle $noMargin>1. Select Spans</S.FormSectionTitle>
<Tag color="blue">{`${spanIdList.length} ${singularOrPlural('span', spanIdList.length)} selected`}</Tag>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I really like that small singularOrPlural function lol

@jorgeepc jorgeepc merged commit 278f33d into main Oct 26, 2022
@jorgeepc jorgeepc deleted the 1382-add-sl-cheat-sheet branch October 26, 2022 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create selector language cheat sheet
2 participants