-
Notifications
You must be signed in to change notification settings - Fork 2
[CI-4303] Update Code Example - CioPlp #149
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
[CI-4303] Update Code Example - CioPlp #149
Conversation
mocca102
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I liked when you added instructions for how to view the example and see the component in action in CioPlp? Can we do something similar here? Maybe an example with search or browse @evanyan13
To view the examples and see this component in action, append your URL with /group_id/1035, as this corresponds to a Browse Page.
mocca102
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Mudaafi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove types from the code examples. It's best if it works OOTB in a js env. We already have the type definition in the earlier table, but we can also include it in the individual code examples descriptions. E.g.
> #### `getUrl`
- Default Implementation
- setUrl -> (newEncodedUrlState: string) => void
```javascript
....
Mudaafi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for making the changes
CioPlpcomponent