Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Remove PR comment spam from responsive UI tests workflow and improve login page layout

LearningCircuit924e7ba646ed
diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.yml
index 9529b92008..7185ed5ba0 100644
--- a/.github/workflows/responsive-ui-tests-enhanced.yml
+++ b/.github/workflows/responsive-ui-tests-enhanced.yml
@@ -366,79 +366,3 @@ jobs:
name: combined-test-report
path: combined-report.md
retention-days: 30
-
- - name: Comment PR with enhanced summary
- uses: actions/github-script@v7
- with:
- script: |
- const fs = require('fs');
-
- // Read the combined report
- let report = '';
- try {
- report = fs.readFileSync('combined-report.md', 'utf8');
- } catch (e) {
- report = '## Test Report\nFailed to generate combined report';
- }
-
- const jobStatuses = {
- mobile: '${{ needs.ui-tests.result }}' === 'success',
- desktop: '${{ needs.ui-tests.result }}' === 'success'
- };
-
- const overallStatus = Object.values(jobStatuses).every(s => s);
- const statusEmoji = overallStatus ? '✅' : '❌';
- const statusText = overallStatus ? 'All UI tests passed' : 'UI tests failed';
-
- const comment = `## ${statusEmoji} Responsive UI Test Results
-
- **Status:** ${statusText}
-
- | Viewport | Status | Screenshots |
- |----------|--------|-------------|
- | 📱 Mobile | ${jobStatuses.mobile ? '✅ Passed' : '❌ Failed'} | [View](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts) |
- | 🖥️ Desktop | ${jobStatuses.desktop ? '✅ Passed' : '❌ Failed'} | [View](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts) |
-
- ### 📸 Viewing Screenshots
-
- 1. Click the links above or go to the [workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
- 2. Scroll to **Artifacts** section
- 3. Download \`ui-test-results-mobile\` or \`ui-test-results-desktop\`
- 4. Open \`screenshot-gallery.html\` for an interactive gallery
-
- <details>
- <summary>📋 Detailed Test Report</summary>
-
- ${report}
-
- </details>
-
- _Tests cover: accessibility, performance, responsive design, form validation, and interactive elements._`;
-
- // Find existing comment
- const { data: comments } = await github.rest.issues.listComments({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- });
-
- const botComment = comments.find(comment =>
- comment.user.type === 'Bot' &&
- comment.body.includes('Responsive UI Test Results')
- );
-
- if (botComment) {
- await github.rest.issues.updateComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- comment_id: botComment.id,
- body: comment
- });
- } else {
- await github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- body: comment
- });
- }
diff --git a/src/local_deep_research/web/templates/auth/login.html b/src/local_deep_research/web/templates/auth/login.html
index 358e029138..40db2e4e60 100644
--- a/src/local_deep_research/web/templates/auth/login.html
+++ b/src/local_deep_research/web/templates/auth/login.html
@@ -26,52 +26,56 @@
overflow-x: hidden;
}
- .auth-wrapper {
+ .ldr-auth-wrapper {
min-height: 100vh;
width: 100%;
- display: flex !important;
+ display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
+ .ldr-auth-container {
+ width: 100%;
+ max-width: 450px;
+ }
+
/* Responsive - adjust for small screens */
- @media (max-width: 900px) {
- .auth-container {
- max-width: 550px;
- margin: 0 auto;
+ @media (max-width: 600px) {
+ .ldr-auth-container {
+ max-width: 100%;
+ padding: 0 1rem;
}
- }
- .auth-container {
- width: 550px;
- max-width: 90%;
+ .ldr-card-content {
+ padding: 2rem 1.5rem !important;
+ }
}
- .auth-header {
+ .ldr-auth-header {
text-align: center;
- margin-bottom: 4rem;
+ margin-bottom: 3rem;
}
- .auth-header h1 {
- font-size: 2.5rem;
+ .ldr-auth-header h1 {
+ font-size: 2rem;
font-weight: 600;
color: var(--text-primary);
- margin-bottom: 0.75rem;
+ margin-bottom: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
- gap: 1rem;
+ gap: 0.75rem;
}
- .auth-header h1 i {
+ .ldr-auth-header h1 i {
color: var(--accent-primary);
- font-size: 2.25rem;
+ font-size: 1.75rem;
}
- .auth-header p {
+ .ldr-auth-header p {
color: var(--text-secondary);
- font-size: 1.25rem;
+ font-size: 1.1rem;
}
.ldr-card {
@@ -83,7 +87,7 @@
}
.ldr-card-content {
- padding: 3rem;
+ padding: 2rem 2.5rem;
}
.ldr-encryption-banner {
@@ -179,25 +183,25 @@
}
.form-group {
- margin-bottom: 2rem;
+ margin-bottom: 1.5rem;
}
.form-group label {
display: block;
- margin-bottom: 0.75rem;
+ margin-bottom: 0.5rem;
color: var(--text-primary);
font-weight: 500;
- font-size: 1.1rem;
+ font-size: 0.95rem;
}
.ldr-form-control {
width: 100%;
- padding: 1rem 1.25rem;
+ padding: 0.75rem 1rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
- border-radius: 10px;
+ border-radius: 8px;
color: var(--text-primary);
- font-size: 1.1rem;
+ font-size: 1rem;
transition: all 0.2s;
}
@@ -211,27 +215,27 @@
color: var(--text-muted);
}
- .checkbox-label {
+ .ldr-checkbox-label {
display: flex;
align-items: center;
- gap: 1rem;
+ gap: 0.75rem;
cursor: pointer;
color: var(--text-secondary);
- margin-bottom: 2rem;
- font-size: 1.05rem;
+ margin-bottom: 1.5rem;
+ font-size: 0.95rem;
}
- .checkbox-label input[type="checkbox"] {
- width: 1.5rem;
- height: 1.5rem;
+ .ldr-checkbox-label input[type="checkbox"] {
+ width: 1.25rem;
+ height: 1.25rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
- border-radius: 6px;
+ border-radius: 4px;
cursor: pointer;
flex-shrink: 0;
}
- .checkbox-label input[type="checkbox"]:checked {
+ .ldr-checkbox-label input[type="checkbox"]:checked {
background: var(--accent-primary);
border-color: var(--accent-primary);
}
@@ -240,13 +244,13 @@
display: inline-flex;
align-items: center;
justify-content: center;
- gap: 0.75rem;
- padding: 1.25rem 2.5rem;
+ gap: 0.5rem;
+ padding: 0.875rem 2rem;
background: var(--accent-primary);
color: white;
border: none;
- border-radius: 10px;
- font-size: 1.15rem;
+ border-radius: 8px;
+ font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
@@ -264,27 +268,27 @@
transform: translateY(0);
}
- .auth-links {
+ .ldr-auth-links {
text-align: center;
- margin-top: 2.5rem;
- padding-top: 2.5rem;
+ margin-top: 1.5rem;
+ padding-top: 1.5rem;
border-top: 1px solid var(--border-color);
}
- .auth-links p {
+ .ldr-auth-links p {
color: var(--text-secondary);
- margin-bottom: 0.75rem;
- font-size: 1.05rem;
+ margin-bottom: 0.5rem;
+ font-size: 0.95rem;
}
- .auth-links a {
+ .ldr-auth-links a {
color: var(--accent-tertiary);
text-decoration: none;
font-weight: 500;
- font-size: 1.05rem;
+ font-size: 0.95rem;
}
- .auth-links a:hover {
+ .ldr-auth-links a:hover {
color: var(--accent-secondary);
}