-
Notifications
You must be signed in to change notification settings - Fork 0
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
作品に関するページの作成 #199
作品に関するページの作成 #199
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ざっくりとは見た
レビュー漏れがあっても許してね
return `${Math.floor(diffInSeconds / MONTH)}${DATE_DIFF_LABEL['month']}`; | ||
if (date.getFullYear() === now.getFullYear()) | ||
return `${date.getMonth() + 1}/${date.getDate()}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
月/日だけの表示だと,ユーザー視点今年のってわからんくない?
3ヶ月過ぎたらYYYY/MM/DDの表示に統一してもいい気が
(デザイン周りは既に話し合ってそうな気もするので,議論済みならスルーでOK)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
デザイナーと相談しておきます〜
|
||
export const Default: Story = { | ||
args: {}, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storybook上での設定がないのは意図してる?
src/domains/Work/components/WorkEdit/presentations/items/AssetUpload.tsx
Outdated
Show resolved
Hide resolved
src/domains/Work/components/WorkEdit/presentations/items/AssetUpload.tsx
Outdated
Show resolved
Hide resolved
|
||
export const C3_BLOG = 'https://blog.c3js.org/'; | ||
|
||
export const TOYBOX_DESCRIPTION = 'https://toybox.c3js.org/'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URLの末尾に/
があるのとないのがあるのは意図してる?
統一したくない?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
特に意図はないです〜
この辺に関してはまだmock dataなので本実装する時にトレーリングスラッシュ外して実装しておきます
@@ -1,4 +1,4 @@ | |||
export const BASE_URL = | |||
process.env.NODE_ENV === 'production' | |||
? process.env['NEXT_PUBLIC_BACKEND_URL'] ?? 'http://localhost:4010' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
他のところもだけどドット記法とブラケット記法が混ざってるのは何か理由あるの?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
インデックスシグネチャの問題ですね(eslintに設定してある)
envには特定のkey以外はkeyとして存在しているかわからないのでブラケット記法を使うことでkeyをどんなものでも受け取れるようにする感じです
{work.urls.map((url) => ( | ||
<Vertical key={url.url}> | ||
<Link size={20} className="text-orange-pop" /> | ||
<Typography>{url.url}</Typography> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このURLのリンクは飛べない仕様であってる?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
現行のtoyboxは飛べる仕様なので修正しておきます〜
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#199 (comment)
これそのままでいいならOK
issue番号
closes #6,#7,#17,#19,#20,#24,#25,#26,#27,#77,#79
変更点概要
投稿一覧画面
投稿詳細画面
投稿作成画面の作成
変更内容はUIのみでロジックは別途実装されます
参考文献(あれば)
スクリーンショット(必要であれば)
チェック項目
self assign
したか