Add Try tab with a page for trial launch on Virtuozzo Cloud#9
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughAdds a new ChangesTry Page Addition
Sequence Diagram(s)sequenceDiagram
participant User
participant TrialForm
participant buildTrialUrl
participant VirtauzzoAPI
User->>TrialForm: enter email and submit
TrialForm->>TrialForm: validate email format
alt invalid email
TrialForm-->>User: show validation error status
else valid email
TrialForm->>buildTrialUrl: pass email
buildTrialUrl-->>TrialForm: URL with email, appid, jps, group, referrer params
TrialForm->>VirtauzzoAPI: GET constructed trial URL
VirtauzzoAPI-->>TrialForm: response body text
TrialForm->>TrialForm: attempt JSON parse, check result.result / result.error
alt success
TrialForm-->>User: display success message
else failure
TrialForm-->>User: display composed error message
end
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment is ready: https://constructorfabric.github.io/website-previews/pr-9/ This preview is built from the latest commit on this PR. It is regenerated automatically on every push. Old previews are cleaned up after 30 days. |
What changed
Pages to review
index.htmlfoundation.htmlelements.htmllearn.htmlparticipate.htmlprivacy-policy.html404.htmlstyles.csspartials.jsxassets/Preview
A preview URL will be posted automatically by GitHub Actions after CI succeeds. The format is:
If you do not see a preview URL on this PR within a few minutes of pushing, see docs/pr-preview-process.md for troubleshooting.
Screenshots
Required for visual changes. Optional for text-only changes.
Desktop:
Mobile:
Checklist
python3 -m http.server)Summary by CodeRabbit