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

ベンチマーク関連ページの実装 #26

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

cp-20
Copy link
Contributor

@cp-20 cp-20 commented Jan 7, 2025

No description provided.

@cp-20 cp-20 requested a review from a team January 7, 2025 15:20
Copy link
Member

@ikura-hamu ikura-hamu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとう
statusがwaiting or runningであれば、statusがfinishedになるまでポーリングをしてログを更新し続けてほしいです。バックエンド無いとやりにくいから後からということならok

</div>
</div>
<div class="bench-log-container">
<pre><code>{{ log }}</code></pre>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logの行数は1始まりがいいかも

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そもそも行数を付ける気はなかったです (コードではないので、行数はいらなさそう & たぶんベンチマークのログに時刻がついてる)

</script>

<template>
<div class="bench-list">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

スコアで並び替えたり実行ユーザーとかステータスで絞り込めたらうれしいかも
後からでもいい

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ちょっとめんどくさいので、後からやることにします

client/src/mock/handlers.ts Dismissed Show dismissed Hide dismissed
@cp-20
Copy link
Contributor Author

cp-20 commented Jan 9, 2025

#27 がないと型エラーが起きる

<div v-if="bench" class="bench-detail-container">
<div class="bench-score-container">
<div class="bench-score-label">スコア</div>
<div v-if="bench.score !== undefined" class="bench-score-content">{{ bench.score }}</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

スコアをコンマ区切り(123,456)で書きたいかも

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

Successfully merging this pull request may close these issues.

2 participants