Skip to content

Commit 2c7f1a6

Browse files
docs(pay-card): align DevTool README with PayCardToolProps
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 11ecfe8 commit 2c7f1a6

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

devtools/pay-card/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# @devtools/pay-card
22

3-
The Card / Pay DevTool. It puts the Card / Pay feature into a given state from one place, in five
4-
sections: **Feature flags**, **Onboarding** (toggle each step done or not-done), **Reset onboarding**,
5-
**Feature tour** (seen state plus a reset) and **Env vars** (the Card backend values, with the
6-
development tenant ready in each input).
3+
The Card / Pay DevTool. It puts the Card / Pay feature into a given state from one place.
74

8-
The native panel adds a **Secure browser** section at the bottom: a URL field and one button, which
9-
opens that URL in the secure browser the hosted login uses. The host supplies the action, so a host
10-
without such a browser shows no section.
5+
The shared panel has five sections: **Feature flags**, **Onboarding** (toggle each step done or
6+
not-done), **Reset onboarding**, **Feature tour** (seen state plus a reset) and **Env vars** (the
7+
Card backend values, with the development tenant ready in each input).
118

12-
The native panel adds four more sections at the top, when the host builds the `auth` prop:
9+
The native panel adds **Request verify hint** (seen state plus a reset) and, when the host supplies
10+
navigation, **Quick actions** (Portfolio / Pay tab). It also adds a **Secure browser** section: a
11+
URL field and one button, which opens that URL in the secure browser the hosted login uses. The
12+
host supplies the action, so a host without such a browser shows no section.
13+
14+
When the host builds the `auth` prop, the native panel adds four more sections at the top:
1315
**Auth session** (the stored tokens, or why the secure store refused a read), **Device secure
1416
storage** (read the tokens, damage one, or clear the session), **Send API requests** (renew the
1517
session, or get the user) and **MSW Auth Renewal Mock** (what the mocked
@@ -56,6 +58,10 @@ interface PayCardToolProps {
5658
};
5759
hasSeenFeatureTour: boolean;
5860
resetPayCardFeatureTourSeen: () => void;
61+
hasSeenReceiveVerifyHint: boolean;
62+
resetReceiveVerifyHintSeen: () => void;
63+
onNavigateToPortfolio?: () => void;
64+
onNavigateToPayTab?: () => void;
5965
env: {
6066
// The app reads these values on every request, so `setVar` applies without a restart. Nothing
6167
// saves them: after a restart the app reads the build's values again.

0 commit comments

Comments
 (0)