Skip to content

Final#9

Open
andrey57x wants to merge 51 commits intomainfrom
rk4
Open

Final#9
andrey57x wants to merge 51 commits intomainfrom
rk4

Conversation

@andrey57x
Copy link
Copy Markdown
Collaborator

Final version

Copy link
Copy Markdown

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 represents a comprehensive "final" version update that includes significant infrastructure improvements, new features, and code quality enhancements. Key changes include:

  • Added Progressive Web App (PWA) support with service worker, manifest, and offline detection
  • Introduced image optimization pipeline and PostCSS processing
  • Implemented note header customization functionality
  • Enhanced collaboration features with WebSocket improvements
  • Refactored UI components for better consistency and styling
  • Updated API endpoints to use relative paths for production deployment
  • Added comprehensive SSL/HTTPS configuration in nginx

Reviewed changes

Copilot reviewed 66 out of 72 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
webpack.config.js Added image optimization plugins, PostCSS loader, and copy plugin for static assets
tsconfig.json Added duplicate "sw.js" entry in includes array
package.json Added development dependencies for image optimization, PostCSS, and ESLint TypeScript support
postcss.config.cjs New PostCSS configuration with autoprefixer and cssnano
nginx.conf Complete HTTPS/SSL setup with WebSocket support, static file caching, and proxy configurations
src/utils/offline.ts New utility for detecting and managing online/offline status
src/components/noteHeaderModal.ts New component for customizing note header backgrounds
src/components/noteHeader.ts New component for rendering note header with actions
src/api/apiClient.ts Updated all API endpoints to use relative paths, added note header methods
src/api/wsClient.ts Enhanced WebSocket client with header and icon update support
src/pages/notepage.ts Major refactor adding offline support, header customization, and improved event handling
src/components/sidebar.ts Simplified user menu interaction and updated routing
src/components/subdirectories.ts Complete rewrite with tree-based navigation and improved icon management
src/static/service-worker/sw.js New service worker for PWA offline support and caching
src/static/manifest.json New PWA manifest with app metadata and icons
Multiple CSS files Extensive styling improvements for dark mode, responsiveness, and modern UI

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


export function createDeleteAccountModal(): HTMLElement {
const trash = new URL("../static/svg/icon_delete.svg", import.meta.url).href;
const trash = new URL("../static/svg/icon_delete.svg", import.meta.url).href;
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

Unused variable trash.

Copilot uses AI. Check for mistakes.

export function deleteCollaboratorModal(): HTMLElement {
const trash = new URL("../static/svg/icon_delete.svg", import.meta.url).href;
const trash = new URL("../static/svg/icon_delete.svg", import.meta.url).href;
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

Unused variable trash.

Copilot uses AI. Check for mistakes.
if (prevContainer && deleteBlock && blockContainer.dataset.blockId) {
e.preventDefault();

const prevBlockId = prevContainer.dataset.blockId;
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

Unused variable prevBlockId.

Copilot uses AI. Check for mistakes.
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