Skip to content

UI for edit and run tests #74

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

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open

UI for edit and run tests #74

wants to merge 36 commits into from

Conversation

donhardman
Copy link
Contributor

No description provided.

@sanikolaev sanikolaev requested a review from Copilot April 30, 2025 08:25
Copy link

@Copilot 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 new web-based UI for editing and running tests, complete with GitHub OAuth authentication and real-time diff comparison using a WebAssembly module. Key changes include the addition of a login page, updates to authentication configuration and routes, enhancements to development tooling, and documentation updates for the new UI.

Reviewed Changes

Copilot reviewed 38 out of 48 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
ui/public/auth/login.html New login page design with GitHub authentication and error handling
ui/postcss.config.js Added PostCSS configuration using Tailwind CSS and autoprefixer
ui/index.html UI entry point for the Manticore Test Editor
ui/dev.js Development server runner with environment and process management updates
ui/config/auth.js Configuration for GitHub OAuth and allowed user settings
ui/auth.js Passport GitHub strategy integration and authentication middleware
ui/README.md Updated documentation for the UI, including usage and setup instructions
cmp/src/main.rs Changes in diff formatting functions for improved whitespace handling
README.md Updated project documentation to include an overview of the web-based UI
Files not reviewed (10)
  • lib/rec.sh: Language not supported
  • ui/.clt/patterns: Language not supported
  • ui/.env.example: Language not supported
  • ui/.gitignore: Language not supported
  • ui/.vscode/extensions.json: Language not supported
  • ui/examples.rec: Language not supported
  • ui/package.json: Language not supported
  • ui/src/App.svelte: Language not supported
  • ui/src/components/Header.svelte: Language not supported
  • ui/src/components/PullRequestModal.svelte: Language not supported
Comments suppressed due to low confidence (1)

ui/auth.js:8

  • Remove or restrict logging of environment variables in production to prevent accidental exposure of sensitive configuration details.
console.log('Env config', process.env);

@sanikolaev sanikolaev self-requested a review April 30, 2025 08:59
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.

2 participants