feat: add UI components (Badge, Button, Card, Checkbox, Input, Label,…#12
Open
KevinDeBenedetti wants to merge 3 commits intomainfrom
Open
feat: add UI components (Badge, Button, Card, Checkbox, Input, Label,…#12KevinDeBenedetti wants to merge 3 commits intomainfrom
KevinDeBenedetti wants to merge 3 commits intomainfrom
Conversation
… Tooltip) and utility functions - Implemented Badge component for displaying status indicators. - Created Button component with various styles and sizes. - Developed Card component with subcomponents (Header, Title, Description, Content, Footer) for structured content display. - Added Checkbox component for user selections. - Introduced Input component for form fields. - Created Label component for form field labeling. - Implemented Tooltip component for additional context on hover. - Added utility function for merging CSS class names. feat: define tool configurations and API services - Added TOOL_INFO constant for tool definitions and configurations. - Implemented API service for handling scan requests and responses. - Created functions for quick, deep, and security scans. - Added scan management functions for starting, retrieving, and deleting scans. chore: set up project structure and configuration - Initialized Tailwind CSS for styling. - Configured Vite for development and build processes. - Set up TypeScript configuration for type safety. - Updated dependencies in pyproject.toml for enhanced functionality.
- Updated GitHub Actions workflows for continuous deployment (cd.yml): - Simplified release process by using a dedicated release workflow. - Introduced separate jobs for deploying API and Web images. - Added documentation sync job and bot commit check for pull requests. - Refined continuous integration (ci.yml): - Consolidated Python and React CI jobs into reusable workflows. - Implemented security checks including secret scanning and audits. - Added bot commit guard to ensure only allowed bots can commit. - Created Dockerfile for the Web-Check API with optimized dependency management and setup. - Added docker-compose.yml for orchestrating services including API, web, and security scanners. - Introduced architecture and configuration documentation to enhance project clarity. - Removed outdated Makefile and TODO.yml, streamlining project structure. - Updated package.json for React to include type checking script. - Added comprehensive development documentation covering setup, testing, and code quality checks.
…move redundant code blocks and optimize existing functions.
Comment on lines
+19
to
+32
| name: Python CI | ||
| if: github.event_name == 'pull_request' | ||
| uses: KevinDeBenedetti/github-workflows/.github/workflows/ci-python.yml@main | ||
| with: | ||
| python-version: "3.12" | ||
| working-directory: "." | ||
| run-lint: true | ||
| run-format: true | ||
| run-typecheck: true | ||
| run-test: true | ||
| run-coverage: false | ||
|
|
||
| # ── CI — Security (secret scan + Python audit) ──────────────────────────── | ||
| security: |
Comment on lines
+61
to
+70
| name: CI Passed | ||
| if: github.event_name == 'pull_request' | ||
| runs-on: ubuntu-latest | ||
| needs: [python] | ||
| steps: | ||
| - name: All checks passed | ||
| run: echo "✅ All CI checks passed successfully!" | ||
|
|
||
| # ── CD — Release Please ─────────────────────────────────────────────────── | ||
| release: |
Comment on lines
+71
to
+77
| name: Release | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| uses: KevinDeBenedetti/github-workflows/.github/workflows/release.yml@main | ||
| secrets: inherit | ||
|
|
||
| # ── CD — Build & push API Docker image (on release) ─────────────────────── | ||
| deploy-api: |
Comment on lines
+78
to
+91
| name: Deploy API | ||
| needs: release | ||
| if: needs.release.outputs.released == 'true' | ||
| uses: KevinDeBenedetti/github-workflows/.github/workflows/cd-docker.yml@main | ||
| with: | ||
| image-name: web-check-api | ||
| context: "." | ||
| dockerfile: Dockerfile | ||
| tag-latest: true | ||
| version: ${{ needs.release.outputs.tag }} | ||
| secrets: inherit | ||
|
|
||
| # ── CD — Sync docs → kevindebenedetti.github.io ─────────────────────────── | ||
| deploy-docs: |
Comment on lines
+92
to
+95
| name: Sync docs → central repo | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| uses: KevinDeBenedetti/github-workflows/.github/workflows/cd-docs.yml@main | ||
| secrets: inherit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… Tooltip) and utility functions
feat: define tool configurations and API services
chore: set up project structure and configuration
Description
Closes #
Type of change
Changes
How to test / review
Checklist