Series link: include state ID in the URL

未关闭
#592 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
python
领域
web-dev

调研方向

从 /project/${PROJECT}/list/ 中的系列名称链接开始,跟踪现有 state 查询参数的读取方式以及系列 URL 的构建方式。当之前已设置 state 时,系列链接能够保留选定的 state,并同时生成所请求的系列和 state 查询参数,即表示完成。

由索引模型根据 Issue 内容生成。

描述

enhancement

Hello,

First, thank you for developing and maintaining this great tool!

Could it be possible to duplicate the state=(...) in the URL of a series?

For example, if I'm on a page: /project/${PROJECT}/list/?state=*, and I click on a series name, it will redirect me to /project/${PROJECT}/list/?series=${SERIES_ID}. If the patches are in a non "Action Required" state, the list will be empty, I then need to change the filter again.

Could it be possible to amend the URL to add &state=${STATE} if the state was previous set?
So to redirect to /project/${PROJECT}/list/?series=${SERIES_ID}&state=${STATE} instead.

主要语言
Python
星标
317
派生
91
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

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

getpatchwork/patchwork 的其他 Issue

查看 getpatchwork/patchwork 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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