Skip to content

Conversation

@skurekjakub
Copy link
Owner

No description provided.

* working ui

* working sessio nswitching and a bunch of other stuff

* fix ci
@skurekjakub skurekjakub requested a review from Copilot May 4, 2025 20:17
Copy link

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 removes the existing Flask-based backend and related Python configuration files and replaces them with a new Next.js/Express/Socket.IO implementation along with updated build configurations and documentation. Key changes include:

  • Removal of Python files (src/app.py, run.py, config.py, pyproject.toml) to decommission the Flask backend.
  • Addition of a new TypeScript-based server (server.ts) implementing Express, Next.js, and Socket.IO.
  • Updates to configuration, linting, and CI/CD workflows (postcss.config.mjs, next.config.mjs, eslint.config.ts, .github workflows, and README.md) to support the new architecture.

Reviewed Changes

Copilot reviewed 65 out of 70 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/app.py Removed the Flask application; ensure the functionality has been migrated.
server.ts New server implementation using Express/Next.js with Socket.IO integration.
run.py Removed as part of decommissioning the Flask backend.
pyproject.toml Removed Python project configuration; verify no dependencies remain.
postcss.config.mjs, next.config.mjs, eslint.config.ts New configuration files for styling, Next.js, and ESLint respectively.
config.py Removed configuration file; confirm all settings are handled elsewhere.
README.md Updated documentation to reflect Next.js setup and instructions.
.github/workflows/build-test.yaml Updated CI/CD workflow to use Node.js-based build and linting steps.
.github/copilot-instructions.md Minor updates in internal instructions.
Files not reviewed (5)
  • bot_config/config.json.sample: Language not supported
  • chat_sessions/502bb3d8-167a-4584-ac32-31c4ae2eaede.json: Language not supported
  • chat_sessions/adfdded2-af93-44eb-a8dc-4cc70f02de7f.json: Language not supported
  • nodemon.json: Language not supported
  • package.json: Language not supported


- name: Set up Python
uses: actions/setup-python@v5
- name: Set up Node.js
Copy link

Copilot AI May 4, 2025

Choose a reason for hiding this comment

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

Consider adding an id (e.g., 'id: setup-node') to the 'Set up Node.js' step so that its outputs (like node-version) can be reliably referenced in downstream cache actions.

Suggested change
- name: Set up Node.js
- name: Set up Node.js
id: setup-node

Copilot uses AI. Check for mistakes.
@skurekjakub skurekjakub merged commit 19ba856 into main May 4, 2025
1 check passed
@skurekjakub skurekjakub deleted the rewrite-part1 branch May 4, 2025 20:18
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