Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .lighthouseci/assertion-results.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"passed": false,
"auditId": "bootup-time",
"level": "warn",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "JavaScript execution time",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/performance/bootup-time/"
},
Expand All @@ -29,7 +29,7 @@
"passed": false,
"auditId": "color-contrast",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Background and foreground colors do not have a sufficient contrast ratio.",
"auditDocumentationLink": "https://dequeuniversity.com/rules/axe/4.8/color-contrast"
},
Expand All @@ -46,7 +46,7 @@
"passed": false,
"auditId": "csp-xss",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Ensure CSP is effective against XSS attacks",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/"
},
Expand All @@ -63,7 +63,7 @@
"passed": false,
"auditId": "dom-size",
"level": "warn",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Avoids an excessive DOM size",
"auditDocumentationLink": "https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations"
},
Expand All @@ -80,7 +80,7 @@
"passed": false,
"auditId": "errors-in-console",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Browser errors were logged to the console",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/"
},
Expand All @@ -97,7 +97,7 @@
"passed": false,
"auditId": "installable-manifest",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Web app manifest or service worker do not meet the installability requirements",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/pwa/installable-manifest/"
},
Expand All @@ -114,8 +114,8 @@
"passed": false,
"auditId": "mainthread-work-breakdown",
"level": "warn",
"url": "http://localhost:36941/scifi-ui/index.html",
"auditTitle": "Minimizes main-thread work",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Minimize main-thread work",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/"
},
{
Expand All @@ -131,7 +131,7 @@
"passed": false,
"auditId": "maskable-icon",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Manifest doesn't have a maskable icon",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/pwa/maskable-icon-audit/"
},
Expand All @@ -148,7 +148,7 @@
"passed": false,
"auditId": "non-composited-animations",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Avoid non-composited animations",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/performance/non-composited-animations/"
},
Expand All @@ -165,7 +165,7 @@
"passed": false,
"auditId": "render-blocking-resources",
"level": "warn",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Eliminate render-blocking resources",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/"
},
Expand All @@ -182,7 +182,7 @@
"passed": false,
"auditId": "splash-screen",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Is not configured for a custom splash screen",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/pwa/splash-screen/"
},
Expand All @@ -199,7 +199,7 @@
"passed": false,
"auditId": "themed-omnibox",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Does not set a theme color for the address bar.",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/pwa/themed-omnibox/"
},
Expand All @@ -216,7 +216,7 @@
"passed": false,
"auditId": "total-byte-weight",
"level": "error",
"url": "http://localhost:36941/scifi-ui/index.html",
"url": "http://localhost:42975/scifi-ui/index.html",
"auditTitle": "Avoids enormous network payloads",
"auditDocumentationLink": "https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/"
}
Expand Down
2,727 changes: 0 additions & 2,727 deletions .lighthouseci/lhr-1778366458037.html

This file was deleted.

8,412 changes: 0 additions & 8,412 deletions .lighthouseci/lhr-1778366458037.json

This file was deleted.

2,727 changes: 0 additions & 2,727 deletions .lighthouseci/lhr-1778366469555.html

This file was deleted.

8,403 changes: 0 additions & 8,403 deletions .lighthouseci/lhr-1778366469555.json

This file was deleted.

2,727 changes: 0 additions & 2,727 deletions .lighthouseci/lhr-1778366480682.html

This file was deleted.

8,403 changes: 0 additions & 8,403 deletions .lighthouseci/lhr-1778366480682.json

This file was deleted.

2,727 changes: 0 additions & 2,727 deletions .lighthouseci/lhr-1778368118126.html

This file was deleted.

8,461 changes: 0 additions & 8,461 deletions .lighthouseci/lhr-1778368118126.json

This file was deleted.

2,727 changes: 0 additions & 2,727 deletions .lighthouseci/lhr-1778368129591.html

This file was deleted.

8,455 changes: 0 additions & 8,455 deletions .lighthouseci/lhr-1778368129591.json

This file was deleted.

2,727 changes: 0 additions & 2,727 deletions .lighthouseci/lhr-1778368140669.html

This file was deleted.

8,385 changes: 0 additions & 8,385 deletions .lighthouseci/lhr-1778368140669.json

This file was deleted.

2,727 changes: 2,727 additions & 0 deletions .lighthouseci/lhr-1783680435858.html

Large diffs are not rendered by default.

8,802 changes: 8,802 additions & 0 deletions .lighthouseci/lhr-1783680435858.json

Large diffs are not rendered by default.

2,727 changes: 2,727 additions & 0 deletions .lighthouseci/lhr-1783680447144.html

Large diffs are not rendered by default.

8,629 changes: 8,629 additions & 0 deletions .lighthouseci/lhr-1783680447144.json

Large diffs are not rendered by default.

2,727 changes: 2,727 additions & 0 deletions .lighthouseci/lhr-1783680457980.html

Large diffs are not rendered by default.

8,617 changes: 8,617 additions & 0 deletions .lighthouseci/lhr-1783680457980.json

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions docs/scifi-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,24 @@ npx http-server docs -p 8000
# Then visit: http://localhost:8000/scifi-ui/
```

## 🔐 Payment Confirmation Endpoint

The checkout includes a Hungarian transfer confirmation form for manual QR / bank transfers.

- The static site should contain only a **public form endpoint URL**.
- Configure that URL in `/home/runner/work/FormatX/FormatX/docs/scifi-ui/index.html` with the `formatx-payment-confirmation-endpoint` meta tag, or inject the same public URL during deployment.
- Keep the **recipient email address private** in the Formspree dashboard or in server-side environment variables.
- Do **not** commit recipient emails, API keys, webhook secrets, or other credentials to the repository.
- With the default empty configuration the form stays disabled and clearly tells buyers that delivery is not connected yet.

Example public endpoint:

```html
<meta name="formatx-payment-confirmation-endpoint" content="https://formspree.io/f/your-public-form-id">
```

If you use your own serverless endpoint, accept a JSON `POST` from the static page and forward/store the notification server-side, where the private recipient address is configured.

## ♿ Accessibility

### Features
Expand Down Expand Up @@ -251,6 +269,13 @@ All designs are inspired aesthetics created from scratch.
- [ ] Verify layout adapts correctly
- [ ] Check touch interactions work

6. **Payment Confirmation Form**
- [ ] Select the transfer payment method and verify the summary shows the generated order reference and HUF amount
- [ ] Check that the confirmation form is keyboard-usable and prefilled with plan, cycle, currency, and amount
- [ ] Confirm the default disabled state shows the honest Hungarian “not connected yet” message
- [ ] Re-test with `?theme=holo` to ensure readable styling and focus states
- [ ] If a public endpoint is configured locally, verify the request goes only to that public URL and that no recipient email appears in page source or client-side config

### Automated Testing

```bash
Expand Down
Loading
Loading