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

未关闭 适合新手
#216 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tsiger/widgetizer 的其他 Issue

查看 tsiger/widgetizer 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。