Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Parameters of type "elementID" in MYR are shown as strings

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

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript, react
領域
frontend

調査の方向性

/src/myr/reference.js を読み、パラメータ型がどのように表現されているかを追跡することから始め、次に参照キーが構築される /src/components/Reference.js を調べます。既存の string 型がホバー表示にどのように到達するかを確認し、関連する参照のレンダリングパスを特定します。references ページで elementID パラメータが string と区別して表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation enhancement Reference

Description

In the references page, when hovering over functions that take an elementID as a parameter, it is shown that the type is a string. However, for some of these elementIDs, you either use groups or a function of the element itself, such as box(). This makes it unclear to the user because an elementID is not encapsulated by quotation marks and is usually an object you can see on the screen.

image

Potential Solution

Instead of having the attribute shown as a string, we can create a new attribute called elementID that shows a clear difference between a string and elements.

Additional Context

Most changes for this would be done in /src/myr/reference.js but one change for adding the elementID to the key in references would be done in /src/components/Reference.js

主要言語
JavaScript
スター
24
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

engaging-computing/MYR のほかの issue

engaging-computing/MYR の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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