Skip to content

feat: create OTP sign-in scenario preset#307

Open
AbuJulaybeeb wants to merge 5 commits into
Stellar-Mail:mainfrom
AbuJulaybeeb:issue-211-otp-preset
Open

feat: create OTP sign-in scenario preset#307
AbuJulaybeeb wants to merge 5 commits into
Stellar-Mail:mainfrom
AbuJulaybeeb:issue-211-otp-preset

Conversation

@AbuJulaybeeb

Copy link
Copy Markdown
Contributor

What was done
Added OTPType and OTPFixture types to src/features/demo-admin-dashboard/types/otp.ts.
Created deterministic OTP and passkey demo presets in src/features/demo-admin-dashboard/fixtures/otpFixtures.ts.
Updated DashboardSection locally inside types.ts to include the new otp section.
Updated DemoAdminDashboard.tsx to include a new tab that displays the sender labels, safe codes, and message types (SMS, Email, Passkey) derived from the fixtures.
Why it was done
This fulfills part of the Demo Admin Dashboard initiative (Issue 46 of 70). It allows maintainers to easily populate demo UI fixtures involving OTP and passkeys without connecting to live data or altering existing infrastructure.

How it was verified
Verified that all changes were strictly scoped within the src/features/demo-admin-dashboard/ folder.
Verified that data is exclusively fake, deterministic, and safe for a public repository.
Reviewed that no files outside the target directory (e.g., protocol or inbox handlers) were touched.
Closes #211

@kryputh

kryputh commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Fix conflict

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.

Create OTP sign-in scenario preset

2 participants