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

Add disableConnectedAccountInformation #623

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

razor-x
Copy link
Collaborator

@razor-x razor-x commented Apr 27, 2024

  • feat: Add disableConnectedAccountInformation
  • Move DeviceInfo to component
  • feat: Add device info to lock DeviceDetails

Copy link
Contributor

@xplato xplato left a comment

Choose a reason for hiding this comment

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

Nice, LGTM!

{device.properties.manufacturer === 'ecobee' && <BeeIcon />}
</div>
</DetailRow>
{!disableConnectedAccountInformation && (
Copy link
Contributor

Choose a reason for hiding this comment

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

This is meant to be for the whole section, not just the connect account row.

Copy link
Collaborator Author

@razor-x razor-x Apr 29, 2024

Choose a reason for hiding this comment

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

@dawnho This will hide the connected account info. The device id is not related to the connect account but may be hidden with disableResourceIds.

I feel the manufacturer information is fine to leave in here, but we could add a prop to hide that as well: disableManufacturerInformation.

@razor-x razor-x merged commit 1a3c961 into main Apr 29, 2024
16 checks passed
@razor-x razor-x deleted the disableConnectedAccountInformation branch April 29, 2024 22:22
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.

Add disableConnectedAccountInformation prop to common props
3 participants