Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

feat(workspace): add dropdown - #123

Merged
peppescg merged 5 commits into
mainfrom
issues/105
Jan 20, 2025
Merged

peppescg merged 5 commits into
mainfrom
issues/105

Conversation

@peppescg

Copy link
Copy Markdown
Collaborator
  • open workspace list
  • refetch data on workspace click
  • search by workspace name
  • link to workspace list
Kapture.2025-01-20.at.11.03.46.mp4

Comment thread src/hooks/useSse.ts
eventSource.onmessage = function (event) {
queryClient.invalidateQueries({ refetchType: "all" });
if (event.data.toLowerCase().includes("new alert detected")) {
queryClient.invalidateQueries({ refetchType: "all" });

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need to refetch for the all events, but only for the alerts one

@coveralls

Copy link
Copy Markdown
Collaborator

Pull Request Test Coverage Report for Build 12865740487

Details

  • 10 of 16 (62.5%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.9%) to 64.986%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/features/workspace/components/workspaces-selection.tsx 8 14 57.14%
Totals Coverage Status
Change from base Build 12865028393: 0.9%
Covered Lines: 473
Relevant Lines: 653

💛 - Coveralls

@peppescg
peppescg merged commit 51fd254 into main Jan 20, 2025
@peppescg
peppescg deleted the issues/105 branch January 20, 2025 10:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants