#49 フロントのリファクタリング等

Open
opened 1 month ago by みてるぞ · 0 comments

以下の観点で実施する:

  • className でテンプレート文字列を使はず cl 使ふ.
  • 素の HTML タグの濫用を避ける.
  • 同一の className の組合はせが多用されてゐるのであれば,外部コンポーネントに切出す.
  • XxxNewPage や XxxEditForm(または XxxEditPage)で分かれてる入力フォームは XxxForm といふコンポーネントに統合する.
  • ページを適切なディレクトリに分ける.
  • Tailwind の色コードは直指定すると夜間モードなどで壊れるので,代替手段探す.
  • Taiwind,llight モードの封印(常時 dark)
  • Promise はオブゼクト操作ではなく async/await 使ふ.
以下の観点で実施する: - ~~className でテンプレート文字列を使はず cl 使ふ.~~ - 素の HTML タグの濫用を避ける. - 同一の className の組合はせが多用されてゐるのであれば,外部コンポーネントに切出す. - XxxNewPage や XxxEditForm(または XxxEditPage)で分かれてる入力フォームは XxxForm といふコンポーネントに統合する. - ~~ページを適切なディレクトリに分ける.~~ - ~~Tailwind の色コードは直指定すると夜間モードなどで壊れるので,代替手段探す.~~ - ~~Taiwind,llight モードの封印(常時 dark)~~ - ~~Promise はオブゼクト操作ではなく async/await 使ふ.~~
みてるぞ added the
frontend
label 1 month ago
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ started working 1 month ago
みてるぞ cancelled time tracking 1 month ago
みてるぞ started working 1 month ago
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ stopped working 1 month ago
2h 36min 20s
みてるぞ started working 1 month ago
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ stopped working 1 month ago
1h 54min 45s
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ changed title from className 同じのが多いのでコンポーネント化するなどして共通化する to フロントのリファクタリング 1 month ago
みてるぞ changed title from フロントのリファクタリング to フロントのリファクタリング等 1 month ago
みてるぞ added this to the リリース milestone 1 month ago
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ referenced this issue from a commit 1 month ago
みてるぞ removed this from the リリース milestone 3 weeks ago
みてるぞ referenced this issue from a commit 2 weeks ago
みてるぞ referenced this issue from a commit 2 weeks ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Total Time Spent: 4h 31min 5s
みてるぞ
4h 31min 5s
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.