Post-merge: Progress screen mobile fixes, register Progress in smoke harness

- .progress-stage-grid gets the same min-width:0 blowout guard as .grid,
  and stacks to one column under 400px (two columns left ~56px for a
  stage label at 320)
- mobile.test.mjs: add the new progress/requisitions routes (27 total)
- __smoke__/entry.jsx: main added the /progress route but never
  registered the Progress screen in the harness map, so the smoke test
  rendered h(undefined) and /progress failed on main itself

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull/46/head
Talha Ahmed 2026-09-02 15:32:23 +05:00
parent 75972d29b2
commit ea43b02b99
3 changed files with 11 additions and 3 deletions

View File

@ -34,8 +34,8 @@ const PASSWORD = process.env.ATS_TEST_PASSWORD || 'Test12345!'
// Keep in sync with src/app/routes.js (paths only — titles don't matter here). // Keep in sync with src/app/routes.js (paths only — titles don't matter here).
const ROUTES = [ const ROUTES = [
'dashboard', 'inbox', 'matching', 'jobs', 'candidates', 'talentpool', 'pipeline', 'dashboard', 'inbox', 'matching', 'jobs', 'candidates', 'talentpool', 'pipeline',
'import', 'jobboard', 'recruiterhub', 'talent', 'tasks', 'aiassistant', 'progress', 'import', 'jobboard', 'recruiterhub', 'talent', 'tasks', 'aiassistant',
'interviews', 'assessments', 'offers', 'managers', 'calendar', 'interviews', 'requisitions', 'assessments', 'offers', 'managers', 'calendar',
'reports', 'analytics', 'aistudio', 'notifications', 'rbac', 'settings', 'help', 'reports', 'analytics', 'aistudio', 'notifications', 'rbac', 'settings', 'help',
] ]
const WIDTHS = [320, 375, 390, 430, 768] const WIDTHS = [320, 375, 390, 430, 768]

View File

@ -30,6 +30,7 @@ import Jobs from '../screens/Jobs'
import Candidates from '../screens/Candidates' import Candidates from '../screens/Candidates'
import TalentPool from '../screens/TalentPool' import TalentPool from '../screens/TalentPool'
import Pipeline from '../screens/Pipeline' import Pipeline from '../screens/Pipeline'
import Progress from '../screens/Progress'
import CvImport from '../screens/CvImport' import CvImport from '../screens/CvImport'
import JobBoard from '../screens/JobBoard' import JobBoard from '../screens/JobBoard'
import RecruiterHub from '../screens/RecruiterHub' import RecruiterHub from '../screens/RecruiterHub'
@ -52,7 +53,7 @@ import Help from '../screens/Help'
const SCREENS = { const SCREENS = {
dashboard: Dashboard, inbox: Inbox, matching: Matching, jobs: Jobs, candidates: Candidates, dashboard: Dashboard, inbox: Inbox, matching: Matching, jobs: Jobs, candidates: Candidates,
talentpool: TalentPool, pipeline: Pipeline, import: CvImport, jobboard: JobBoard, talentpool: TalentPool, pipeline: Pipeline, progress: Progress, import: CvImport, jobboard: JobBoard,
recruiterhub: RecruiterHub, talent: Talent, tasks: Tasks, aiassistant: AiAssistant, recruiterhub: RecruiterHub, talent: Talent, tasks: Tasks, aiassistant: AiAssistant,
interviews: Interviews, requisitions: Requisitions, assessments: Assessments, offers: Offers, interviews: Interviews, requisitions: Requisitions, assessments: Assessments, offers: Offers,
managers: Managers, calendar: Calendar, reports: Reports, analytics: Analytics, managers: Managers, calendar: Calendar, reports: Reports, analytics: Analytics,

View File

@ -1824,6 +1824,9 @@ canvas { width: 100%; max-width: 100%; display: block; }
display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 12px; margin-bottom: 18px; gap: 12px; margin-bottom: 18px;
} }
/* Same grid-blowout guard as .grid > *: without it a stage label's longest
word set the track floor and pushed the row past a 320px viewport. */
.progress-stage-grid > * { min-width: 0; }
.progress-stage { .progress-stage {
background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
padding: 14px; padding: 14px;
@ -1895,6 +1898,10 @@ canvas { width: 100%; max-width: 100%; display: block; }
.progress-stage-grid { grid-template-columns: repeat(2, 1fr); } .progress-stage-grid { grid-template-columns: repeat(2, 1fr); }
.progress-filter-head .select { width: 100%; min-width: 0; } .progress-filter-head .select { width: 100%; min-width: 0; }
} }
/* Small phones: two columns leave ~56px for a stage label — stack instead. */
@media (max-width: 400px) {
.progress-stage-grid { grid-template-columns: 1fr; }
}
/* ============================================================ /* ============================================================
640 / 400 consolidated phone rules for the late bolt-on sections 640 / 400 consolidated phone rules for the late bolt-on sections