-
-
Notifications
You must be signed in to change notification settings - Fork 151
feat(frontend): add support for non-public contest #667
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
Conversation
skip_serialize を外すついでにもう一回バックエンドをデプロイし直してみます。 |
ありがとうございます。そうしたら |
待って… ここのロジックがちょっと複雑ので、間違ったかもしれませんが… |
|
そうすれば、この PR の機能は全部書き換えるあともう一度作ったほうがいい?( 今はどこか |
全部一気にやらずに、必要なところだけ VirtualContest → VirtualContestInfo すれば良いと思います。 |
しました |
POST data (
これは正しいですか? |
私がデバッグできるものはここまでだと思います... すみません。 |
ddd21450-d07a-43ab-accc-9cd49d9be20e はちゃんと is_public=false になってました |
大丈夫になりました(どうして?) では、必要な部分で VirtualContest → VirtualContestInfo しますか? |
…into feat-contest
今は 例えば、 新しい、 |
|
Backend の Tests 直すことを忘れてしまいました… |
機能を実装して、テストを直しました。 Rust 書く経験が少ないです。レビューお願いします。 |
atcoder-problems-backend/src/sql/internal/virtual_contest_manager.rs
Outdated
Show resolved
Hide resolved
atcoder-problems-frontend/src/pages/Internal/VirtualContest/ContestConfig.tsx
Outdated
Show resolved
Hide resolved
よさそう。後ほどマージします。 |
Fixes #550. Ref. #653.
skip_serializing
があるので、ContestUpdatePage
はis_public
が知らなくて使えなさそうです。is_public
を設定しても、コンテストは見えるようです。(Incognito に見える)これは私の実装の問題かもしれませんが…プレビュー