Commit Graph
21 Commits
Author SHA1 Message Date
John Colvin 95d3f643d5 Remove "BTS Cloud Streams" title from webapp
Space is precious when viewing on phone (tbh, it didn't look that good
anyways).
2024-11-29 14:57:44 +00:00
John Colvin 61427533d3 Replace ErrorView component w/ robust QueryStatusView 2024-11-29 14:57:44 +00:00
John Colvin a84af452af Fix typos in query button theme 2024-11-29 14:57:44 +00:00
John Colvin 9de72db6fd Change VITE_DATASTREAM_WEBSOCKET_URL to localhost 2024-11-29 14:57:44 +00:00
John Colvin 2241da9f9e Move misplaced log abt initializing query text to appropriate place 2024-11-29 14:57:44 +00:00
John Colvin 5b9302a3f0 Include subscription id in ds websocket updates 2024-11-29 14:57:44 +00:00
John Colvin 3dec8153f6 Log event data in websocket open, close, error callbacks 2024-11-29 14:57:44 +00:00
John Colvin 2b47263453 refactor: Bring back Material DataGrid
Fix the column resize bugs that made it previously unusable
2024-11-29 14:57:44 +00:00
John Colvin 4539113b70 refactor: Improve react webapp state management
* Add queryTextResetTime as part of the CannedQuery state
  (the QueryControl compares the canned query click time with the time of the
  last user input, and applies the text from the most recent change)

* Replace 'isRunning' (bool) with a 'queryState' (string) to reflect the subscription status
  value received from the server. Less indirection this way.

* Replace inappropriate useMemo call w/ useEffect
2024-11-29 14:57:44 +00:00
John Colvin f6bac8750b cleanup: Get rid of magic const (subscriptionId) in webapp App.jsx 2024-11-29 14:57:44 +00:00
John Colvin da14a2b4ae fix: Copy canned queries to clipboard on click
Instead of trying to update the text directly, which causes the front end
to overwrite the user's changes everytime the data updates from then on.
2024-11-29 14:57:43 +00:00
John Colvin b9a5e91cad Increase datagrid maxheight in ds webapp to 1000px 2024-11-29 14:57:43 +00:00
John Colvin 2770e01726 Improve error display in ds webapp 2024-11-29 14:57:43 +00:00
John Colvin 729e9f35ae Tweak DataGrid style in DataStream WebApp 2024-11-29 14:57:43 +00:00
John Colvin c59345dc0a fix: Add VITE_ prefix to imported env vars
For the DataStream WebApp client
2024-11-29 14:57:43 +00:00
John Colvin d277495610 fix: Import websocket url from environment var 2024-11-29 14:57:43 +00:00
John Colvin fc40ea412f cleanup: Remove unused code in Bts.DataStreamWebApp.Client 2024-11-29 14:57:43 +00:00
John Colvin 0e198e0ebf Hardcode webSocketUrl to aws server in DataStreamWebApp client 2024-11-29 14:57:43 +00:00
John Colvin b058cde0ca data stream web app client check pt 2024-11-29 14:57:43 +00:00
John Colvin a5670d2aaa datastream webapp client check pt 2024-11-29 14:57:43 +00:00
John Colvin 806c204f08 feat: Add DataStream WebApp
Included in DataStreamSuite.sln, but not DataStreamQueryAnalyzer.sln
2024-11-29 14:57:13 +00:00