Skip to content

feat(page-element): add editable option to the dataset table block#94

Merged
BatLeDev merged 2 commits into
masterfrom
feat-editable-dataset-table
Jul 6, 2026
Merged

feat(page-element): add editable option to the dataset table block#94
BatLeDev merged 2 commits into
masterfrom
feat-editable-dataset-table

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Jul 2, 2026

Copy link
Copy Markdown
Member
  • Adds a "Tableau éditable" (editable table) option to the dataset table page-element block.
  • When enabled, the block embeds data-fair's table-edit view: authorized users edit rows in place, everyone else keeps the read-only table (read-only degradation is handled natively by data-fair, no error).
  • The option is only shown in the page editor for REST (editable) datasets with interactions enabled — isRest is now captured when the dataset is selected.

Why: let people with write permission edit dataset rows directly from a portal page.

Heads-up: relies on data-fair exposing the /embed/dataset/:id/table-edit route in the deployed version.

When enabled, the block embeds data-fair's table-edit view so authorized
users can edit rows in place while others keep the read-only table. The
option is only offered in the editor for REST (editable) datasets with
interactions enabled.
@BatLeDev BatLeDev merged commit 243934f into master Jul 6, 2026
3 checks passed
@BatLeDev BatLeDev deleted the feat-editable-dataset-table branch July 6, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant