|
|
@@ -177,6 +177,8 @@ Changing from Claude to another AI model (or back) must be a settings change, no
|
|
177
|
177
|
### How chat commands work (added in Step 8)
|
|
178
|
178
|
|
|
179
|
179
|
- The same "Ask the AI" box in the Design tab handles design changes and store changes. Each message counts as one AI edit.
|
|
|
180
|
+- **"Ask the AI" is a floating button (changed 2026-11-25):** a round button stays at the bottom right of the Design tab (`design-chat.tsx`). Clicking it opens a chat panel above it (400 wide; full width on phones) that does not cover the whole page, so the preview can be watched while the AI works. Newest message at the bottom, Enter sends, Shift + Enter for a new line, Escape closes. The button shows "AI is working…" while a request runs and a yellow dot when a change waits for the merchant's OK. Toasts move up on that page so they do not cover the button.
|
|
|
181
|
+- **Select to edit (added 2026-11-25):** a "Select to edit" button above the preview (also a link inside Ask the AI). The merchant clicks one thing (heading, text, photo, button) or drags a box over an area; a green outline with a tag ("Hero › Heading") shows what will be picked. The section is recognised from the page itself (`data-section` and `data-section-type` on each band; header and footer by tag), so it is instant, exact and free; no picture is sent to an AI. Ask the AI then opens with "Editing: Hero · Text …" and sends `target_section`, `target_label`, `target_detail`; the request saves them in `store_generations.target` and the chat history shows the tag. The AI is told what was selected and that "this" means it (`PlanPrompt::selectionNote`). Only that part can change: `PlanChanges::limitTo` keeps updates to the section, its removal (with menu link fixes) or a new section right after it, and drops theme, other sections, pages, header and footer. Store actions (prices, codes) still work. A whole-store wish ("make the colours black") is skipped and the reply says to ask without selecting. A section that no longer exists is refused. Counts as one AI edit as usual. Code: `components/stores/preview-picker.ts`. Tested with real DeepSeek: a mixed request changed only the heading; "shorten this" changed only the selected text.
|
|
180
|
182
|
- Besides design changes, the AI may answer with `actions`: `create_product`, `update_product` (name, price, "was" price, stock, status, per variant for products with options), `create_discount`, `update_discount` (on/off, last day, number of uses) and `create_bundle`. At most 10 per message.
|
|
181
|
183
|
- The AI gets the full product list (drafts, stock, choices), the discount codes and today's Malaysian date, so "until the end of the month" works.
|
|
182
|
184
|
- `App\Commerce\ChatActions` checks each action with the same rules as the Products and Discounts forms (discount rules are shared through `DiscountCodeRules`). A wrong product, choice or code goes back to the AI once to fix, like a bad design answer.
|
|
|
@@ -199,8 +201,9 @@ Changing from Claude to another AI model (or back) must be a settings change, no
|
|
199
|
201
|
|
|
200
|
202
|
- The hero section has 3 layouts: `image-full` (a photo across the whole width, words on top with a dark fade so they stay readable), `split` (words beside a tall photo) and `centered` (words only, as before).
|
|
201
|
203
|
- The hero's `image` field names a photo: `upload:12` (a banner photo uploaded in the Design tab, saved in `store_images`) or `product:web-address-name` (that product's main photo). Null means automatic: the store's newest active product photo. With no photos at all, the hero shows a soft pattern in the store's colours.
|
|
202
|
|
-- The Design tab has a "Hero" box for each hero section: layout buttons, photo thumbnails (Automatic, uploads, product photos) and an upload button (JPG, PNG or WebP, up to 6 MB, at least 600 by 400 pixels). Uploading into a words-only hero switches it to "photo beside words" so the photo shows. Changes are part of the working design, so a live store shows them after "Publish changes".
|
|
|
204
|
+- The Design tab has a "Hero" box for each hero section: layout buttons, photo thumbnails (Automatic, uploads, product photos) and an upload button (JPG, PNG or WebP, up to 6 MB, at least 300 by 200 pixels; 600 by 400 until 2026-11-25). Uploading into a words-only hero switches it to "photo beside words" so the photo shows. Changes are part of the working design, so a live store shows them after "Publish changes".
|
|
203
|
205
|
- The AI is told to prefer photo layouts and is given the list of photo names. A made-up photo name is sent back to it once to fix. A photo already in the design that was later deleted does not block chat edits; that hero just falls back to automatic.
|
|
|
206
|
+- **Banner photos are got ready in the background (added 2026-11-25):** after upload, the queued job `PrepareBannerPhoto` runs `App\StorePlan\BannerPhoto` (built-in GD, free): small photos are enlarged to 1600 pixels across with a light sharpen, photos with a side over 2400 are made smaller, phone photos are turned upright, and every photo is saved as WebP (quality 82), which also drops hidden details like GPS location. The design points to the photo by id, so it uses the new file by itself; the uploaded file is deleted. If the photo cannot be read, the upload stays in use. Chosen over an AI upscaler (sharper but paid, needs a new key and sends photos out); an AI upscaler can replace `resize()` later. Product photos are not processed yet.
|
|
204
|
207
|
- Product cards show the product's second photo when the shopper points at the card. Placeholders show the first letter of the product in the store's heading font instead of plain shapes.
|
|
205
|
208
|
|
|
206
|
209
|
### How the announcement bar and trust row work (added in Step 9 part 2)
|
|
|
@@ -245,6 +248,7 @@ Changing from Claude to another AI model (or back) must be a settings change, no
|
|
245
|
248
|
|
|
246
|
249
|
- The Design tab has a **Layouts** box (closed by default) listing every section with its layout in plain words; heroes stay in their own Hero box. `App\StorePlan\SectionLayouts` finds and changes them; only layouts of the section's own type are accepted.
|
|
247
|
250
|
- The AI is told what each new layout looks like and when it suits, and can switch layouts by chat ("make the products slide sideways").
|
|
|
251
|
+- **Show in the preview (added 2026-11-25):** in the Design tab, a section's name (Layouts, Hero, Featured product, Video and Bento boxes) is a button with a small target icon. Clicking it brings the preview into view, scrolls the preview to that section (below the store's sticky header) and outlines it in green with its name for about 2.5 seconds. A section on another page (such as About us) opens that page first. Each section's band in the store carries `data-section="<id>"`; header and footer are found by their tags. Code: `resources/js/components/stores/preview-highlight.tsx`.
|
|
248
|
252
|
|
|
249
|
253
|
### How collections, bento and video work (added in Step 9 part 7)
|
|
250
|
254
|
|
|
|
@@ -292,11 +296,12 @@ Changing from Claude to another AI model (or back) must be a settings change, no
|
|
292
|
296
|
- Only paid orders count as sales, on the Malaysian day they were paid. Sales are what shoppers paid, shipping included. Each range is compared with the same length of time just before it; "This month" with the same days of last month.
|
|
293
|
297
|
- "Needs attention": orders to ship per store, products with 5 or fewer left (active, not bundles), unpublished design changes, stores designed but not published (several make one line), trial ending in 7 days or plan ended.
|
|
294
|
298
|
- Before the first sale the page shows "Get your first sale" (create, design, products, publish) and zero boxes instead of empty charts. No AI note then.
|
|
295
|
|
-- The stores list moved to the sidebar as a tree: Overview, "Your stores" (Create store first, then each store with Design, Products, Orders with a to-ship badge, Discounts, Settings; green dot live, yellow draft), Account (Billing), and a plan box. Shared on every page as `sidebar` (`HandleInertiaRequests`). The starter kit's Repository and Documentation links are gone. Breadcrumbs say "Overview".
|
|
|
299
|
+- The stores list moved to the sidebar as a tree: Overview, "Your stores" (Create store first, then each store with Design, Products, Orders with a to-ship badge, Discounts, Settings; each store shows a coloured tile with its first letter, the same colour every time from its web address, with a green (live) or yellow (draft) dot on its corner, so stores can be told apart when the sidebar is folded), Account (Billing), and a plan box. Shared on every page as `sidebar` (`HandleInertiaRequests`). The starter kit's Repository and Documentation links are gone. Breadcrumbs say "Overview".
|
|
296
|
300
|
- Store pulse (`app/Dashboard/StorePulse.php`, table `dashboard_pulses`): AI task `pulse` (DeepSeek by default, `AI_PULSE_PROVIDER`/`AI_PULSE_MODEL`, 400 tokens). Written once per Malaysian day per view (all stores, or one store) and saved, so refreshing costs nothing; it loads just after the page (deferred). Only numbers, store names and product names go to the AI, never shoppers' details (the privacy page says so).
|
|
297
|
301
|
- "Write again" asks for a fresh note, 3 times a day in all (`AI_PULSE_DAILY_REWRITES`), shown under the button ("2 of 3 left today"). It does not count toward the plan's AI changes. A failed AI answer does not use a turn.
|
|
298
|
302
|
- If the AI cannot answer, the note is written from the numbers instead. The buttons under the note (ship, restock, publish) are worked out by us from the numbers, not by the AI.
|
|
299
|
303
|
- First real note: 442 tokens in, 63 out.
|
|
|
304
|
+- **Theme switch (added 2026-11-25):** Light and Dark sit in the sidebar footer, just above the user (`components/theme-switch.tsx`), one click each. With the sidebar folded it is one sun or moon button that flips between them. No System choice there: someone who never chose still follows their device, and the switch highlights how the page looks now. It uses the starter kit's `useAppearance` (browser storage and an `appearance` cookie); Settings → Appearance still offers System.
|
|
300
|
305
|
|
|
301
|
306
|
### Category guides for the AI (agreed 2026-11-17)
|
|
302
|
307
|
|
|
|
@@ -600,42 +605,43 @@ Moved into **Step 9 — Modern store design** on 2026-11-17.
|
|
600
|
605
|
|
|
601
|
606
|
Add one line per work session: date, what was done, what is next.
|
|
602
|
607
|
|
|
603
|
|
-| Date | Done | Next |
|
|
604
|
|
-| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
605
|
|
-| 2026-11-14 | Planning. Chose stack, market, payments, AI models, plan prices. Checked local tools. Created this file. All proposed decisions confirmed. Added the rule that the AI model must be easy to change. | Install PHP 8.4, create the Laravel project (Step 0 and Step 1) |
|
|
606
|
|
-| 2026-11-14 | Installed PHP 8.4. Created the Laravel 13 + React project, MySQL database and git repo. Built create-a-store flow and dashboard. 51 tests pass; login and store creation checked in the browser. Step 0 and Step 1 done. | Step 2: store plan format, sections, renderer |
|
|
607
|
|
-| 2026-11-14 | Step 2 done on branch `feature/store-sections-renderer`: store plan format and validator, 10 sections with 2 variants each, renderer, dashboard preview, sample design. 69 tests pass; storefront checked in the browser on desktop and mobile. | Step 3: swappable AI layer and store generation |
|
|
608
|
|
-| 2026-11-14 | First commit made and pushed to the private repository on git.mirfalah.my (branch `feature/store-sections-renderer`). | Step 3: swappable AI layer and store generation |
|
|
609
|
|
-| 2026-11-14 | Step 3 built on branch `feature/ai-generation`: swappable AI layer (Claude, DeepSeek, fake), full store generation, chat edits, background job with progress screen, plan limits. 92 tests pass; whole flow checked in the browser with the fake provider. Not yet run against real Claude or DeepSeek. | Add API keys, run the real test, then Step 4 |
|
|
610
|
|
-| 2026-11-14 | Split settings into `.env` (uploaded, no secrets, AI settings blank) and `.env.local` (private, complete). Removed `.env.example`. | Real AI test, then Step 4 |
|
|
611
|
|
-| 2026-11-14 | Real AI test passed: Claude Sonnet 5.5 generated two stores, DeepSeek made two chat edits. Tuned the prompt for more varied layouts. Step 3 done. | Merge into `main`, then Step 4: products |
|
|
612
|
|
-| 2026-11-14 | Step 4 part 1 on branch `feature/commerce`: store plan version 2 with pages, products with photos, Shop page, product page, real products on the home page. 108 tests pass; checked in the browser; real Claude and DeepSeek re-tested with the new format. | Step 4 part 2: cart, Stripe checkout, orders, email |
|
|
613
|
|
-| 2026-11-14 | Cart built on branch `feature/commerce`: add to cart, quantity, remove, subtotal, header count, stock limits. 118 tests pass; checked in the browser. | Stripe checkout (needs test keys), orders, email |
|
|
614
|
|
-| 2026-11-15 | Step 4 finished on branch `feature/commerce`: checkout with Stripe (test mode), orders for the merchant, order confirmation email. 133 tests pass. A real Stripe test payment worked end to end: order paid, stock lowered, email written to the log. | Merge into `main`, then Step 5: publishing |
|
|
615
|
|
-| 2026-11-15 | Merged Steps 3 and 4 into `main` and pushed. | Step 5: publishing |
|
|
616
|
|
-| 2026-11-15 | Content pages by chat on branch `feature/content-pages`: add, rename and remove pages, each page at its own address, menu links guaranteed by the app. 139 tests pass; tested with real DeepSeek and in the browser. Step 4 is now complete except the known gaps. | Step 5: publishing |
|
|
617
|
|
-| 2026-11-15 | Planning only. Added Step 8 (discount codes, product variants, bundles with linked stock, chat commands with a confirm step), placed after Malaysia features. "Before launch" is now Step 9. Cart items redesigned as cards. | Step 5: publishing |
|
|
618
|
|
-| 2026-11-15 | Step 5 on branch `feature/publishing`: publish and take offline, live stores on their own address, design changes private until published again, dashboard blocked on store addresses. 150 tests pass; Luna Skin published and checked in the browser at `luna-skin.localhost:8000`. | Step 6: subscription billing |
|
|
619
|
|
-| 2026-11-16 | Step 6 on branch `feature/billing`: plans table, 14-day trial, Stripe subscriptions (subscribe, switch, cancel, undo), Billing page, limits enforced, live stores offline when there is no plan. 164 tests pass; real Stripe test subscription to Growth, cancel and undo all worked. Switched the session model from Fable 5.2 to Opus 5.5. | Merge into `main`, then Step 7 |
|
|
620
|
|
-| 2026-11-16 | Step 7 part 1 on branch `feature/malaysia-shipping`: store settings, flat shipping fees (west, east, free over), mark as shipped with tracking and email, WhatsApp buttons, Malay checkout messages, Malaysian phone check. Fixed live-store menu links on pages other than home (bug from Step 5). 178 tests pass; real Stripe test payment with shipping to Sabah worked. | Merge, then Step 7 part 2 or Step 8 |
|
|
621
|
|
-| 2026-11-16 | Featured product fix on branch `feature/featured-product-link` (built on `feature/malaysia-shipping`): the section links to a real product (Design tab picker or chat), shows its real name, price, photo and page, and hides the made-up price otherwise. Added a check that marks chat edits that changed nothing. 191 tests pass; checked in the browser and with real DeepSeek. | Merge both branches, then Step 7 part 2 or Step 8 |
|
|
622
|
|
-| 2026-11-16 | Planning only. Added "more design styles" to later improvements: style options (effects, backgrounds, buttons, spacing, motion), more fonts, more layouts per section, more section types. | Merge branches, then Step 7 part 2 or Step 8 |
|
|
623
|
|
-| 2026-11-16 | Step 8 part 1 on branch `feature/discount-codes`: discount codes (merchant Discounts tab, cart code box, order record, Stripe coupon, use counted when paid). 207 tests pass; real Stripe test payment with a 20% code worked. | Merge, then product variants |
|
|
624
|
|
-| 2026-11-16 | Step 8 part 2 on branch `feature/product-variants` (built on `feature/discount-codes`): product options and variants, option buttons on the product page, variant cart lines, orders and stock. 217 tests pass; real Stripe test payment for a 100ml variant with a discount code worked. | Merge both branches, then bundles |
|
|
625
|
|
-| 2026-11-16 | Step 8 part 3 on branch `feature/bundles`: bundles with linked stock (bundle editor in the product form, "What's inside" on the product page, shared stock check at checkout, order shows what to pack). 223 tests pass; real Stripe test payment for "Glow Starter Set" (cleanser + 50ml moisturiser, RM 69 + RM 8 shipping) lowered both items' stock. | Merge, then chat commands |
|
|
626
|
|
-| 2026-11-17 | Step 8 part 4 on branch `feature/chat-commands`: chat commands for products, discount codes and bundles, with Confirm and Cancel in the chat. Shared discount rules. Fixed a test that failed by chance (random stock). 233 tests pass; with real DeepSeek, "GLOW15 until end of month + 100ml to RM 52" was proposed, confirmed and saved; a product + bundle request was proposed correctly and cancelled. | Merge; then automatic discounts, Step 7 part 2 or Step 9 |
|
|
627
|
|
-| 2026-11-17 | Step 8 part 5 on branch `feature/automatic-discounts`: automatic discounts (Discounts tab form, best-of-one rule with codes, cart nudge, product page note, order/Stripe/email name, chat command). Step 8 is done. 243 tests pass; real Stripe test payment with "Glow Week" (2 cleansers, −RM 8.40, total RM 83.60) worked, GLOW15 correctly won when typed; real DeepSeek proposed a sunscreen-only sale correctly (cancelled). | Merge; then Step 7 part 2 or Step 9 |
|
|
628
|
|
-| 2026-11-17 | Chat commands can write product descriptions from the product name (same branch, `feature/automatic-discounts`). Real DeepSeek test found the AI guessing bundle contents, so bundle contents are now listed for it; second try was accurate. 244 tests pass. | Merge; then Step 7 part 2 or Step 9 |
|
|
629
|
|
-| 2026-11-17 | Researched 2026 store design trends and published a comparison page. Added Step 9 — Modern store design (6 parts) and the category guides decision; "Before launch" is now Step 10. | Step 9 part 1: photos first |
|
|
630
|
|
-| 2026-11-18 | Step 9 part 1 on branch `redesign/part-1-photo-hero`: full-width and split photo heroes, hero photo upload and picker in the Design tab, automatic product photo, second photo on hover, letter placeholders, AI told about photos. 251 tests pass; checked in the browser at desktop and phone width with a test banner on Luna Skin. | Merge, then part 2 |
|
|
631
|
|
-| 2026-11-18 | Step 9 part 2 on branch `redesign/part-2-announcement-bar` (from part 1): announcement bar (automatic lines + merchant lines, Settings card) and trust row section with live facts. Plan checker now supports "required if" rules. 257 tests pass; real DeepSeek added a trust row to Luna Skin correctly; checked in the browser. | Commit; part 3 branches from part 2 |
|
|
632
|
|
-| 2026-11-18 | Step 9 part 3 on branch `redesign/part-3-product-page` (from part 2): folding sections (form, chat with merge by title), trust points, sticky phone add-to-cart bar, pairs well with, phone menu, sticky photos. Found and fixed the sticky bar hiding under the header. 261 tests pass; real DeepSeek wrote a sensible "How to use" for the sunscreen (confirmed); checked at phone width. | Commit; part 4 branches from part 3 |
|
|
633
|
|
-| 2026-11-19 | Step 9 part 4 on branch `redesign/part-4-style-options` (from part 3): style options, six ready-made looks with a Style box, 12 more fonts, gentle motion, AI style rules. Fixed fade-in hiding a section that was already partly on screen. "More layouts per section" moved to a new part 5; category guides are now part 6 and collections part 7. 266 tests pass; Bold look and a real DeepSeek "more premium and elegant" change both checked in the browser. | Commit; part 5 branches from part 4 |
|
|
634
|
|
-| 2026-11-19 | Step 9 part 5 on branch `redesign/part-5-section-layouts` (from part 4): 7 new section layouts (products carousel and large, featured stacked, about statement, reviews wall, FAQ cards, newsletter split, footer columns) and a Layouts box. 270 tests pass; every layout checked in the browser on Luna Skin; long About statements now shown a step smaller. | Commit; part 6 branches from part 5 |
|
|
635
|
|
-| 2026-11-21 | Step 9 part 6 on branch `redesign/part-6-category-guides` (from part 5): category design guides and "looks to avoid" for the AI. 275 tests pass; generated two real test stores with Claude Sonnet (Dapur Mak Teh, food; Seri Anggun, fashion) and they came out clearly different. | Commit; then part 7 or merge |
|
|
636
|
|
-| 2026-11-21 | Decided to keep `main` and the redesign apart for comparison. Split reviews out as part 8. Step 9 part 7 on branch `redesign/part-7-collections-bento-video` (from part 6): collections (Products tab, chat, pages, links), shop by, bento and video sections, with AI checks for collection names and video addresses. 282 tests pass; real DeepSeek created two collections for Luna Skin (confirmed) and added shop by and bento correctly; checked in the browser. | Commit; part 8 branches from part 7 |
|
|
637
|
|
-| 2026-11-22 | Added Video and Bento boxes to the Design tab (same branch, part 7), so both can be added and edited without chat. The merchant added a real YouTube video to Luna Skin by chat; it plays in the preview. 286 tests pass. | Commit part 7; then part 8 |
|
|
638
|
|
-| 2026-11-22 | Part 7 committed on `redesign/part-7-collections-bento-video`. Part 8 (real reviews) put on hold by the merchant. | Choose next step |
|
|
639
|
|
-| 2026-11-22 | Built our own home page on branch `feature/homepage`: content outline like afilink.app with our own look, real plan prices, store-name box that fills the Create store form. 288 tests pass; checked on desktop and phone. Then made the hero picture move like afilink's (pinned scroll on wide screens, plays once on phones, floating tags), fixed tags covering text, added hover lift on the hero pieces and pricing cards, made the store and bubble float, and added six more animations (fade-up, typing bubble, playing chat, changing styles, steps line, shop-types strip). | Commit; choose next step |
|
|
640
|
|
-| 2026-11-22 | Home page committed. Added the privacy policy (`/privacy`) and terms of service (`/terms`) for Malaysian law, naming the AI companies from the AI settings, linked from the home footer and sign-up. 293 tests pass; checked on desktop and phone. | Commit; lawyer check; choose next |
|
|
641
|
|
-| 2026-11-22 | Redesigned the dashboard on branch `feature/dashboard` (picked from three trend designs: AI note on top of colourful boxes). Stats with filters, needs attention, sales chart, store tree in the sidebar, daily Store pulse from DeepSeek saved per day with 3 "Write again" a day, first-sale steps for new merchants. 303 tests pass; checked on desktop, phone and dark mode. | Commit; choose next step |
|
|
|
608
|
+| Date | Done | Next |
|
|
|
609
|
+| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
|
610
|
+| 2026-11-14 | Planning. Chose stack, market, payments, AI models, plan prices. Checked local tools. Created this file. All proposed decisions confirmed. Added the rule that the AI model must be easy to change. | Install PHP 8.4, create the Laravel project (Step 0 and Step 1) |
|
|
|
611
|
+| 2026-11-14 | Installed PHP 8.4. Created the Laravel 13 + React project, MySQL database and git repo. Built create-a-store flow and dashboard. 51 tests pass; login and store creation checked in the browser. Step 0 and Step 1 done. | Step 2: store plan format, sections, renderer |
|
|
|
612
|
+| 2026-11-14 | Step 2 done on branch `feature/store-sections-renderer`: store plan format and validator, 10 sections with 2 variants each, renderer, dashboard preview, sample design. 69 tests pass; storefront checked in the browser on desktop and mobile. | Step 3: swappable AI layer and store generation |
|
|
|
613
|
+| 2026-11-14 | First commit made and pushed to the private repository on git.mirfalah.my (branch `feature/store-sections-renderer`). | Step 3: swappable AI layer and store generation |
|
|
|
614
|
+| 2026-11-14 | Step 3 built on branch `feature/ai-generation`: swappable AI layer (Claude, DeepSeek, fake), full store generation, chat edits, background job with progress screen, plan limits. 92 tests pass; whole flow checked in the browser with the fake provider. Not yet run against real Claude or DeepSeek. | Add API keys, run the real test, then Step 4 |
|
|
|
615
|
+| 2026-11-14 | Split settings into `.env` (uploaded, no secrets, AI settings blank) and `.env.local` (private, complete). Removed `.env.example`. | Real AI test, then Step 4 |
|
|
|
616
|
+| 2026-11-14 | Real AI test passed: Claude Sonnet 5.5 generated two stores, DeepSeek made two chat edits. Tuned the prompt for more varied layouts. Step 3 done. | Merge into `main`, then Step 4: products |
|
|
|
617
|
+| 2026-11-14 | Step 4 part 1 on branch `feature/commerce`: store plan version 2 with pages, products with photos, Shop page, product page, real products on the home page. 108 tests pass; checked in the browser; real Claude and DeepSeek re-tested with the new format. | Step 4 part 2: cart, Stripe checkout, orders, email |
|
|
|
618
|
+| 2026-11-14 | Cart built on branch `feature/commerce`: add to cart, quantity, remove, subtotal, header count, stock limits. 118 tests pass; checked in the browser. | Stripe checkout (needs test keys), orders, email |
|
|
|
619
|
+| 2026-11-15 | Step 4 finished on branch `feature/commerce`: checkout with Stripe (test mode), orders for the merchant, order confirmation email. 133 tests pass. A real Stripe test payment worked end to end: order paid, stock lowered, email written to the log. | Merge into `main`, then Step 5: publishing |
|
|
|
620
|
+| 2026-11-15 | Merged Steps 3 and 4 into `main` and pushed. | Step 5: publishing |
|
|
|
621
|
+| 2026-11-15 | Content pages by chat on branch `feature/content-pages`: add, rename and remove pages, each page at its own address, menu links guaranteed by the app. 139 tests pass; tested with real DeepSeek and in the browser. Step 4 is now complete except the known gaps. | Step 5: publishing |
|
|
|
622
|
+| 2026-11-15 | Planning only. Added Step 8 (discount codes, product variants, bundles with linked stock, chat commands with a confirm step), placed after Malaysia features. "Before launch" is now Step 9. Cart items redesigned as cards. | Step 5: publishing |
|
|
|
623
|
+| 2026-11-15 | Step 5 on branch `feature/publishing`: publish and take offline, live stores on their own address, design changes private until published again, dashboard blocked on store addresses. 150 tests pass; Luna Skin published and checked in the browser at `luna-skin.localhost:8000`. | Step 6: subscription billing |
|
|
|
624
|
+| 2026-11-16 | Step 6 on branch `feature/billing`: plans table, 14-day trial, Stripe subscriptions (subscribe, switch, cancel, undo), Billing page, limits enforced, live stores offline when there is no plan. 164 tests pass; real Stripe test subscription to Growth, cancel and undo all worked. Switched the session model from Fable 5.2 to Opus 5.5. | Merge into `main`, then Step 7 |
|
|
|
625
|
+| 2026-11-16 | Step 7 part 1 on branch `feature/malaysia-shipping`: store settings, flat shipping fees (west, east, free over), mark as shipped with tracking and email, WhatsApp buttons, Malay checkout messages, Malaysian phone check. Fixed live-store menu links on pages other than home (bug from Step 5). 178 tests pass; real Stripe test payment with shipping to Sabah worked. | Merge, then Step 7 part 2 or Step 8 |
|
|
|
626
|
+| 2026-11-16 | Featured product fix on branch `feature/featured-product-link` (built on `feature/malaysia-shipping`): the section links to a real product (Design tab picker or chat), shows its real name, price, photo and page, and hides the made-up price otherwise. Added a check that marks chat edits that changed nothing. 191 tests pass; checked in the browser and with real DeepSeek. | Merge both branches, then Step 7 part 2 or Step 8 |
|
|
|
627
|
+| 2026-11-16 | Planning only. Added "more design styles" to later improvements: style options (effects, backgrounds, buttons, spacing, motion), more fonts, more layouts per section, more section types. | Merge branches, then Step 7 part 2 or Step 8 |
|
|
|
628
|
+| 2026-11-16 | Step 8 part 1 on branch `feature/discount-codes`: discount codes (merchant Discounts tab, cart code box, order record, Stripe coupon, use counted when paid). 207 tests pass; real Stripe test payment with a 20% code worked. | Merge, then product variants |
|
|
|
629
|
+| 2026-11-16 | Step 8 part 2 on branch `feature/product-variants` (built on `feature/discount-codes`): product options and variants, option buttons on the product page, variant cart lines, orders and stock. 217 tests pass; real Stripe test payment for a 100ml variant with a discount code worked. | Merge both branches, then bundles |
|
|
|
630
|
+| 2026-11-16 | Step 8 part 3 on branch `feature/bundles`: bundles with linked stock (bundle editor in the product form, "What's inside" on the product page, shared stock check at checkout, order shows what to pack). 223 tests pass; real Stripe test payment for "Glow Starter Set" (cleanser + 50ml moisturiser, RM 69 + RM 8 shipping) lowered both items' stock. | Merge, then chat commands |
|
|
|
631
|
+| 2026-11-17 | Step 8 part 4 on branch `feature/chat-commands`: chat commands for products, discount codes and bundles, with Confirm and Cancel in the chat. Shared discount rules. Fixed a test that failed by chance (random stock). 233 tests pass; with real DeepSeek, "GLOW15 until end of month + 100ml to RM 52" was proposed, confirmed and saved; a product + bundle request was proposed correctly and cancelled. | Merge; then automatic discounts, Step 7 part 2 or Step 9 |
|
|
|
632
|
+| 2026-11-17 | Step 8 part 5 on branch `feature/automatic-discounts`: automatic discounts (Discounts tab form, best-of-one rule with codes, cart nudge, product page note, order/Stripe/email name, chat command). Step 8 is done. 243 tests pass; real Stripe test payment with "Glow Week" (2 cleansers, −RM 8.40, total RM 83.60) worked, GLOW15 correctly won when typed; real DeepSeek proposed a sunscreen-only sale correctly (cancelled). | Merge; then Step 7 part 2 or Step 9 |
|
|
|
633
|
+| 2026-11-17 | Chat commands can write product descriptions from the product name (same branch, `feature/automatic-discounts`). Real DeepSeek test found the AI guessing bundle contents, so bundle contents are now listed for it; second try was accurate. 244 tests pass. | Merge; then Step 7 part 2 or Step 9 |
|
|
|
634
|
+| 2026-11-17 | Researched 2026 store design trends and published a comparison page. Added Step 9 — Modern store design (6 parts) and the category guides decision; "Before launch" is now Step 10. | Step 9 part 1: photos first |
|
|
|
635
|
+| 2026-11-18 | Step 9 part 1 on branch `redesign/part-1-photo-hero`: full-width and split photo heroes, hero photo upload and picker in the Design tab, automatic product photo, second photo on hover, letter placeholders, AI told about photos. 251 tests pass; checked in the browser at desktop and phone width with a test banner on Luna Skin. | Merge, then part 2 |
|
|
|
636
|
+| 2026-11-18 | Step 9 part 2 on branch `redesign/part-2-announcement-bar` (from part 1): announcement bar (automatic lines + merchant lines, Settings card) and trust row section with live facts. Plan checker now supports "required if" rules. 257 tests pass; real DeepSeek added a trust row to Luna Skin correctly; checked in the browser. | Commit; part 3 branches from part 2 |
|
|
|
637
|
+| 2026-11-18 | Step 9 part 3 on branch `redesign/part-3-product-page` (from part 2): folding sections (form, chat with merge by title), trust points, sticky phone add-to-cart bar, pairs well with, phone menu, sticky photos. Found and fixed the sticky bar hiding under the header. 261 tests pass; real DeepSeek wrote a sensible "How to use" for the sunscreen (confirmed); checked at phone width. | Commit; part 4 branches from part 3 |
|
|
|
638
|
+| 2026-11-19 | Step 9 part 4 on branch `redesign/part-4-style-options` (from part 3): style options, six ready-made looks with a Style box, 12 more fonts, gentle motion, AI style rules. Fixed fade-in hiding a section that was already partly on screen. "More layouts per section" moved to a new part 5; category guides are now part 6 and collections part 7. 266 tests pass; Bold look and a real DeepSeek "more premium and elegant" change both checked in the browser. | Commit; part 5 branches from part 4 |
|
|
|
639
|
+| 2026-11-19 | Step 9 part 5 on branch `redesign/part-5-section-layouts` (from part 4): 7 new section layouts (products carousel and large, featured stacked, about statement, reviews wall, FAQ cards, newsletter split, footer columns) and a Layouts box. 270 tests pass; every layout checked in the browser on Luna Skin; long About statements now shown a step smaller. | Commit; part 6 branches from part 5 |
|
|
|
640
|
+| 2026-11-21 | Step 9 part 6 on branch `redesign/part-6-category-guides` (from part 5): category design guides and "looks to avoid" for the AI. 275 tests pass; generated two real test stores with Claude Sonnet (Dapur Mak Teh, food; Seri Anggun, fashion) and they came out clearly different. | Commit; then part 7 or merge |
|
|
|
641
|
+| 2026-11-21 | Decided to keep `main` and the redesign apart for comparison. Split reviews out as part 8. Step 9 part 7 on branch `redesign/part-7-collections-bento-video` (from part 6): collections (Products tab, chat, pages, links), shop by, bento and video sections, with AI checks for collection names and video addresses. 282 tests pass; real DeepSeek created two collections for Luna Skin (confirmed) and added shop by and bento correctly; checked in the browser. | Commit; part 8 branches from part 7 |
|
|
|
642
|
+| 2026-11-22 | Added Video and Bento boxes to the Design tab (same branch, part 7), so both can be added and edited without chat. The merchant added a real YouTube video to Luna Skin by chat; it plays in the preview. 286 tests pass. | Commit part 7; then part 8 |
|
|
|
643
|
+| 2026-11-22 | Part 7 committed on `redesign/part-7-collections-bento-video`. Part 8 (real reviews) put on hold by the merchant. | Choose next step |
|
|
|
644
|
+| 2026-11-22 | Built our own home page on branch `feature/homepage`: content outline like afilink.app with our own look, real plan prices, store-name box that fills the Create store form. 288 tests pass; checked on desktop and phone. Then made the hero picture move like afilink's (pinned scroll on wide screens, plays once on phones, floating tags), fixed tags covering text, added hover lift on the hero pieces and pricing cards, made the store and bubble float, and added six more animations (fade-up, typing bubble, playing chat, changing styles, steps line, shop-types strip). | Commit; choose next step |
|
|
|
645
|
+| 2026-11-22 | Home page committed. Added the privacy policy (`/privacy`) and terms of service (`/terms`) for Malaysian law, naming the AI companies from the AI settings, linked from the home footer and sign-up. 293 tests pass; checked on desktop and phone. | Commit; lawyer check; choose next |
|
|
|
646
|
+| 2026-11-22 | Redesigned the dashboard on branch `feature/dashboard` (picked from three trend designs: AI note on top of colourful boxes). Stats with filters, needs attention, sales chart, store tree in the sidebar, daily Store pulse from DeepSeek saved per day with 3 "Write again" a day, first-sale steps for new merchants. 303 tests pass; checked on desktop, phone and dark mode. | Commit; choose next step |
|
|
|
647
|
+| 2026-11-25 | On `feature/dashboard` (not committed): store letter tiles in the sidebar; researched courier prices and APIs (J&T, Pos Laju, GDEX, DHL eCommerce): only GDEX has a public developer site, the others need a sales contract, so EasyParcel stays the plan; "Show in the preview": clicking a section name in the Design tab scrolls the preview to it and outlines it; banner photos now accepted from 300×200 and got ready in the background (enlarged, shrunk, upright, WebP); "Ask the AI" is now a floating button that opens a chat panel; Light/Dark switch above the user in the sidebar; Select to edit (click or drag in the preview, Ask the AI changes only that part). 310 tests pass; checked in the browser on desktop and phone preview. | Commit, then EasyParcel demo key |
|