-
Notifications
You must be signed in to change notification settings - Fork 1
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 sources in default card #16
base: master
Are you sure you want to change the base?
Conversation
Could you remove the |
...CardProps, | ||
export const DefaultCard = Template.bind({}); | ||
DefaultCard.args = { | ||
content: generateCardLayout['default']({ |
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.
Could you move this block out to a separate file? Namely, the mock data here
@@ -29,11 +26,6 @@ export const Card = ({ | |||
/> | |||
); | |||
|
|||
const renderCaret = () => |
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.
Is there a rationale here for removing the caret
? I think it's useful, especially when the user begins to tack on enough sources forcing the user to scroll past every source when attempting to access a card further below in the stack. This is currently a visual issue with the yemen platform.
This modifies the default card so that it lays out sources inline in the card. It's fairly lo-fi for now, but it should at least return the ability to use sources in the canonical timemap format.
(Note that the markdown and image sources here are due to the local URLs in the example datasheet-server sheet: I'll update those to remote URLs so that the whole ecosystem works better for new users 'out-of-the-box'.)