Skip to content

jsdialog: client-rendered customwidget framework + CSV grid#15708

Closed
shardulvs wants to merge 1 commit into
mainfrom
private/shardulvs/clientcsvgrid2
Closed

jsdialog: client-rendered customwidget framework + CSV grid#15708
shardulvs wants to merge 1 commit into
mainfrom
private/shardulvs/clientcsvgrid2

Conversation

@shardulvs
Copy link
Copy Markdown
Contributor

Add JSDialog.customWidget, a generic dispatcher for widgets the server emits as { type: 'customwidget', customType, data }. Handlers register through JSDialog.registerCustomWidgetHandler and own both their rendering and event dispatch back to the server. This lets a widget render natively in the client instead of rendering it on the core first and tunneling it to the client.

Add Widget.CsvGrid: the client side of the rewritten ScCsvGrid in core. It draws the ruler and the data preview as a single widget, handles the column-type popup locally, and sends column selection, column-type and split-toggle events back to the server.

Change-Id: I1b9f25e6d3efcbe461e4e9311706f5cfad1da478

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

Add JSDialog.customWidget, a generic dispatcher for widgets the server
emits as { type: 'customwidget', customType, data }. Handlers register
through JSDialog.registerCustomWidgetHandler and own both their
rendering and event dispatch back to the server. This lets a widget
render natively in the client instead of rendering it on the core first
and tunneling it to the client.

Add Widget.CsvGrid: the client side of the rewritten ScCsvGrid in core.
It draws the ruler and the data preview as a single widget, handles the
column-type popup locally, and sends column selection, column-type and
split-toggle events back to the server.

Signed-off-by: Shardul Vikram Singh <shardul.singh@collabora.com>
Change-Id: I1b9f25e6d3efcbe461e4e9311706f5cfad1da478
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Thank you for your contribution! However, the main branch on GitHub is not used for this project. Please submit patches to the main branch of the online repo at https://gerrit.collaboraoffice.com.

See CONTRIBUTING.md for details. This PR has been automatically closed.

@github-actions github-actions Bot closed this May 4, 2026
@github-project-automation github-project-automation Bot moved this from To Review to Done in Collabora Online May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant