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

FIX Do not show delete button when disabled #206

Merged

Conversation

emteknetnz
Copy link
Member

Issue #203

On the initial disabled card we decided:

We discussed whether disabled or readonly should have any practical difference. We concluded it wasn't really worth treating them as separate use cases.

The readonly state will simply not show the archive/disable button rather than having it in a disabled state. Because of what was decided on the original disabled card I've opted to treat the disabled state exactly the same.

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Makes sense. I don't necessarily agree with the decision that was originally made, but I'm okay with abiding with it given it has been made. This is better than the previous behaviour in any case.

@GuySartorelli GuySartorelli merged commit 533f9ed into silverstripe:4 Feb 7, 2024
10 checks passed
@GuySartorelli GuySartorelli deleted the pulls/4/disabled-delete branch February 7, 2024 21:17
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.

2 participants