Skip to content
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

Merged
merged 7 commits into from
Jan 29, 2025
Merged

Jon/notification-scene #5339

merged 7 commits into from
Jan 29, 2025

Conversation

Jon-edge
Copy link
Collaborator

@Jon-edge Jon-edge commented Nov 1, 2024

Remaining issues:

  • Flickering when dismissing notification center cards
image image image image

image

image

image

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

@Jon-edge Jon-edge force-pushed the jon/notification-scene branch 2 times, most recently from b13b97e to df78405 Compare November 4, 2024 18:16
@Jon-edge Jon-edge force-pushed the jon/notification-scene branch 13 times, most recently from 712d40b to 37531b1 Compare January 22, 2025 06:40
src/actions/LocalSettingsActions.tsx Outdated Show resolved Hide resolved
src/actions/LocalSettingsActions.tsx Outdated Show resolved Hide resolved
src/types/types.ts Outdated Show resolved Hide resolved
src/types/types.ts Outdated Show resolved Hide resolved
src/components/services/Services.tsx Outdated Show resolved Hide resolved
src/components/icons/IconBadge.tsx Outdated Show resolved Hide resolved
@Jon-edge Jon-edge force-pushed the jon/notification-scene branch 6 times, most recently from 0ed439b to 2a0ae50 Compare January 25, 2025 02:10
Comment on lines 132 to 159
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 }
}
Copy link
Contributor

@swansontec swansontec Jan 27, 2025

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did it myself

src/components/scenes/NotificationCenterScene.tsx Outdated Show resolved Hide resolved
src/components/themed/SideMenu.tsx Outdated Show resolved Hide resolved
src/components/scenes/NotificationCenterScene.tsx Outdated Show resolved Hide resolved
src/actions/LocalSettingsActions.ts Outdated Show resolved Hide resolved
@Jon-edge Jon-edge force-pushed the jon/notification-scene branch from 2a0ae50 to e32ea86 Compare January 28, 2025 03:07
@Jon-edge Jon-edge force-pushed the jon/notification-scene branch from 8c20f34 to 50189c3 Compare January 29, 2025 04:19
@Jon-edge Jon-edge force-pushed the jon/notification-scene branch from 50189c3 to 2233c41 Compare January 29, 2025 07:13
@Jon-edge Jon-edge merged commit 65c18a1 into develop Jan 29, 2025
1 of 2 checks passed
@Jon-edge Jon-edge deleted the jon/notification-scene branch January 29, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants