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

Remove workspace from dashboard #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

AnoldGH
Copy link

@AnoldGH AnoldGH commented Mar 8, 2025

This PR introduces a new button on the workspace card that allows users to remove the workspace from their dashboard after confirmation.

It does it by removing the workspace record from the local db and refresh the list. There is a special case where users have multiple tabs open on the same Ownly instance. If a workspace is removed in one tab while another tab is still active within that workspace, it is observed that the user can still edit the file they are on and push the changes but as soon as any redirections (e.g. switching to another file) happen they will be redirected to the home page since the workspace can no longer being found.

@AnoldGH AnoldGH changed the title feat: remove workspace from dashboard Remove workspace from dashboard Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant