Skip to content

Conversation

BrunoQuaresma
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma commented May 7, 2025

We've been using an abstraction that was not necessary to fetch workspaces data. I also took sometime to use the new useWorkspaceUpdate hook in the update workspace tooltip that was missing some important steps like confirmation.

@BrunoQuaresma BrunoQuaresma requested a review from a team May 7, 2025 14:39
@BrunoQuaresma BrunoQuaresma self-assigned this May 7, 2025
@BrunoQuaresma BrunoQuaresma requested review from bcpeinhardt and removed request for a team May 7, 2025 14:39
@@ -17,102 +20,99 @@ import { usePopover } from "components/deprecated/Popover/Popover";
import { linkToTemplate, useLinks } from "modules/navigation";
import type { FC } from "react";
import { useQuery } from "react-query";

const Language = {
Copy link
Contributor

Choose a reason for hiding this comment

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

I kinda like the pattern of putting all the language in a constant but it truly doesn't matter haha.

latestVersionId: string;
onUpdateVersion: () => void;
ariaLabel?: string;
workspace: Workspace;
Copy link
Contributor

Choose a reason for hiding this comment

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

Big fan 😎

limit: 0,
q: `template:${template.name}`,
});
const { data } = useQuery(
Copy link
Contributor

Choose a reason for hiding this comment

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

Big fan 😎

@BrunoQuaresma BrunoQuaresma merged commit 4341403 into main May 8, 2025
29 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/remove-workspaces-data branch May 8, 2025 12:42
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2025
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy