Highlight the active line in the code editor
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
Monaco Editor が初期化され、面接のアクティブ状態が管理されているフロントエンドの面接ページを見つけてください。確認ダイアログと dirty 状態のスタイルを追加するために、End interview ボタンのコンポーネントと Run tests ボタンを見つけてください。Monaco Editor のオプションで renderLineHighlight: 'all' を有効にし、面接の開始時に beforeunload リスナーを追加してください。フロントエンドのテストスイートを実行して変更を確認してください。
索引モデルが issue の本文から書いたものです。
説明
Motivation
During an interview, interviewees often navigate long code snippets or discuss specific line numbers referenced by the interviewer. Currently, the editor lacks a distinct active line highlight (similar to LeetCode or VS Code), making it harder to visually track the caret's position quickly.
Adding an active line highlight—alongside visual aids like #254—will improve readability and debugging focus in the editor.
Proposal
Enable the renderLineHighlight: 'all' option in the Monaco Editor initialization settings. This provides a distinct background highlight for the entire line where the caret is currently placed without affecting the interview flow.
The expected user flow is:
- The user enters the interview and clicks or types in the Monaco Editor.
- The line containing the caret displays a clear background highlight across both the gutter and the code area.
- Moving the caret to another line moves the highlight accordingly.
Environment
- OS: Windows 11 (x86_64)
- Browser: Google Chrome / Microsoft Edge
If these proposals look good , I would be happy to implement them.
- 主要言語
- Rust
- スター
- 144
- フォーク
- 41
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 94
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sysprog21/codetrial のほかの issue
-
Support configurable and randomized interviewer voices and accents対応中かも @MorganHo001 が今日担当しました。 オープン
sysprog21/codetrial#261 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
sysprog21/codetrial#258 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Add an example drawing area to coding interviews対応中かも @Chuyutseng が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
sysprog21/codetrial#255 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Add indentation guides to the code editor対応中かも @sidney-Hung が 1 日前に担当しました。 オープン
sysprog21/codetrial#254 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
sysprog21/codetrial の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
ajeetraina/awesome-docker-sbx#220 ·
-
`helios / deploy`: switch zone wait in `deploy.sh` has almost no headroom over healthy startup times対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンTest Flake
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
oxidecomputer/omicron#11453 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/adaptive-apps#58 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信