休みの形の編集をスタッフ詳細バブルに統一する
Maintainers usually reply within 12 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start by reading StaffDetail and WorkingStaffListView, then trace how DayOffStyle defaults and schedule-specific overrides are displayed and saved. Move schedule-scoped editing into StaffDetail, show the effective value and a way to restore the default, and make the list view read-only; done when the table in the issue is satisfied while store-scoped editing remains intact.
Written by the indexing model from the issue text.
Description
背景
#236(人に印を付ける)で絵文字タグの編集をスタッフ詳細バブル(StaffDetail)に統一した。
しかし休みの形(DayOffStyle)の編集は以前のまま WorkingStaffListView の独立列に残っており、
編集口が分散している。
現状の問題
- 編集口がバラバラ: 既定値は StaffDetail(店舗スコープ)、勤務表ごとの上書きは WorkingStaffListView の列
- 勤務表から開いた StaffDetail では休みの形が見えない・直せない
- 絵文字タグは StaffDetail で統一されたのに、休みの形だけパターンが違う
あるべき姿
「編集は StaffDetail、閲覧はどこでも」に統一する。
| スコープ | 表示 | 編集 |
|---|---|---|
| 店舗スコープ(StaffDetail) | 既定値を表示 | 既定値を変更 |
| 勤務表スコープ(StaffDetail) | その勤務表での値(上書き or 既定)を表示 | 上書きを編集。「既定値に戻す」も出す |
| WorkingStaffListView | 休みの形を閲覧のみ表示 | 編集は StaffDetail に委ねる |
| 勤務表グリッド | ProfileMarks のアイコンで閲覧 | — |
関連 Issue
- #225 制約を「店舗 → 勤務表 → 個人」の階層にし、下の層で上書きできるようにする
- #226 休みの取り方(連休型・分散型)を制約として扱う
- #236 人に印を付けられるようにする(絵文字タグ)
やること
- StaffDetail(勤務表スコープ)に休みの形の表示・編集を追加する
- 既定値と上書き値を見分けられるようにする(「既定値に戻す」ボタン)
- WorkingStaffListView の休みの形の列を閲覧のみにする(DayOffStyleSelect → ラベル表示)
- StaffDetail(店舗スコープ)の既定値編集は既存のまま維持
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 9d 13h
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fumicode/bublys-org
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
fumicode/bublys-org#261 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 5/5 Over a week Newbie friendliness 15/100
fumicode/bublys-org#259 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 3/5 1-2 days Newbie friendliness 42/100
fumicode/bublys-org#258 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fumicode/bublys-org#257 ·
Maintainers usually reply within 12 days
-
enhancement OS Shiftonton
Difficulty 5/5 Over a week Newbie friendliness 30/100
fumicode/bublys-org#254 ·
Maintainers usually reply within 12 days
All issues in fumicode/bublys-org
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
External sources always come back in English: `lc` isn't passed to `/api/v3/external_sources`Possibly taken @Anurag1428 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openfoodfacts/openfoodfacts-explorer#2264 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
cloudflare/workers-sdk#17139 ·
Maintainers usually reply within 1 day
-
area: editor P3 type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
halisonworks/mod-codeling#290 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
colinhacks/zod#6776 ·
Maintainers usually reply within 1 day