-
Notifications
You must be signed in to change notification settings - Fork 28
SWC-7351 - Add a CRDT data grid #2011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ynapse server via the Grid Services API
…supports it. Also add lodash types
parameters: { | ||
stack: 'staging', | ||
msw: { | ||
handlers: [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIP - add Grid Services handlers and create a websocket handler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A mock server implementation would contain a lot of logic, so it might be easier to inject a mock websocket class than to implement a mock server. We can talk about it
packages/synapse-react-client/src/style/components/_data-grid-extra.scss
Show resolved
Hide resolved
…ct that clears session when sessionId changes
packages/synapse-react-client/src/components/DataGrid/DataGrid.tsx
Outdated
Show resolved
Hide resolved
packages/synapse-react-client/src/components/DataGrid/DataGrid.tsx
Outdated
Show resolved
Hide resolved
packages/synapse-react-client/src/components/DataGrid/DataGrid.tsx
Outdated
Show resolved
Hide resolved
packages/synapse-react-client/src/components/DataGrid/DataGrid.tsx
Outdated
Show resolved
Hide resolved
…nection, instead of immediately upon websocket connection. This prevents a transient internal server error
packages/synapse-react-client/src/components/DataGrid/DataGridWebSocket.ts
Outdated
Show resolved
Hide resolved
packages/synapse-react-client/src/components/DataGrid/DataGridWebSocket.ts
Outdated
Show resolved
Hide resolved
packages/synapse-react-client/src/components/DataGrid/useCreateGridSession.ts
Outdated
Show resolved
Hide resolved
…eGridSession.ts Co-authored-by: Nick Grosenbacher <[email protected]>
This reverts commit beed806.
Add a CRDT data grid that establishes a websocket connection with a Synapse server via the Grid Services API. Update the synapse-client OpenAPI spec primarily to allow
CreateGridRequest
objects to accept the parameterinitialQuery
. Updated version of #1952