-
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
feat: ポモドーロタイマーの機能 #134
feat: ポモドーロタイマーの機能 #134
Conversation
src/renderer/src/App.tsx
Outdated
}; | ||
}, []); | ||
|
||
// useEffect(() => { |
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.
ここはたぶん、コメントアウトを戻すのを忘れたのではないかと思うので確認してください
@Hirotaka-Hanai |
@msato-ok |
|
@Hirotaka-Hanai ただし、まだ問題が2つ出ています。 |
@msato-ok |
@Hirotaka-Hanai |
get tableName(): string { | ||
return 'userPreference.db'; | ||
} | ||
|
||
async get(userId: string): Promise<UserPreference | undefined> { | ||
return await this.dataSource.get(this.tableName, { userId: userId }); | ||
return { |
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.
なるほど、デフォルト値の埋め込みは、確かに、こうしておかないとダメですね。
なぜ、こういう実装になっているか、クラス全体のドキュメントコメントのところに、説明を書いておいてもらってもいいですか?
Nit:
実装済コードがそうなのだけど、全般的にコメントが書けていないので、まとめて書くという作業も必要になりそうです。これは、別のタスクで対応します。
@Hirotaka-Hanai |
@msato-ok |
LGTM スカッシュして、マージしてください。 |
チケット
#92
実装内容
ユニットテスト懸念点
npm start
による開発環境だけで発生している。npm run build
を行ってビルドしたアプリでは現状正常に動作している。