Skip to content

Display disabled review buttons - #1778

Merged
fregante merged 4 commits into
refined-github:masterfrom
busches:review-disabled-buttons
Feb 14, 2019
Merged

fregante merged 4 commits into
refined-github:masterfrom
busches:review-disabled-buttons

Conversation

@busches

@busches busches commented Feb 14, 2019

Copy link
Copy Markdown
Member

Enables the display of the disabled review buttons and takes the
aria-label of the label and turns it into a tooltip. Had to make the
tooltip go to the 'nw' to have it not cut off the screen.

image

dom-chef doesn't seem to support disabled={radio.disabled} as it was
including it even when false, unlike React which ignores false
properties, hence the extra lines for making them disabled still.

Closes #1646.

Enables the display of the disabled review buttons and takes the
aria-label of the label and turns it into a tooltip. Had to make the
tooltip go to the 'nw' to have it not cut off the screen.

dom-chef doesn't seem to support `disabled={radio.disabled}` as it was
including it even when false, unlike React which ignores false
properties, hence the extra lines for making them disabled still.

Closes refined-github#1646.
@fregante

Copy link
Copy Markdown
Member

dom-chef doesn't seem to support disabled={radio.disabled}

I opened vadimdemedes/dom-chef#33

@sindresorhus sindresorhus changed the title Display Disabled Review Buttons Display disabled review buttons Feb 14, 2019
@busches

busches commented Feb 14, 2019

Copy link
Copy Markdown
Member Author

Note, I tested this on GHE today and of course the markup is slightly different for the aria-labels. We're upgrading to 2.15 "soon" so hopefully that makes it a non-issue. Not worth fixing IMO.

@fregante
fregante merged commit 4e12272 into refined-github:master Feb 14, 2019
@busches
busches deleted the review-disabled-buttons branch February 14, 2019 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants