Skip to content

New layout for integration config#5580

Merged
bramkragten merged 6 commits intodevfrom
integration-page
Apr 22, 2020
Merged

New layout for integration config#5580
bramkragten merged 6 commits intodevfrom
integration-page

Conversation

@bramkragten
Copy link
Copy Markdown
Member

@bramkragten bramkragten commented Apr 20, 2020

Proposed change

Needs some cleanup and translations still.

Preview screencapture

image

image

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:

Comment thread src/components/ha-related-items.ts Outdated
@SeanPM5
Copy link
Copy Markdown
Contributor

SeanPM5 commented Apr 20, 2020

Awesome! 🎉

Minor visual nitpick, I think it'd look a bit cleaner by removing the underline on the links ("X devices and X entities" part). The underlines make it a little harder to read IMO and you can already tell they're links based on the color.

@timmo001
Copy link
Copy Markdown
Member

timmo001 commented Apr 20, 2020

@SeanPM5 This could be done locally, but would probably make more sense to change all links to follow this style (no underline) by default otherwise it would introduce a design inconsistency IMHO.

May be a topic for somewhere else though 😃

@bramkragten bramkragten marked this pull request as ready for review April 21, 2020 14:50
Comment thread src/components/ha-related-items.ts Outdated
</h3>
<a
href="/config/integrations#${relatedConfigEntryId}"
href="/config/integrations?config_entry=${relatedConfigEntryId}"
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.

We should still keep it as a #

Suggested change
href="/config/integrations?config_entry=${relatedConfigEntryId}"
href="/config/integrations#config_entry=${relatedConfigEntryId}"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh, figgered that was a typo as a query param is with the ? right? This would be a hash param :-)

@bramkragten bramkragten merged commit 1dfb632 into dev Apr 22, 2020
@bramkragten bramkragten deleted the integration-page branch April 22, 2020 09:51
@bramkragten bramkragten mentioned this pull request Apr 22, 2020
@lock lock Bot locked and limited conversation to collaborators Apr 25, 2020
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.

5 participants