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

feat(web): integrate RxDB for settings management and refactor settings handling #1815

Merged
merged 5 commits into from
Nov 20, 2024

Conversation

Red-Asuka
Copy link
Member

This pull request includes significant updates to the MQTTX application, focusing on internationalization, database integration, and UI improvements. The changes include refactoring the i18n setup, integrating RxDB for settings management, and updating various UI components to support the new database structure.

Internationalization and Localization:

  • apps/desktop/src/renderer/src/App.vue and apps/web/src/App.vue: Refactored to use useI18n for locale management instead of useSettingsStore to improve the handling of language settings.
  • packages/ui/src/i18n/connections.ts: Updated and added new translations for various MQTT connection-related messages. [1] [2] [3] [4] [5]

Database Integration:

UI Updates:

  • apps/desktop/src/renderer/src/pages/help.vue and apps/web/src/pages/help.vue: Added a new HelpView component to the help page.
  • apps/desktop/src/renderer/src/pages/settings.vue and apps/web/src/pages/settings.vue: Updated the settings page to bind with the new settings service. [1] [2]
  • packages/ui/src/components/SettingsView.vue: Enhanced the settings view component to reflect the new settings schema and service.

Dependency Updates:

These changes collectively improve the maintainability, scalability, and user experience of the MQTTX application by leveraging a more robust database solution and enhancing internationalization support.

@Red-Asuka Red-Asuka added refactor Refactor code or architecture performance Improve some performance web MQTTX Web labels Nov 20, 2024
@Red-Asuka Red-Asuka added this to the v2.0.0-alpha.1 milestone Nov 20, 2024
@Red-Asuka Red-Asuka requested a review from ysfscream November 20, 2024 09:53
@Red-Asuka Red-Asuka self-assigned this Nov 20, 2024
@ysfscream ysfscream merged commit c7fce4a into dev/2.0.0 Nov 20, 2024
5 checks passed
@ysfscream ysfscream deleted the lyd/2.0.0 branch November 20, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improve some performance refactor Refactor code or architecture web MQTTX Web
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants