Closed syns2191 closed 1 week ago
The pull request introduces significant changes across multiple files, primarily focusing on enhancing localization through the addition of a new "MENU_APP" section in translation files for both Bulgarian and English. Additionally, modifications to configuration management and menu handling in the Electron application are made, including the introduction of a DEFAULT_CONFIG
constant and a revamped MenuBuilder
class. The changes also include the removal of an outdated main_.ts
file and updates to the authentication logic to incorporate a new constant related to desktop application detection.
File Path | Change Summary |
---|---|
apps/server-web/src/locales/i18n/bg/translation.json |
Added "MENU_APP" section with Bulgarian translations for various menu items. |
apps/server-web/src/locales/i18n/en/translation.json |
Added "MENU_APP" section with English translations for various menu items. |
apps/server-web/src/main/helpers/services/libs/desktop-store.ts |
Introduced DEFAULT_CONFIG constant for default settings and modified setDefaultServerConfig logic. |
apps/server-web/src/main/main.ts |
Updated to import Menu , created appMenu instance, modified menu initialization, and added new event listeners. |
apps/server-web/src/main/main_.ts |
Removed the file which contained the main process logic for the Electron application. |
apps/server-web/src/main/menu.ts |
Overhauled MenuBuilder class, removed and added methods for improved menu management and localization. |
apps/web/app/constants.ts |
Added new constant IS_DESKTOP_APP based on an environment variable. |
apps/web/auth.ts |
Imported IS_DESKTOP_APP and added trustHost property to NextAuth configuration. |
apps/renderer/components/svgs/EverTeamsLogo.tsx |
Updated className property of <img> element for improved styling. |
WEB
, Ever Teams
, Bug fix
In the land of code where rabbits play,
New menus bloom, brightening the day.
With translations fresh, both near and far,
Our app shines bright, a guiding star.
So hop along, let’s celebrate,
For every change, we elevate! 🐰✨
[!WARNING] There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.
🔧 eslint
> If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.apps/server-web/src/main/helpers/services/libs/desktop-store.ts
Oops! Something went wrong! :( ESLint: 8.46.0 ESLint couldn't find the config "erb" to extend from. Please check that the name of the config is correct. The config "erb" was referenced from the config file in "/apps/server-web/.eslintrc.js". If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@syns2191 I am merging this PR now, please create new PR based on develop
branch for more fixes
Description
Please include a summary of the changes and the related issue.
Type of Change
Checklist
Previous screenshots
Please add here videos or images of previous status
Current screenshots
Please add here videos or images of previous status
Summary by CodeRabbit
Release Notes
New Features
IS_DESKTOP_APP
to determine if the application is running as a desktop app, affecting authentication logic.Improvements
Bug Fixes