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

4.52.2 -> latest #1628

Merged
merged 118 commits into from
Nov 11, 2023
Merged

4.52.2 -> latest #1628

merged 118 commits into from
Nov 11, 2023

Conversation

bwp91
Copy link
Contributor

@bwp91 bwp91 commented Nov 5, 2023

NOTICE

The next version of Homebridge UI will support Homebridge v1.6.0 or above. If you are running a lower version of Homebridge, now is a good time to update.

Notable Changes

  • Prevent the UI from updating when running an unsupported version of Node.js
    • This mimics the behaviour of updating Homebridge itself
    • The option of 'Update Anyway' will still appear for other plugins when running an unsupported version of Node.js
    • GLIBC Version is now cached
  • When uninstalling a plugin, it will also be removed from the disabled plugin list if it was previously disabled

UI Changes

General

  • Fixed icon widths throughout UI
  • Updated menu (thanks @mkz212!)
    • Added links to main dropdown menu: 'Logs' and 'Restart Homebridge' + reordered list
    • Changed the menu layout order
    • Made the dropdown darker in dark mode (#1660)
    • Username is now displayed by logout Menu option

Status Page

  • Updated default layout
  • System Information Widget
    • Update ordering of rows
    • Added Node.js Path and Plugin Path rows
    • Added alert icon and modal when running an older OS that cannot update to Node.js 18/20
    • Added alert icon and modal when not running in service mode
  • Homebridge Widget
    • Added ability to scroll Homebridge widget (#1651)
    • 'Update available' icons are now up-arrows to match plugins page

Plugins Page

  • Enhanced the 'Restart Homebridge Now' modal to now Show 'Restart Child Bridges' modal after any plugin update if that plugin is set up as a child bridge
  • Change plugin options dropdown icon to vertical ellipsis for consistency with restart Homebridge icon in top menu
  • Move plugin homepage link to plugin options dropdown
  • Move Homebridge UI API link to plugin options dropdown
  • Hide 'Donate' and 'Verified' text (on plugin tiles) on small screens
  • 'Verified' text on plugin tile now opens a modal rather than linking to Homebridge wiki
  • When Update Availble/Beta Update Available are available an arrow icon is now displayed by Plugin menu icon
  • Added icons to plugin statuses: 'Installed' and 'Not Installed'

i18n Changes

  • The following new language strings have been added to each language file - calling on all our translators to continue your hard work!
    • ADDED:
      • child_bridge.label_child_start
      • child_bridge.label_child_stop
      • menu.hbrestart.confirm_button
      • menu.hbrestart.confirmation
      • menu.hbrestart.title
      • menu.linux.label_logs
      • plugins.button_api_documentation
      • plugins.button_homepage
      • plugins.manage.child_bridge_button_restart_now
      • plugins.manage.child_bridge_button_restart_now_one
      • plugins.manage.child_bridge_restart_success
      • plugins.manage.child_bridge_restart_failed
      • plugins.manage.message_thanks_for_updating_restart_child_bridges
      • plugins.manage.modal_verified_cta
      • plugins.manage.modal_verified_message
      • plugins.manage.modal_verified_title
      • plugins.node_update_homebridge_ui_upgrade_and_try_again
      • status.widget.systeminfo.label_disabled
      • status.widget.systeminfo.label_enabled
      • status.widget.systeminfo.label_glibc_warning
      • status.widget.systeminfo.label_no
      • status.widget.systeminfo.label_nodejs_path
      • status.widget.systeminfo.label_yes
      • status.widget.systeminfo.modal_glibc_cta
      • status.widget.systeminfo.modal_glibc_message
      • status.widget.systeminfo.modal_glibc_title
      • status.widget.systeminfo.modal_servicemode_cta
      • status.widget.systeminfo.modal_servicemode_message
      • status.widget.systeminfo.modal_servicemode_title
    • UPDATED:
      • plugins.manage.message_thanks_for_updating_restart
      • plugins.donate.message_learn_more
      • status.message_code_scan_instructions
  • i18n: Update pl.json (#1633)
  • i18n: Update fr.json (#1629)
  • i18n: Update es.json (Improves Spanish localization) (#1632)

Other Changes

  • Updated dependencies, including @homebridge/node-pty-prebuilt-multiarch to 0.11.10 (thanks @NorthernMan54!)

@coveralls
Copy link

coveralls commented Nov 5, 2023

Pull Request Test Coverage Report for Build 6785182806

  • 256 of 339 (75.52%) changed or added relevant lines in 81 files are covered.
  • 11 unchanged lines in 10 files lost coverage.
  • Overall coverage increased (+0.2%) to 44.04%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/bin/platforms/darwin.ts 0 1 0.0%
src/bin/platforms/freebsd.ts 0 1 0.0%
src/core/auth/auth.service.ts 10 11 90.91%
src/core/spa/spa.filter.ts 0 1 0.0%
src/modules/accessories/accessories.gateway.ts 1 2 50.0%
src/modules/backup/backup.controller.ts 3 4 75.0%
src/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.ts 6 7 85.71%
src/bin/platforms/win32.ts 0 2 0.0%
src/bin/standalone.ts 0 2 0.0%
src/modules/server/server.service.ts 17 19 89.47%
Files with Coverage Reduction New Missed Lines %
src/bin/platforms/darwin.ts 1 0.0%
src/bin/platforms/linux.ts 1 0.0%
src/bin/platforms/win32.ts 1 0.0%
src/core/config/config.startup.ts 1 0.0%
src/core/spa/spa.filter.ts 1 0.0%
src/index.ts 1 0.0%
src/main.ts 1 0.0%
src/modules/setup-wizard/setup-wizard.gateway.ts 1 0.0%
src/self-check.ts 1 0.0%
src/bin/hb-service.ts 2 0.0%
Totals Coverage Status
Change from base Build 6757264535: 0.2%
Covered Lines: 2161
Relevant Lines: 4572

💛 - Coveralls

SonnyT72 and others added 26 commits November 5, 2023 06:51
Language update
Major improvements to the Spanish localization.

### ♻️ Current situation

The current Spanish localization of the Homebridge UI has room for
improvement. Some phrases and terms used are not the most accurate or
natural translations, which can lead to confusion for Spanish-speaking
users. For example, the term "triggered" was translated as "activado",
which is incorrect.

### 💡 Proposed solution

This pull request introduces major improvements to the Spanish
localization of the Homebridge UI. The changes include more accurate
translations of technical terms, better grammar, and more natural
sounding phrases. These changes do not affect the internal structure of
the project, but they significantly improve the user experience for
Spanish-speaking users.

### ⚙️ Release Notes

From a user's point of view, Spanish-speaking users will notice a
significant improvement in the translations. The language will sound
more natural and less like a direct translation from English. This will
make the Homebridge UI more accessible and user-friendly for
Spanish-speaking users. There are no breaking changes introduced with
this pull request.
update `commander`

---------

Co-authored-by: Donavan Becker <beckersmarthome@icloud.com>
My last approach to default look suggestion.

<img width="1445" alt="Zrzut ekranu 2023-11-7 o 09 31 00"
src="https://github.com/homebridge/homebridge-config-ui-x/assets/82271669/c746df58-4a5b-45d6-8b1e-6224bded4a7d">
@donavanbecker donavanbecker marked this pull request as ready for review November 10, 2023 23:21
@donavanbecker donavanbecker enabled auto-merge (squash) November 11, 2023 13:36
@donavanbecker donavanbecker merged commit 1a5efc7 into latest Nov 11, 2023
32 checks passed
@donavanbecker donavanbecker deleted the beta-4.52.2 branch November 11, 2023 13:36
@donavanbecker donavanbecker changed the title beta -> latest 4.52.2 -> latest Nov 11, 2023
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.

7 participants