Add examples for object-selection fields
维护者通常 1 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 72/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Start in docs/user-guide/authoring.md and review the existing reference for ObjectVar and MultiObjectVar options. Add working examples covering context labels, dependent query_params, the advanced selector, quick-add, optional selections, permissions, displayed labels versus submitted IDs, and the existing URL-prefilling mechanism; done means the examples use supported API response fields and keep Copy link and unreleased attribute references separate.
由索引模型根据 Issue 内容生成。
描述
Change Type
Addition
Proposed Changes
Expand docs/user-guide/authoring.md with working ObjectVar and MultiObjectVar examples. Cover context labels, dependent query_params, the advanced selector, and quick-add.
Use fields available in supported API responses. Explain displayed labels versus submitted IDs, optional selections, and the permissions needed to view or create related objects.
Include a short URL-prefilling example using the existing mechanism. Keep it distinct from the proposed Copy link action, and do not present attribute references such as $prefix.prefix as available before that feature ships.
The reference lists these options, but examples would make them easier to combine without adding another configuration API.
Related request: netbox-community/netbox#15595.
- 主要语言
- Python
- 星标
- 8
- 派生
- 0
- 平均合并
- 11 小时 35 分钟
- 30 天内合并 PR
- 20
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
netbox-community/netbox-scripts 的其他 Issue
-
app: scripts severity: medium status: backlog type: bug
难度 2/5 1-3 小时 新手友好度 72/100
netbox-community/netbox-scripts#83 ·
维护者通常 1 天内回复
-
app: scripts status: backlog type: documentation
难度 2/5 1-3 小时 新手友好度 85/100
netbox-community/netbox-scripts#80 ·
维护者通常 1 天内回复
-
app: scripts severity: medium status: backlog type: bug
难度 1/5 1 小时以内 新手友好度 88/100
netbox-community/netbox-scripts#79 ·
维护者通常 1 天内回复
-
app: scripts severity: medium status: backlog type: bug
难度 2/5 1-3 小时 新手友好度 72/100
netbox-community/netbox-scripts#77 ·
维护者通常 1 天内回复
-
app: scripts severity: low status: backlog type: bug
难度 2/5 1-3 小时 新手友好度 68/100
netbox-community/netbox-scripts#76 ·
维护者通常 1 天内回复
查看 netbox-community/netbox-scripts 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 79/100
aws-samples/sample-per-model-bedrock#639 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 86/100
awslabs/visual-asset-management-system#937 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
project-codeflare/codeflare-sdk#1195 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
pandas-dev/pandas-stubs#2051 ·
维护者通常 1 天内回复