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 - adding examples, testing react angular #1911

Merged
merged 12 commits into from
Dec 2, 2024

Conversation

patrickoneill-genesis
Copy link
Contributor

ATTENTION! NEW DOCS STRUCTURE
FOR THE NEXT THREE WEEKS, ONLY BRANCH FROM new-docs-structure
OTHERWISE, WAIT UNTIL THE NEW STRUCTURE HAS BEEN RELEASED


Thank you for contributing to the documentation.

Do the changes you have made apply to both Current and Previous versions?

Have you done a trial build to check all new or changed links?

Is there anything else you would like us to know?

This week's exciting advice from the style guide

  • Write your headings in sentence case:

    • A good example
      This is a correct heading.
    • A Bad Example
      This is not a correct heading.

@patrickoneill-genesis patrickoneill-genesis changed the title Pon/chore adding examples Chore - adding examples, testing react angular Nov 21, 2024
Copy link
Contributor

@matteematt matteematt left a comment

Choose a reason for hiding this comment

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

As discussed in the office keep sync in examples for the Genesis, and remove some of the extra examples in slider

@@ -50,16 +50,16 @@ Usage
template: html`
<rapid-checkbox
?disabled="${(x) => x.disabled}"
?checked="${sync((x) => x.isSelected, 'boolean')}"
@change="${(x) => x.checkChanged()}"
@change="${(x, ctx) => x.checkChanged(ctx.event)}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we leave sync in this example please. If you want to show off the event version you can leave that too and comment on the funciton saying it's a choice

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel there are too many examples here, these extra examples would be suited more towards storybook

Copy link
Contributor

@matteematt matteematt left a comment

Choose a reason for hiding this comment

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

Much better after the changes. Just try trim out those extra lines and then we can get this in

Comment on lines 67 to 70

const [switchValue, setSwitchValue] = useState(false);


Copy link
Contributor

Choose a reason for hiding this comment

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

Any

Suggested change
const [switchValue, setSwitchValue] = useState(false);
const [switchValue, setSwitchValue] = useState(false);

Comment on lines 109 to 111

switchValue: boolean;

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
switchValue: boolean;
switchValue: boolean;

# Conflicts:
#	docs/001_develop/03_client-capabilities/007_forms/003_form-inputs/text-field.mdx
#	docs/001_develop/03_client-capabilities/007_forms/004_form-layout/criteria-segmented-control.mdx
# Conflicts:
#	examples/ui/client-capabilities/interaction/text-field.js
@patrickoneill-genesis patrickoneill-genesis merged commit 546d261 into new-doc-structure Dec 2, 2024
@patrickoneill-genesis patrickoneill-genesis deleted the pon/chore-adding-examples branch December 2, 2024 11:43
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