0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-23 10:45:28 +01:00

4 Commits

Author SHA1 Message Date
Semenets V. Pavel
6c6646ed38 fix: address code review feedback for WorkflowGraph.vue
Changes:
- i18n: Removed all comments, made code self-documenting
- fix(zoom): Corrected cumulative scaling drift (1.2 * 0.8 != 1.0)
- refactor(styles): Replaced inline dynamic styles with CSS classes
- fix(storage): Implemented LRU cache for localStorage (max 15 entries)
- cleanup: Removed CSS variable fallbacks, use design system only
- fix: Corrected zoom controls rendering and border display
- chore: Aligned component structure with project conventions

Note: Component implemented manually with strict typing and performance
optimizations (rAF, cycle detection)
2026-02-20 16:51:32 +03:00
Semenets V. Pavel
d88a53785f fix: Improve RepoActionView console styling and WorkflowGraph UX
RepoActionView:
- Restore original console styles in RepoActionView.vue
- Fix light theme console colors (variables were hardcoded to dark values)
- Improve overall UI appearance and readability

WorkflowGraph:
- Remove artificial delay during graph panning
- Fix graph movement behavior
- Add persistence for zoom/position state when switching between jobs
- Rename prop `current-job-id` to `current-job-idx` for accuracy
- Remove border from graph container
2026-02-20 11:52:51 +03:00
Semenets V. Pavel
f685d5f8d5 fix: Resolve all linting errors with correct CSS variables 2025-12-26 10:23:04 +03:00
Semenets V. Pavel
438ac5acc1 feat: Add workflow dependencies visualization
## API changes:
    - Add job_id field for YAML job identifiers
    - Add needs field for job dependencies
    - Update swagger documentation

    ## Frontend features:
    - Interactive graph with zoom/pan navigation
    - Matrix jobs visualization
    - Custom job names support via job_id
    - Status-based coloring and animations
    - Hover highlighting for related jobs
    - Click to navigate to job details

    ## Technical details:
    - Uses existing database columns (no schema changes)
    - Backward compatible (omitempty for new fields)
    - Handles edge cases (cycles, missing dependencies)
    - Performance optimized

    ## UI integration:
    - Updated RepoActionView.vue styles for proper theme compatibility
    - Consistent styling with Gitea's CSS variables
2025-12-26 10:23:03 +03:00