Skip to content

feat(base): add view visible fields shortcut#63

Closed
timzhong1024 wants to merge 1 commit intolarksuite:mainfrom
timzhong1024:codex/view-set-visible-fields
Closed

feat(base): add view visible fields shortcut#63
timzhong1024 wants to merge 1 commit intolarksuite:mainfrom
timzhong1024:codex/view-set-visible-fields

Conversation

@timzhong1024
Copy link
Copy Markdown
Contributor

@timzhong1024 timzhong1024 commented Mar 29, 2026

Summary

  • add base +view-set-visible-fields for PUT /open-apis/base/v3/bases/:base_token/tables/:table_id/views/:view_id/visible_fields
  • accept either a raw string array or { "visible_fields": [...] } and reuse the existing wrapped view-property flow
  • add shortcut coverage and docs, including the backend behavior that primaryField is always visible and forced to the first position

Merge Status

  • draft only for now; do not merge yet
  • blocked by backend rollout: the corresponding visible_fields endpoint is not available yet
  • switch to ready-for-review only after the backend API is online and end-to-end verification is possible

Testing

  • not run locally in this environment (go / gofmt are unavailable)

Resolves #34

@timzhong1024 timzhong1024 marked this pull request as draft March 29, 2026 13:32
@zgz2048 zgz2048 self-assigned this Mar 30, 2026
@zgz2048 zgz2048 added the domain/base PR touches the base domain label Mar 30, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@zgz2048 zgz2048 closed this Apr 10, 2026
@zgz2048
Copy link
Copy Markdown
Collaborator

zgz2048 commented Apr 10, 2026

see #326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/base PR touches the base domain

Projects

None yet

Development

Successfully merging this pull request may close these issues.

飞书的视图创建的时候,字段是乱序的。

3 participants