Add storefront features: admin dashboard, warranty calculator, build configurator, serverless APIs, assets, and E2E tests#5
Merged
vctb12 merged 2 commits intoMar 2, 2026
Conversation
❌ Deploy Preview for akastore failed.
|
…ctionality-n6avph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
build.html,changelog.html,health.html,payment-demo.html, extended blog/AR pages, and upgradedindex.html,products.html,checkout.html,admin.html,warranty.html,contact.html, and other templates to use shared partials (partials/header.html,partials/footer.html) and richer metadata/SEO tags.createOrder,adminLogin(rate limiting + safer responses),ordersList,createPaymentIntent,markOrderPaid,notifyCapture,chat(OpenAI optional demo fallback), and_utils.jshelper changes.products.jsonwith warranty/meta fields and added many SVG assets underassets/products/, placeholder/image improvements,warrantyRules.jsonandbuildRules.jsonfor calculators.js/libandjs/pages(api.js,dom.js,format.js,rules.js,security.js,logger.js,chat.js,warranty.js) plus enhancements inscript.js(partial loader, error UI, chat init, utilities).createPaymentIntentandpayment-demo.html, plus invoice rendering and server-side order validation, Supabase save and optional email via Resend.package.json,playwright.config.ts, e2e tests intests/e2e, asset/link validation scripts (scripts/validate-assets.mjs,scripts/audit-links.mjs),netlify.tomlredirects,sitemap.xml, androbots.txt.Testing
node scripts/validate-assets.mjsandnode scripts/audit-links.mjs, which completed successfully (no broken local assets/links reported).npm run test:e2e(driven byplaywright.config.ts) and the tests passed, validating core routes, chat demo, warranty calculator, product notify/add flows, admin dashboard, build page and demo payment lifecycle.python -m http.server 4173to exercise the e2ewebServertarget and manual smoke checks.package.jsonto reproduce the above automated checks (validate-assets,audit-links,test:e2e).Codex Task