-
Notifications
You must be signed in to change notification settings - Fork 36
DOP-5509: offline composable tutorials #1474
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
Conversation
✅ Deploy Preview for docs-frontend-stg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🔄 Deploy Preview for docs-frontend-stg processing
|
src/components/Select.tsx
Outdated
return ( | ||
<div className={cx(offlineMenuStyling, 'offline-select-menu')}> | ||
<div | ||
className={cx(offlineMenuStyling, className ? className : 'offline-select-menu')} |
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.
nit: Could use nullish coalescer className ?? 'offline-select-menu'
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.
(Also nit) Alternatively, I don't think they need to be mutually exclusive, but this might depend on use case.
className={cx(offlineMenuStyling, 'offline-select-menu', className)}
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.
done! great callouts
src/components/Select.tsx
Outdated
return ( | ||
<div className={cx(offlineMenuStyling, 'offline-select-menu')}> | ||
<div | ||
className={cx(offlineMenuStyling, className ? className : 'offline-select-menu')} |
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.
(Also nit) Alternatively, I don't think they need to be mutually exclusive, but this might depend on use case.
className={cx(offlineMenuStyling, 'offline-select-menu', className)}
the staging links above have been updated with the latest commits! thank you for the great comments! PTAL |
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.
Thank you!! Changes look great.
Stories/Links:
DOP-5509
Staging Links:
Offline doc is uploaded to S3 here. Download the file and open the page for an example of a composable tutorial that works offline
Staging link with env var
OFFLINE_DOCS=false
for regression checks for online docsNotes:
README updates