Skip to content

Update Error handling#7007

Merged
bramkragten merged 3 commits intodevfrom
media-browser-error-handle
Sep 15, 2020
Merged

Update Error handling#7007
bramkragten merged 3 commits intodevfrom
media-browser-error-handle

Conversation

@zsarnett
Copy link
Copy Markdown
Contributor

Breaking change

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

<paper-item .itemName=${source.entity_id}
>${computeStateName(source)}</paper-item
<mwc-list-item
?noninteractive=${UNAVAILABLE_STATES.includes(source.state)}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
?noninteractive=${UNAVAILABLE_STATES.includes(source.state)}
.disabled=${UNAVAILABLE_STATES.includes(source.state)}

Comment on lines 91 to 93
mwc-list-item[noninteractive] {
color: var(--disabled-text-color);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
mwc-list-item[noninteractive] {
color: var(--disabled-text-color);
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We should still show the disabled color?

So I want to either class map or ?disabled and use the attribute

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a disabled mwc-list should have disabled color, if not we should set the right vars.

@bramkragten bramkragten merged commit 9659c97 into dev Sep 15, 2020
@delete-merged-branch delete-merged-branch bot deleted the media-browser-error-handle branch September 15, 2020 12:32
@bramkragten bramkragten mentioned this pull request Sep 15, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants