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

Cleanup and new repository management for add-on store #5750

Merged
merged 19 commits into from May 7, 2020
Merged

Cleanup and new repository management for add-on store #5750

merged 19 commits into from May 7, 2020

Conversation

ludeeus
Copy link
Member

@ludeeus ludeeus commented May 4, 2020

Proposed change

  • New repository management dialog modeled after the input select helper.
  • Changes filter for advanced addons.
  • Changed the search to load the same as the integration page.
  • Add a link to the profile if advanced mode is not active (similar to /config).

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

Additional information

image
image
image

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:

@ludeeus ludeeus added the Supervisor Related to the supervisor panel label May 4, 2020
@bramkragten
Copy link
Member

Would be nice in future PR to show if / how many advances addons are hidden in the missing message.

import { HomeAssistant, Route } from "../../../src/types";
import "../components/hassio-search-input";
import "../../../src/common/search/search-input";
Copy link
Member

Choose a reason for hiding this comment

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

🎉

@@ -47,14 +50,18 @@ class SearchInput extends LitElement {
@value-changed=${this._filterInputChanged}
.noLabelFloat=${this.noLabelFloat}
>
<ha-icon icon="hass:magnify" slot="prefix" class="prefix"></ha-icon>
<ha-icon
icon="${this.hassio ? "hassio" : "hass"}:magnify"
Copy link
Member

Choose a reason for hiding this comment

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

No need for this anymore 😆

Copy link
Member Author

Choose a reason for hiding this comment

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

Noooooooooo, I just learned I should do it this way.... 🤣

src/resources/styles.ts Outdated Show resolved Hide resolved
@@ -227,7 +227,7 @@ export const haStyleDialog = css`
--mdc-dialog-max-width: 600px;
--mdc-dialog-heading-ink-color: var(--primary-text-color);
--mdc-dialog-content-ink-color: var(--primary-text-color);
--mdc-theme-surface: var(--primary-background-color);
--mdc-theme-surface: var(--paper-card-background-color);
Copy link
Member

Choose a reason for hiding this comment

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

No need to put that in here, it is already derived in styles.ts

Copy link
Member Author

Choose a reason for hiding this comment

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

I see, so I should fix it there instead then, it currently points to --card-background-color
Which results in:
image

Copy link
Member Author

Choose a reason for hiding this comment

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

it's probably the theme I'm using that is incomplete, I'll remove it.

@bramkragten bramkragten merged commit 0961c9d into home-assistant:dev May 7, 2020
@bramkragten bramkragten mentioned this pull request May 9, 2020
@lock lock bot locked and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed Supervisor Related to the supervisor panel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add-on Store - move repositories to dialog
3 participants