dashboard/shell/plugins/steve/__tests__
Richard Cox a91f0303db Revert fixes for list vs individual watch handling
- 9318936c72
- BUG 1
  - Navigating from nodes list to a node detail page unwatches nodes list but doesn't watch new resources
  - Node's list destroy has a forgetType node
    - this removes entries from store and unwatches nodes list watch
    - we clear the fact we're watching the node list once we receieve a resource.stop from socket
  - There's a race condition, the node we're going to is still in the store... but the find action for this doesn't kick off a watch for the rsource
  - This was resolved by the change in the find action
- BUG 2
  - Refreshing on the detail page results in a watch for that specific node
  - Navigating to the list starts a watch for all nodes, but doesn't stop the individual watch
  - This was resolved by the change in subscribe
- HOWEVER
  - These fixes could impact how what we watch in other cases where we might call find all and find specific in the same context
  - Safer to address later
2024-03-26 16:59:14 +00:00
..
utils Add unit tests 2024-03-04 14:30:41 +00:00
getters.spec.ts Changes following review 2024-03-08 11:25:32 +00:00
header-warnings.spec.ts add growl message to display warning messages from response headers (#9581) 2023-08-29 09:54:25 +01:00
mutations.test.ts Add unit tests 2024-03-04 14:30:41 +00:00
resource-utils.test.ts test(resource-utils): add unit test for cleanForDownload method 2024-02-02 09:03:08 +08:00
steve-class.spec.ts Include metadata clusterName, deletionPeriodSeconds and generateName properties in steve objects 2024-01-02 10:49:35 +00:00
subscribe.spec.ts Revert fixes for list vs individual watch handling 2024-03-26 16:59:14 +00:00