Skip to content

Group config entries by integration#5646

Merged
bramkragten merged 5 commits intodevfrom
group-integrations
Apr 30, 2020
Merged

Group config entries by integration#5646
bramkragten merged 5 commits intodevfrom
group-integrations

Conversation

@bramkragten
Copy link
Copy Markdown
Member

Proposed change

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:

@bramkragten bramkragten requested a review from balloob April 28, 2020 11:30
Comment thread src/panels/config/integrations/ha-config-integrations.ts Outdated
Comment thread src/panels/config/integrations/ha-config-integrations.ts Outdated
Comment thread src/panels/config/integrations/ha-config-integrations.ts Outdated
Comment on lines +70 to +73
return this._renderSingleEntry(configEntry);
}
}
return this._renderGroupedIntegration();
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.

Should we make this 2 webcomponents or are you doing this because you have a transition between a list and a specific integration ?

Copy link
Copy Markdown
Member Author

@bramkragten bramkragten Apr 28, 2020

Choose a reason for hiding this comment

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

Then it would be 3, 1 for keeping the state and 2 for rendering grouped/single.

Copy link
Copy Markdown
Member

@balloob balloob Apr 29, 2020

Choose a reason for hiding this comment

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

I think that would be better ? I dunno.

@bramkragten bramkragten merged commit 2abfd03 into dev Apr 30, 2020
@bramkragten bramkragten deleted the group-integrations branch April 30, 2020 18:38
@bramkragten bramkragten mentioned this pull request May 5, 2020
@lock lock Bot locked and limited conversation to collaborators May 5, 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.

3 participants