feat: Add patchset history and diff support with cvsps integration
- Add cvsps package to Docker dependencies - Implement patchset retrieval and diff endpoints in API - Add _run_cvsps_command() helper for cvsps integration - Enhance file history parsing with log message extraction - Improve UI with enhanced styling and patchset functionality
This commit is contained in:
parent
c263092c10
commit
d3b40ae93f
9 changed files with 660 additions and 26 deletions
|
|
@ -14,6 +14,9 @@
|
|||
<header>
|
||||
<h1>CVS Repository Browser</h1>
|
||||
<div class="header-info">
|
||||
<button id="patchsetsBtn" class="btn btn-primary" title="View repository patchset history">
|
||||
📦 Patchsets
|
||||
</button>
|
||||
<button id="themeToggleBtn" class="btn-icon" title="Toggle dark mode">🌙</button>
|
||||
<span id="status" class="status">Connecting...</span>
|
||||
</div>
|
||||
|
|
@ -87,6 +90,28 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Patchset View -->
|
||||
<div id="patchsetView" class="view hidden">
|
||||
<div class="view-header">
|
||||
<button id="backFromPatchsetBtn" class="btn btn-secondary">← Back</button>
|
||||
<h2>Repository Patchsets</h2>
|
||||
</div>
|
||||
<div id="patchsetContent" class="patchset-content">
|
||||
<div class="loading">Loading patchsets...</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Patchset Diff View -->
|
||||
<div id="patchsetDiffView" class="view hidden">
|
||||
<div class="view-header">
|
||||
<button id="backFromPatchsetDiffBtn" class="btn btn-secondary">← Back to Patchsets</button>
|
||||
<h2>Patchset Diff</h2>
|
||||
</div>
|
||||
<div id="patchsetDiffContent" class="diff-content">
|
||||
<div class="loading">Loading patchset diff...</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Welcome View -->
|
||||
<div id="welcomeView" class="view">
|
||||
<div class="welcome-content">
|
||||
|
|
@ -99,6 +124,7 @@
|
|||
<li>📄 View file contents</li>
|
||||
<li>📋 Check revision history</li>
|
||||
<li>🔀 Compare file versions</li>
|
||||
<li>📦 View repository patchsets</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue