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

feat: ✨ better storybook stories for the notification pages #27861

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

matteoscurati
Copy link
Contributor

Description

This pull request enhances the Storybook stories for the notification pages. The improvements aim to provide better clarity and usability for developers working with notification components. The changes include more detailed and organized stories, making it easier to understand and test different notification states and components.

Related issues

N/A

Manual testing steps

  1. Open Storybook in your development environment
  2. Navigate to the notification pages section
  3. Review the updated stories for clarity and completeness
  4. Verify that all notification states are represented and functioning as expected

Screenshots/Recordings

Before

N/A

After

N/A

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@matteoscurati matteoscurati added the team-notifications Notifications team label Oct 15, 2024
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

import { NotificationDetailsFooter } from './notification-details-footer/notification-details-footer';

type Notification = NotificationServicesController.Types.INotification;
const { processNotification } = NotificationServicesController.Processors;
Copy link
Contributor

Choose a reason for hiding this comment

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

I kind of want us to use the new subpath exports.

In future I want us to deprecate imports like this (since they are expensive)

@metamaskbot
Copy link
Collaborator

Builds ready [cf66689]
Page Load Metrics (1909 ± 109 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint35025111827406195
domContentLoaded159324981878226109
load159725141909227109
domInteractive16184573718
backgroundConnect883332613
firstReactRender46210884321
getState56014167
initialActions01000
loadScripts116820501432219105
setupStore1272372512
uiStartup180027112135232112
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 37 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

sonarcloud bot commented Oct 16, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [2322c20]
Page Load Metrics (1795 ± 141 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint28329841714440211
domContentLoaded151529231770287138
load151929561795294141
domInteractive27162482814
backgroundConnect889292211
firstReactRender453061025326
getState47414189
initialActions01000
loadScripts108325431309300144
setupStore1190292613
uiStartup173931872022324156
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 37 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [36288c3]
Page Load Metrics (1948 ± 98 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint16532377193616378
domContentLoaded16042084187713766
load16532622194820398
domInteractive1995532412
backgroundConnect94947110751
firstReactRender494171329144
getState5225305125
initialActions00000
loadScripts11691600140411555
setupStore11304526531
uiStartup179744232298565271
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 37 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [7f9b8c6]
Page Load Metrics (1990 ± 97 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint34224221813502241
domContentLoaded16742386194819594
load16822402199020297
domInteractive279547199
backgroundConnect10118453215
firstReactRender6413695168
getState484272512
initialActions01000
loadScripts12031880144416680
setupStore1088332211
uiStartup187830952225285137
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 37 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-notifications Notifications team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants