Skip to content

Add basic project view management - #2961

Draft
zwick wants to merge 4 commits into
mainfrom
zwick-plan-project-v2-views
Draft

Add basic project view management#2961
zwick wants to merge 4 commits into
mainfrom
zwick-plan-project-v2-views

Conversation

@zwick

@zwick zwick commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds basic ProjectV2 view lifecycle support to the consolidated Projects tools: list/get views plus create/update/delete with name, layout, and filter. Create supports visible fields by database ID or case-insensitive field name.

Why

Tracks #2954. Release readiness and live validation are gated on the required APIs being generally available without preview headers.

What changed

  • Added list_project_views and get_project_view with normalized output, pagination, and project-content IFC labels.
  • Added create_project_view, update_project_view, and delete_project_view; create uses the public REST endpoint and can resolve visible_field_names to the required database IDs.
  • Verify update/delete view ownership against the requested owner and project before mutation.
  • Added focused lifecycle tests, tool snapshots, Projects instructions, and generated README docs.

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed - extends the existing consolidated Projects tools with five methods.
  • New tool added

Prompts tested (tool changes only)

  • Pending general API availability without preview headers: list views, create a filtered table view with visible fields, get it, update and clear its filter, then delete it.

Security / limits

  • No security or limits impact
  • Auth / permissions considered - existing read:project and project scopes are unchanged, and mutations verify the view belongs to the requested project.
  • Data exposure, filtering, or token/size limits considered - read results use project-content IFC labels and list pagination remains capped at 50.

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
  • Updated (README / docs / examples)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c6f8ede6-efee-4191-900d-59a1bb0af000
@zwick
zwick force-pushed the zwick-plan-project-v2-views branch from 861109f to 8fb2181 Compare July 27, 2026 17:26
@zwick zwick linked an issue Jul 27, 2026 that may be closed by this pull request
zwick added 3 commits July 27, 2026 13:53
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c6f8ede6-efee-4191-900d-59a1bb0af000
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c6f8ede6-efee-4191-900d-59a1bb0af000
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c6f8ede6-efee-4191-900d-59a1bb0af000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add basic Project view lifecycle operations to the Projects tools

1 participant