-
Notifications
You must be signed in to change notification settings - Fork 2
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
In-app messaging for product updates #1364
Conversation
# Conflicts: # package-lock.json # package.json
# Conflicts: # packages/components/package-lock.json # packages/components/package.json
# Conflicts: # packages/components/package-lock.json # packages/components/package.json
# Conflicts: # packages/components/package-lock.json # packages/components/package.json
# Conflicts: # packages/components/package-lock.json # packages/components/package.json # packages/components/releaseNotes/components.md
export const ReleaseNoteImpl: FC<WithRouterProps> = props => { | ||
const { location } = props; | ||
const { releaseNoteLink, name } = getPrimaryAppProperties(); | ||
const { versionString } = getServerContext(); |
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.
useServerContext
?
|
||
useEffect(() => { | ||
localStorage.setItem(releaseNoteDismissKey, JSON.stringify(releaseNoteDismissed)); | ||
}, [releaseNoteDismissed]); |
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.
Missing dependency on releaseNoteDismissKey
?
export const DISMISSED_STORAGE_PREFIX = '__release_notes_dismissed__'; | ||
|
||
export const ReleaseNoteImpl: FC<WithRouterProps> = props => { | ||
const { location } = props; |
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.
This will need to get changed for the react-router refactor, right @labkey-alan?
# Conflicts: # packages/components/package-lock.json # packages/components/package.json # packages/components/releaseNotes/components.md # packages/components/src/theme/notification.scss
# Conflicts: # packages/components/package-lock.json # packages/components/package.json # packages/components/releaseNotes/components.md # packages/components/src/theme/notification.scss
# Conflicts: # package-lock.json # package.json
Rationale
Feature to display in-product messaging to communicate feature updates to users.
Related Pull Requests
Changes
ReleaseNote
component