---
# System prepended metadata

title: Campaign Public

---

# Campaign Public

## Infos
branch-name: feat/new_campaign

### 分工共筆:
 https://hackmd.io/@07zvG6MpSqOqX5EmGxJv_g/HJ3BiNjyi
 
### 流程圖:
https://whimsical.com/campaign-management-finn-RQP1TwGANgH4at2dgZnNsG

### figma:
https://www.figma.com/file/1Uxpu0LVeIAfCedkXzo9wp/KOL-Radar?node-id=4730%3A0

### DB schema:
https://drive.google.com/file/d/1rLL_8IwAZdfhBfA5-Wsb5FjNWZxouWeU/view?usp=sharing

---

## Checkpoints
- Ben - DBschema 8/31 15:00
- Ben - campaignList/CampaignDetail Response api-format 9/1 早
- Ben - campaignList/CampaignDetail Response api 9/2 早
- Retso - createCampaign 9/1 早
- Cate - AD campaign 9/1 早
- Cate - AD campaign 合體時間 9/5 早 // (反正有六日嘛)
- Cate - AD campaignDetail UI 9/7 早
- Zach - KOL 操作 api-format 9/1 下午
- Zach - KOL 操作, 簽合約 api 9/5 下午
- Errol - KOL campaign 9/1 早
- Errol - KOL campaign, 簽合約 合體時間 9/5 早
- Johnny - CampaignReport api-format 9/2 早
- Johnny - CampaignReport api 9/7 早
- Cate - CampaignReport 頁面 9/8 早
- Zach - 聊天室結構 9/1 15:00 (聊天室規則, token 等等)
- Zach - 聊天室 9/7 早
- Retso - 聊天室 9/6 早
- Irene - 授權選 post 9/2 早
- Errol - 授權選 post 9/7 下午
- contract list ui 9/8 早
- CampaignReport 合體 sprint-81

---
## Phase-0. Before start 
- [Ben] A. Campaign 新版結構 DB schema
- [Ben] B. Campaign workspace 分離 or 新 campaign
- 抓個 checkpoint 8/31 15:00

## Phase-1. 流程面 Feature (Campaign,CampaignDetail,ContractTemplate,)
- [Ben] C. 創建 & setup Campaign
CRUD
- [Ben] D. 加入 CampaignKol & 發信 & 合約產生 & 合約模板
PATCH/UPDATE
- [Zach] E. KOL 信內接受答應流程
UPDATE Status, 誰可以接受? 是否可以改變狀態?
- [Zach] F. KOL 上平台後接受合約流程
- [Ben] G. AD 帳號確保 創建 campaign 後流程 狀態機(?) [待邀約 -> 邀約中 -> 執行中 -> 已結束]
- 抓個 checkpoint

- [Zach] H. 聊天室 & 聊天室相關操作影響 campaign 狀態
- 抓個 checkpoint

- [Irene] J. KOL 授權換 post + 儲存 (前端給指定 post, 後端根據拿到的 token 拿資料以及儲存)
- 抓個 checkpoint

## Phase-2. 流程面 Feature (Campaign Report)
- [Johnny] K. campaign 資料產出 campaign_report
- [Johnny] L. 兜出 campaign_report 統計資料圖表
- [Irene] M. 觸發 campaign_report 更新資料
- 抓個 checkpoint

## 前端頁面分工: page 
  - campaign list
    - list            - Cate 
    - create campaign - Retso
  - campaign
    - kol list - Cate
    - chat     - Retso 
    - content  - Cate
    - report   - Cate
    - setting  - Retso 
  - contract list     - Cate
  - kol 
    - chat            - Retso
    - campaign list   - Errol
    - campaign
      - sign contract - Errol
      - add post      - Errol


## 其他 (下個 sprint 或者 newCampaign 完成再說)
- [後做 Irene & Johnny] // I. token sys & cost token (金流部分還沒設計)
- [] N. 舊 campaign migrate


### Other Notes:
UPDATE Status system: 狀態統一調整 (E,F,G)

既有的票 [View and add more about performance of campaigns] - K
既有的票 [Drop messages between brands and influencers] - H
既有的票 [Influencers accept 勞報單] - E
既有的票 [Draft and accept campaign contracts] - D
既有的票 [Influencer upload publish-related information] - F前置
既有的票 [Setup campaign collaboration condition] - C
既有的票 [Export address and remittance info of campaign influencers] - G
既有的票 [Influencers view campaign and detail of collaboration] - F
既有的票 [Consume quota once invitation accepted] - I
既有的票 [Brands create campaigns describing collaboration] - C

既有的票 [Campaign Admin Query 效能調整]
