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

Fixed nested arrays settings #2 #1510

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

Slonick
Copy link

@Slonick Slonick commented Jul 19, 2023

♻️ Current situation

Nested arrays display only one element.

💡 Proposed solution

To solve the problem, the generated layout and data are matched.

⚙️ Release Notes

The fix is applied only if "fixArrays": true is added to config.schema.json.
For example:
{ "pluginAlias": "examplePluginAlias", "pluginType": "platform", "singular": true, "fixArrays": true, "schema": {...} }

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5602384045

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.09%) to 43.314%

Files with Coverage Reduction New Missed Lines %
src/modules/log/log.service.ts 4 78.15%
Totals Coverage Status
Change from base Build 5601841759: -0.09%
Covered Lines: 2109
Relevant Lines: 4507

💛 - Coveralls

@donavanbecker donavanbecker enabled auto-merge (squash) July 19, 2023 17:58
@donavanbecker donavanbecker merged commit 9dae60b into homebridge:beta-4.50.5 Jul 19, 2023
20 of 26 checks passed
@donavanbecker
Copy link
Contributor

@Slonick
Copy link
Author

Slonick commented Jul 19, 2023

@Slonick Another failure https://github.com/homebridge/homebridge-config-ui-x/actions/runs/5604417244/jobs/10252356315#step:7:1

do you think it's my fault?

FAIL test/e2e/plugins.gateway.e2e-spec.ts (13.008 s)

@donavanbecker
Copy link
Contributor

No necessarily just letting you know

@donavanbecker
Copy link
Contributor

Rerunning to double check

@Slonick
Copy link
Author

Slonick commented Jul 19, 2023

@donavanbecker

image

New beta version works for me. I need feedback to remove temporary flag, in case of problems I will need plugin and config, after which you can tag me and I will figure it out.

@donavanbecker
Copy link
Contributor

@Slonick Looks like rerunning jobs worked.

@donavanbecker
Copy link
Contributor

New beta is published

donavanbecker added a commit that referenced this pull request Aug 19, 2023
* Add singular plug-in label (#1458)

* Document the default port/address that you can access the UI in your web browser (#1252)

* Improve translations (#1459)

* Fix capitalization (#1496)

* Update zh-CN.json (#1503)

* Fixed nested arrays settings (#1504)

* Fixed nested arrays settings #2 (#1510)

* Fixed nested arrays;
Fixed lint;

* Removed console.log()

* Fixed nested arrays #3 (#1511)

* Wait for custom UI (#1522)

* Wait for custom UI (#1523)

---------

Co-authored-by: Dave Nicolson <david.nicolson@gmail.com>
Co-authored-by: Adam Coulombe <adamcoulombe187@hotmail.com>
Co-authored-by: Aiden <9078877+aiden0w0@users.noreply.github.com>
Co-authored-by: Artem Kononenko <slonick2012@gmail.com>
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.

3 participants