Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: hide actions and notifications from deleted workspaces#12563

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
aslilac merged 1 commit intomainfromhide-actions-on-deleted-workspaces
Mar 13, 2024

Conversation

aslilac
Copy link
Member

@aslilacaslilac commentedMar 12, 2024
edited
Loading

Closes#12561

Don't bother showing the action buttons et al if the workspace has been deleted

@aslilacaslilac requested review froma team,code-asher andParkreiner and removed request fora team andcode-asherMarch 12, 2024 22:15
Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

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

Looks good! Left a comment, but I think the code is safe to merge as-is

Comment on lines +109 to +111
const isImmutable =
workspace.latest_build.status === "deleted" ||
workspace.latest_build.status === "deleting";
Copy link
Member

Choose a reason for hiding this comment

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

Quick shout: we do still have logic in theWorkspacesActions component to handle the deletion statuses. I'm not sure if you saw that, but I actually think we should keep them, as a form of double-bookkeeping. Not sure what you think, though

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

yeah, let's go with that. :) (it probably is helpful to make sure we don't regress in a big way)

@aslilacaslilac merged commitefba477 intomainMar 13, 2024
@aslilacaslilac deleted the hide-actions-on-deleted-workspaces branchMarch 13, 2024 17:43
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 13, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali left review comments

@ParkreinerParkreinerParkreiner approved these changes

Assignees

@aslilacaslilac

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

remove the duplication on the workspace page when a workspace is deleted
3 participants
@aslilac@matifali@Parkreiner

[8]ページ先頭

©2009-2025 Movatter.jp