Skip to content

Conversation

@Kvarkas
Copy link
Member

@Kvarkas Kvarkas commented Sep 1, 2025

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Changed feature (non-breaking change which changes functionality)
  • Changed feature (breaking change which changes functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Updated translation

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • All Tests within VisualStudio are passing
  • This pull request does not target the master branch.
  • I have updated the changelog file accordingly, if necessary.
  • I have updated the documentation accordingly, if necessary.

Kvarkas and others added 30 commits July 28, 2023 11:55
Ссылки в главное меню и выпадающий список
Added tooltips and titles ( пока что без мультиязычности, но при наведении на иконки и в выпадающем списке при наведении всё видно)
Kvarkas and others added 27 commits July 2, 2025 23:49
Bumps the npm_and_yarn group with 1 update in the / directory: [vite-plugin-static-copy](https://github.com/sapphi-red/vite-plugin-static-copy).


Updates `vite-plugin-static-copy` from 3.1.0 to 3.1.2
- [Release notes](https://github.com/sapphi-red/vite-plugin-static-copy/releases)
- [Changelog](https://github.com/sapphi-red/vite-plugin-static-copy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sapphi-red/vite-plugin-static-copy/compare/vite-plugin-static-copy@3.1.0...vite-plugin-static-copy@3.1.2)

---
updated-dependencies:
- dependency-name: vite-plugin-static-copy
  dependency-version: 3.1.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
…_yarn-d42c96e7b6

Bump vite-plugin-static-copy from 3.1.0 to 3.1.2 in the npm_and_yarn group across 1 directory
@Kvarkas Kvarkas requested a review from Copilot September 1, 2025 08:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a complete migration from Jekyll to SvelteKit for the mRemoteNG website, creating a modern web application with internationalization (i18n), theme switching, and responsive design. The changes transform the static Jekyll site into a dynamic SvelteKit application with enhanced user experience features.

Key changes:

  • Complete SvelteKit application setup with TypeScript support and static adapter
  • Implementation of i18n support for multiple languages (English, Russian, German)
  • Addition of theme switching functionality with dark/light mode support
  • Bootstrap-based responsive UI with modern component structure

Reviewed Changes

Copilot reviewed 67 out of 116 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
package.json SvelteKit project configuration with dependencies for UI framework and build tools
vite.config.ts Vite configuration with TailwindCSS and SvelteKit plugins
svelte.config.js SvelteKit configuration for static site generation and GitHub Pages deployment
src/routes/+layout.svelte Main layout component with header, footer, and global styles
src/lib/components/*.svelte Reusable UI components for header, footer, theme switcher, and language switcher
src/lib/i18n/*.ts/.json Internationalization implementation with translation files
src/lib/stores/theme.js Theme management store for dark/light mode switching
static/* Static assets including CSS, JavaScript, icons, and favicon files
Comments suppressed due to low confidence (1)

static/js/theme-loader.js:1

  • Dead code should be removed instead of being commented out. This commented block serves no purpose and clutters the codebase.
(function() {

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +6 to +7
plugins: [tailwindcss(), sveltekit()]

Copy link

Copilot AI Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is trailing whitespace on line 7. Remove the extra space to maintain consistent code formatting.

Suggested change
plugins: [tailwindcss(), sveltekit()]

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,32 @@
import { writable } from 'svelte/store';

// Функция для безопасного доступа к localStorage
Copy link

Copilot AI Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments are written in Russian but should be in English for consistency with the rest of the codebase and to ensure all team members can understand the code.

Copilot uses AI. Check for mistakes.
});
}

// Инициализация только на клиенте
Copy link

Copilot AI Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments are written in Russian but should be in English for consistency with the rest of the codebase and to ensure all team members can understand the code.

Suggested change
// Инициализация только на клиенте
// Initialization only on the client

Copilot uses AI. Check for mistakes.
<!-- Right side of the navbar -->
<ul class="navbar-nav ms-md-auto">
<li class="nav-item">
<a rel="noopener" class="nav-link" href="{base}/downloads" title= "Donwloads">
Copy link

Copilot AI Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a typo in the title attribute: 'Donwloads' should be 'Downloads'.

Suggested change
<a rel="noopener" class="nav-link" href="{base}/downloads" title= "Donwloads">
<a rel="noopener" class="nav-link" href="{base}/downloads" title="Downloads">

Copilot uses AI. Check for mistakes.
Comment on lines +14 to +16
font-family: 'HandelGotDBol', sans-serif;
background: #f0f0f0;
font-family: 'Open Sans', sans-serif;
Copy link

Copilot AI Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The font-family property is declared twice on consecutive lines with different values. The second declaration will override the first, making line 14 ineffective.

Suggested change
font-family: 'HandelGotDBol', sans-serif;
background: #f0f0f0;
font-family: 'Open Sans', sans-serif;
font-family: 'Open Sans', sans-serif;
background: #f0f0f0;

Copilot uses AI. Check for mistakes.
@Kvarkas Kvarkas closed this Sep 1, 2025
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