Skip to content

feat: instances view (replaces the table component)#166

Merged
donghaoren merged 1 commit intomainfrom
dom/instances
Mar 4, 2026
Merged

feat: instances view (replaces the table component)#166
donghaoren merged 1 commit intomainfrom
dom/instances

Conversation

@donghaoren
Copy link
Collaborator

@donghaoren donghaoren commented Mar 4, 2026

  • New Instances view: Replaces the standalone @embedding-atlas/table package with a new unified "Instances" chart type that supports both table and cards view modes. The new implementation lives in packages/viewer/src/charts/instances/ and includes sorting, pagination, and custom SQL query.

  • Removed @embedding-atlas/table package: Deleted the entire packages/table/ directory (~3,500 lines) as the functionality is now replaced by the new instances view..

  • Liquid template support: Use liquidjs (https://liquidjs.com/) for template rendering in column renderers and custom card templates. This allows users to use their own HTML for their cards and table cells.

  • Multi-point highlight: Updated the highlight system to support multiple selected points, with corresponding changes in the Embedding view.

  • Column styles: Enhanced column style support with per-view overrides for the instances view; save the column styles to the app state so they can be recovered when the app is reloaded.

  • Copy state button: Add a button to copy the app's state as JSON to clipboard.

Breaking changes:

  • table view type is removed.
  • The tableCellRenderers prop for the EmbeddingAtlas component is removed. Use registerRenderer and columnStyles in initialState to set custom renderers.

Co-Authored-By: Dominik Moritz <589034+domoritz@users.noreply.github.com>
@donghaoren donghaoren requested a review from domoritz March 4, 2026 22:39
@donghaoren donghaoren merged commit d1d0b91 into main Mar 4, 2026
7 checks passed
@donghaoren donghaoren deleted the dom/instances branch March 4, 2026 23:33
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.

2 participants