-
Notifications
You must be signed in to change notification settings - Fork 262
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
Jon/notification-scene #5339
Jon/notification-scene #5339
Conversation
b13b97e
to
df78405
Compare
712d40b
to
37531b1
Compare
0ed439b
to
2a0ae50
Compare
src/types/types.ts
Outdated
export interface NotifInfo { | ||
/** Timestamp that this notification was detected locally. May accept | ||
* server-side date values in future iterations. */ | ||
dateReceived: Date | ||
|
||
/** Whether the user has dismissed the bottom `NotificationView` banner */ | ||
isBannerHidden: boolean | ||
/** True if user "completed" the requested action. This may be as simple as | ||
* tapping and reading the notification, but may be more complex, such as | ||
* requiring 2FA toggled on. */ | ||
isCompleted: boolean | ||
/** True to pin this notification to the top of the `NotificationCenterScene` | ||
* */ | ||
isPriority: boolean | ||
/** Optional object that holds additional parameters that may be used to | ||
* customize the notification UI. */ | ||
params?: { walletId: string } | ||
} |
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.
Much better! But the whitespace is really weird now.
There are two correct formats:
interface Example {
/** All one line */
something: boolean
/**
* A brief description.
* More details and details and details...
*/
another: boolean
}
This comment formatting tradition dates back to the 90's from the old Sun Java days.
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.
Did it myself
2a0ae50
to
e32ea86
Compare
8c20f34
to
50189c3
Compare
- Rename LocalSettingsActions.tsx - Add various notif state functions - Add a watch mechanism for component renders
50189c3
to
2233c41
Compare
Remaining issues:
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have: