Projects list: add a "Project details" button on the active project

オープン 初心者向け
#216 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

app/src/pages/Projects.jsx から始めてください。ここで行のアクション(開く、アクティブに設定、複製、エクスポート、削除)が描画されており、isCurrentProject のチェックは 268 行目付近にあります。app/src/components/layout/AdminMenu.jsx の 91 行目付近を読み、既存の /projects/edit/<id> へのリンクと navigation.projectDetails のラベルがどのように使われているかを確認してください。アクティブなプロジェクトの行に、そのページを開く "Project details" ボタンが表示され、他の行には表示されないことが完了条件です。

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

説明

enhancement projects

The projects list has no way to open a project's details; add a "Project details" button that appears on the active project's row only.


  • Today. The only link to the details page is in the Admin menu (AdminMenu.jsx:91). The row actions in the projects list are open, set active, duplicate, export and delete.
  • Change. Show the button only where isCurrentProject is true (Projects.jsx:268). It goes to /projects/edit/<id>, the same page as the Admin menu item, and reuses the existing navigation.projectDetails label.

Done when: the active project's row has a "Project details" button that opens its details page, and no other row shows it.

Start: Projects.jsx.

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

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

tsiger/widgetizer のほかの issue

tsiger/widgetizer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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