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(settings): implement the ui part #1818

Merged
merged 6 commits into from
Nov 25, 2024
Merged

feat(settings): implement the ui part #1818

merged 6 commits into from
Nov 25, 2024

Conversation

Red-Asuka
Copy link
Member

@Red-Asuka Red-Asuka commented Nov 22, 2024

This pull request includes several changes to implement a night theme, update the dark theme, and refactor the database initialization. The most important changes include adding a new Vite plugin for the night theme, updating the dark and night theme styles, and modifying the database initialization logic.

Theme Updates:

Database Initialization:

  • apps/web/src/database/index.ts: Refactored the database initialization logic to ensure window.db is assigned before injecting RxMqttxDatabase and removed debugging code that wrote the database instance to window. [1] [2]

Store Update:

image

@Red-Asuka Red-Asuka added refactor Refactor code or architecture UI/UX Improve some UI \ UX web MQTTX Web desktop MQTTX Desktop labels Nov 22, 2024
@Red-Asuka Red-Asuka added this to the v2.0.0-alpha.1 milestone Nov 22, 2024
@Red-Asuka Red-Asuka requested a review from ysfscream November 22, 2024 09:57
@Red-Asuka Red-Asuka self-assigned this Nov 22, 2024
@Red-Asuka Red-Asuka marked this pull request as ready for review November 25, 2024 08:23
@ysfscream ysfscream merged commit f515491 into dev/2.0.0 Nov 25, 2024
5 checks passed
@ysfscream ysfscream deleted the lyd/2.0.0 branch November 25, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop MQTTX Desktop refactor Refactor code or architecture UI/UX Improve some UI \ UX web MQTTX Web
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants