Let candidates save and switch between named session setups

オープン
#591 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@domin67 がすでに取り組んでいます。

2026年11月5日 から。

評価

この issue はまだ評価されていません。

説明

Problem

CodeTrial currently remembers only the most recently used session settings.

Try Again can restore the settings from one past attempt, but neither behavior
allows candidates to keep multiple reusable configurations.

Candidates who practice under different interview scenarios must repeatedly
reconfigure the lobby whenever they switch between them.

For example, a candidate may regularly use:

  • a 30-minute coding-only session using the editor;
  • a 60-minute coding-and-behavioral session using the whiteboard; and
  • a 45-minute coding-and-behavioral session using the editor, with code
    execution and syntax highlighting disabled.

Recreating these combinations requires changing Session length, Interview
format, and several Editor options each time.

Desired outcome

Allow candidates to save the current session configuration under a name.

For example, a candidate could save:

  • Quick coding
  • Full mock
  • Whiteboard practice

Candidates can switch between saved setups by selecting a different name from
the list. The corresponding session settings should update immediately.

Proposed first scope

Add a browser-local Saved setups control to the "Set up your session" panel.

A saved setup would include only controls already shown in that panel:

  • session duration;
  • coding-only or coding-and-behavioral loop;
  • editor or whiteboard mode;
  • example drawing and candidate-led coding;
  • editor options.

Candidates should be able to save, switch between, update, and delete saved
setups. Selecting a different setup name should immediately restore its
settings.

The UI should clearly state that saved setups are kept only in the current
browser.

Prototype

A local prototype demonstrates the proposed interaction.

The Presets control opens the Saved setups dialog. Candidates can save the
current settings under a name, select a saved name to immediately restore its
settings, or delete a saved setup.

Lobby
Image
Saved setups
Image
Acceptance criteria
  • Candidates can save multiple session configurations under different names.
  • Selecting a saved setup immediately restores its Session length, Interview
    format, and Editor options.
  • Saving with an existing name updates that setup instead of creating a
    duplicate.
  • Switching setups does not change the selected problem, difficulty filters,
    or optional interview context.
  • Saved setups remain available after reloading the lobby.
  • Existing last-used-setting and Try Again behavior remains unchanged.
Relationship to existing work

This is a follow-up to issue #207 and PR #269, not a replacement for them.
Those changes remember the latest lobby settings and restore settings from a
past attempt. This proposal adds multiple user-named configurations.

If this scope fits the project's lobby workflow direction, please assign the
issue to me. I will wait for scope confirmation before opening a pull request.

主要言語
Rust
スター
223
フォーク
148
平均マージ
1日 11時間
マージ済み PR(30日)
224

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sysprog21/codetrial のほかの issue

sysprog21/codetrial の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。