Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[frontend] 選擇調色盤顏色 #26

Open
11 tasks
ShadowSunCat opened this issue Jul 25, 2023 · 0 comments
Open
11 tasks

[frontend] 選擇調色盤顏色 #26

ShadowSunCat opened this issue Jul 25, 2023 · 0 comments

Comments

@ShadowSunCat
Copy link
Collaborator

ShadowSunCat commented Jul 25, 2023

A.C.

  • 背景需壓暗
  • 顯示選擇顏色的對話框
    • 亮面: 藍、紅、綠、黃
    • 暗面: 藍、紫、粉、橘
  • 選擇顏色後,需介接 api - /action/color
  • 接收到 /action/color 的成功 response 後,需將方向箭頭改變成玩家選擇的顏色。
  • 需有單元測試保護以下項目:
    • 背景有壓暗
    • 對話框有顯示正確的顏色
    • 選擇按鈕後,有呼叫 /action/color api。
    • 呼叫 /action/color api 的邏輯
    • 方向箭頭顏色有改變成玩家選擇的顏色

線框圖 (參考)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant