Release plan - revtel/gatsby-starter GitHub Wiki

QC

  • qc -> on prod branch (our main branch is prod)
  • dev -> on stg branch
  • BD 避免 4N 週給客戶(剛上 prod)
  • 4N 當週 Wed -> Fri prod QC
  • regression? hotfix branch 4N 當週解掉(不卡 release 或 上 hotfix)
  • scenario -> test plan

2203 Wed.

  • 變更email + 驗證 (W0102)
    • profile 頁面變更/填入 email (email 需經過驗證)
    • dev: private_profile (kyle) get_private_profile / also email
  • offline 付款 (W0102)
    • 付款方式新增「offline」
    • 若為 offline,user 訂單可填入轉帳資訊
    • admin order detail 可看到 user 填入的轉帳資訊
  • singleton 網站設定
    • 用於全站式單一 instance 的設定
    • 目前支援三種:landing / dynamic_product_category / dynamic_article_category
    • 目前 category 階層最多為三層
  • sharing (reurl)
    • 商品新增 share button(顯示於 admin product detail 與 ec product detail)
    • 複製連結後,於其他 social media 分享連結,可看到商品 preview,點擊連結後,會看到 loading 畫面,接著跳到 ec product detail
  • custom content
    • project sync with starter 架構調整

2207

  • GA
    • predefined GA event
  • 提供 extra_discount (ignore)
  • 加強 coupon discount
    • admin coupon 新增 assign to user 功能
    • void coupon
    • ec profile 新增 get my coupons
    • coupon 過期或 void 則不會顯示、不可使用
    • 確認是否有扣除數量,不可再使用
  • 新增 points discount
    • admin 後台可直接發 points
    • 後端(project config)可設定 points 與現金折抵比例 (ignore)
    • 實作 points 為 balance (無 history log)
    • 目前儲值金與回饋都是用 points field
    • checkout 結帳可選擇是否折抵 points
    • checkout 目前未支援輸入欲折抵的 points 數值
  • checkout resume
    • 預設 expired 為七天 (project 可 config,紅利、coupon 不會還他)
    • 未 expired && 無 order_id
  • staff create custom order
    • 不支援宅配
    • 僅支援線下付款,staff 確認訂單金額後,手動切換訂單狀態,前台訂單會切換至已完成
    • 不支援開立發票
    • 不支援物流,需要的資訊 staff 填在附註欄位

2211

  • CODE:
    • 移除 promo 頁面:remove promo pages
    • 注意:直接 module import ServiceAction 不要用 actions outlet 去拿,actions outlet 目前已移除 ServiceAction
      • import please use individual actions rather then use AppActions (import directly from module, not using by actions outlet)
      • [refactor] add AppActions/custom.js
      • [refactor] add AppOutlet/custom.js
      • [refactor] add onCartLoaded plugins
      • [refactor] sdk: useDetectDimension. sdk: buildCatDisplayMap
  • [refactor] Global spinner / LoginModal proxy component
  • [feat] 新增 FB pixel / conversion: fb pixel + conversion api FB 商務管理工具 -> 事件管理工具 這裏(好難找)
  • [feat] admin 新增訂單地址、物流方式更新: post order info update in dashboard
    • 超商地圖使用跳頁選取顯示的方式
  • [feat] admin 新增訂單頁面預設區間 filter
    • 預設區間為:當天、昨天、過去 7 天、過去 30 天、當月、上個月、自訂
  • [enhance] 商品數量 ui 調整、variant 單選提供兩種 ui
    • reference design: product variant
    •  // example usage / product.json
       "displayType": {
                          "title": "單選顯示樣式",
                          "type": "string",
                          "defaultValue": "radio",
                          "enum": [
                            "radio",
                            "select"
                          ],
                          "enumNames": [
                            "單選按鈕",
                            "下拉選單"
                          ]
                        },
      
  • [enhance] 商品列表支援 paging: product list pagination
    • pageOptions 新增 pageSize config (default enable size: 24 )PR
    • {
        path: `/articles`,
        component: `src/Templates/ProductList/index.js`,
        context: {
          features: {
            cat: false,
            pageSize: 24,
          },
        },
      },
      
  • [enhance] 強制 social user 驗證 email
    • 在 cart 頁面按下一步時,會確認是否有 email
  • [enhance] cache for site-config jstorage/s3
    • site-config 全撈
    • 每次 app initial 直接三個都撈回來
  • um toogle (config in site-config)
  • [feat] admin 新增未處理的線下訂單頁面(待驗訂單): pending offline order page
  • [style] article detail ui revisit
  • [style] order list ui tuning
  • some other issues fix
    • [fix] 結帳頁面新增附註:運費不可折扣、紅利不會退還
    • [fix] order detail 顯示結帳時使用的折價券、點數
    • [enhance] product list search 支援搜尋「商品名稱」(name)
    • [fix] OrderPDF bug fix
    • [enhance] (sdk 0.12.0) OrderPage enableInvoiceFeature (default: false)

2215

  • 運費計算、購買上限調整
  • 匯款欄位填寫 #122
  • support new site-config: config
    • checkout_threshold 最低可結帳金額
    • 全站設定值,部分值與後端有關(後端會看)
  • 預設初次登入後台,會創建全部 site config (目前有四個:config, product_cat, article_cat, landing)
  • cart / checkout / order 畫面 reference design https://zpl.io/a77W5Kv
  • merged checkout and order / note: fetch checkout rather then order
  • notify: 目前 primary user sns (手機註冊)未完整實作完~~若有需求需要額外實作