Skip to content
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

Feature 431. Migrate to AG Grid and direct streaming #463

Closed
wants to merge 67 commits into from
Closed
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
7c8b3a8
Remove a view model file with unused imports
MytsV Aug 16, 2024
f1fb240
Set up testing for react hooks
MytsV Aug 17, 2024
1d6d7f3
Create a new hook for direct streaming and write tests for its basic …
MytsV Aug 17, 2024
2dc33b7
Refactor the useChunkedStream hook
MytsV Aug 17, 2024
838f61e
Change MockViewModel to not inherit BaseViewModel
MytsV Aug 17, 2024
9c8ead5
Use enum values in hook tests instead of strings
MytsV Aug 17, 2024
1de2166
Implement error handling and use cover it with tests
MytsV Aug 17, 2024
ed52239
Implement stopping and cover it with tests
MytsV Aug 17, 2024
c8c70d8
Add a test for stopping after some data was sent
MytsV Aug 17, 2024
f91fe5c
Remove unused import from the useChunkedStream hook
MytsV Aug 17, 2024
0c66113
Add a useChunkedStream test to ensure failing at the non streamed end…
MytsV Aug 17, 2024
8135d64
Implement pausing for the streaming hook and cover it with tests
MytsV Aug 17, 2024
75379f9
Update error handling in the streaming hook and change tests accordingly
MytsV Aug 17, 2024
a170201
Improve the error handling of streaming and write more tests
MytsV Aug 17, 2024
474d66c
Implement a hook for throttling array updates
MytsV Aug 18, 2024
f341d23
Cover array throttling hook with unit tests
MytsV Aug 18, 2024
488119e
Change the interface of useChunkedStream
MytsV Aug 19, 2024
847d4cb
Add AG Grid and Shadcn/ui dependencies
MytsV Aug 20, 2024
98683b3
Implement AG Grid in RSE list
MytsV Aug 20, 2024
8d2c2cf
Add a fixture for the new streaming hook and fix the stories
MytsV Aug 20, 2024
919ee90
Fix table responsiveness
MytsV Aug 20, 2024
687ea8e
Style the AG Grid
MytsV Aug 20, 2024
b3ed647
Add error/no data handling component to the AG Grid
MytsV Aug 20, 2024
f558e67
Fix styling and add stop/pause components
MytsV Aug 20, 2024
ee8ffaf
Fix UI of searching/stopping by making it more intuitive
MytsV Aug 20, 2024
2dc9cdc
Make clicking enter while searching not cause data removal
MytsV Aug 20, 2024
7197770
Make the RSE name lead to the RSE page
MytsV Aug 20, 2024
9260fe5
Add hook tests to a workflow
MytsV Aug 21, 2024
28b2d7d
Implement custom filters for boolean and discrete values
MytsV Aug 24, 2024
5af488f
Improve a custom clickable cell
MytsV Aug 24, 2024
29e8dc0
Implement colorful badges for discrete values
MytsV Aug 24, 2024
1b43130
Implement a colorful fake checkbox to represent boolean values in the…
MytsV Aug 24, 2024
8b11449
Improve badge cell border and wrapper style definition
MytsV Aug 24, 2024
2cdad0e
Improve responsibility and add a custom pagination
MytsV Aug 24, 2024
0b520c9
Remove unused imports
MytsV Aug 24, 2024
a39acd4
Fix style definitions for a cell wrapper
MytsV Aug 24, 2024
4bfa23e
Fix storybook background color
MytsV Aug 24, 2024
40c60d3
Configure shadcn/ui
MytsV Aug 24, 2024
c55bcb9
Improve overlays and add shimmering to the table loading
MytsV Aug 24, 2024
6457d01
Add a spinner to overlays and improve error handling
MytsV Aug 24, 2024
13225d9
Decompose and document the table components
MytsV Aug 24, 2024
38eaedb
Rename the AG Grid theme stylesheet and move its import
MytsV Aug 24, 2024
bf3f5f0
Suppress column moving
MytsV Aug 24, 2024
24ff4cb
Made the table configurable for selection
MytsV Aug 25, 2024
12ca8c7
Replace ComDOM in the DID list with the direct streaming and the new …
MytsV Aug 25, 2024
79c4423
Remove ListDID test
MytsV Aug 25, 2024
f6bbdaa
Fix ListDIDs storybook and a bug with stretching and pagination
MytsV Aug 25, 2024
74a29d7
Remove ListDIDTable stories
MytsV Aug 25, 2024
8c9acca
Make the streaming hook set 404 error when the response is empty and …
MytsV Aug 25, 2024
4c0b406
Add a stop button
MytsV Aug 25, 2024
84268c6
Made the selection table color brighter
MytsV Aug 25, 2024
d732062
Make the RSE list load by default with * expression
MytsV Aug 25, 2024
d1756c4
Fix loading the mock data in list rule
MytsV Aug 25, 2024
afadc58
Fix file replica view model naming convention
MytsV Aug 26, 2024
8e181c6
Change the name of metaQuery parameter
MytsV Aug 26, 2024
96e34f9
Remove an unused flex property from list DID table
MytsV Aug 26, 2024
684f428
Add data invalidation handling to the streaming hook
MytsV Aug 26, 2024
caf8359
Fix imports for a renamed view model
MytsV Aug 27, 2024
87aa5ac
Reimplement the streaming with a web worker
MytsV Aug 29, 2024
4d9b3b3
Fix storybooks for the new streaming implementation
MytsV Aug 29, 2024
39f7bb4
Set up the app and storybook for light/dark mode switching
MytsV Aug 31, 2024
8b09bcd
Make the basic table styling responsive to light/dark mode switching
MytsV Aug 31, 2024
085706e
Improve theme responsiveness of all table components
MytsV Aug 31, 2024
861b849
Improve the look of the table pagination panel
MytsV Aug 31, 2024
eca5229
Add advanced navigation buttons to the pagination panel
MytsV Aug 31, 2024
66e2acc
Make web worker errors match the StreamingErrorType
MytsV Sep 1, 2024
e8b887e
Fix text color mode of the table
MytsV Sep 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/api-and-component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: API and Component Tests
name: API, Component and Hook Tests
on:
push:
branches:
Expand All @@ -8,7 +8,7 @@ on:
- master
jobs:
test:
name: Test API and Components
name: Test API, Components and Hooks
strategy:
matrix:
node-version: [18.16.1, 20.4.0]
Expand All @@ -25,4 +25,6 @@ jobs:
run: npm run test:component
- name: Run API Tests
run: npm run test:api
- name: Run Hook Tests
run: npm run test:hook

3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
projects: [
projects: [
'<rootDir>/test/api/jest.api.config.js',
'<rootDir>/test/component/jest.component.config.js',
'<rootDir>/test/hook/jest.hook.config.js',
'<rootDir>/test/gateway/jest.gateway.config.js',
'<rootDir>/test/sdk/jest.sdk.config.js',
],
Expand Down
Loading
Loading