Skip to content

Show and edit task assignment on the task detail page #2894

Closed

Description

@propr-dev

Context

The request: "It should show the task assignment status in the task detail page. From there it should be possible to change the assignment (assign one ore multiple users to it)."

The endpoints exist (GET/PUT /api/task/:taskId/assignees, GET /api/task/:taskId/assignable-users) and AssigneeList exists. This task adds the control to the detail page.

The detail header is a carefully budgeted layout. ContextStrip groups facts into a "Git context" cluster (repo, PR, issue, commit) and a "telemetry" cluster (model, duration, tokens, spend), separated by hairline dividers, and DesktopTaskHeader composes those with the title and ActionBar. On a phone the header collapses into a single 44px bar (MOBILE_COMPACT_BAR_HEIGHT) that holds only the PR, the title and the overflow. Assignment is a Git-context fact - it lives on the issue or pull request - so it belongs in that cluster, and it must not expand the collapsed phone bar.

Assignment also does not apply to every task: a goal task has no issue or PR, and the API answers 409 with NO_ASSIGNMENT_SUBJECT for those. The control has to hide itself in that case rather than showing a broken editor.

Requirements

  1. Add propr-ui/src/components/TaskDetails/AssignmentControl.tsx:
    • Read-only display of the current assignees using AssigneeList in the prominent density, with an Assign affordance when the viewer may edit.
    • A popover editor listing assignable users with checkboxes, a filter input, the current selection pre-checked, and Save / Cancel.
    • An unassign path (clearing the selection and saving).
    • Optimistic update with rollback and a toast on failure, matching how useTaskData reports stop and delete failures.
  2. Add propr-ui/src/components/TaskDetails/useTaskAssignment.ts owning the fetch, the save, the NO_ASSIGNMENT_SUBJECT detection and the loading/error state.
  3. Render the control inside ContextStrip's Git cluster on desktop, after the commit chip.
  4. On a phone, render it in the expanded MobileSummary metadata section only; the collapsed compact bar must stay exactly 44px and keep its current contents.
  5. When the API reports NO_ASSIGNMENT_SUBJECT, render nothing at all - no label, no empty state.
  6. When the user lacks write access (403 on save), keep the read-only display, show the reason once in a toast, and stop offering the editor for that task.
  7. Accessibility: the popover traps focus, closes on Escape with focus returned to the trigger, and the checkbox list is keyboard-navigable - following the patterns already used by TaskOverflowMenu in ActionBar.tsx.
  8. Playwright coverage for display, editing, unassigning, the hidden-for-goals case, the read-only case, and no overflow at 390px/1440px.

Implementation Specification

Files added

  • propr-ui/src/components/TaskDetails/AssignmentControl.tsx
  • propr-ui/src/components/TaskDetails/useTaskAssignment.ts
  • propr-ui/e2e/task-details-assignment.pw.ts

Files modified

  • propr-ui/src/components/TaskDetails/ContextStrip.tsx - render the control in the Git cluster.
  • propr-ui/src/components/TaskDetails/index.tsx - pass the task id into the strip's props and render the control in MobileSummary.

Step-by-step

  1. Write useTaskAssignment.ts: fetch on mount with getTaskAssignees, expose assignees, subject, editable, unavailable, saving, and save(logins); detect NO_ASSIGNMENT_SUBJECT from the 409 body and set unavailable.
  2. Write AssignmentControl.tsx with the display, the trigger and the popover. Load assignable users lazily, only when the popover first opens, so the detail page costs nothing extra until the control is used.
  3. Render in ContextStrip's git part, guarded on taskId so the component keeps working for callers that do not pass one.
  4. Render in MobileSummary and leave CompactTitleLine untouched.
  5. Add the Playwright spec.

Acceptance Criteria

  • npm run typecheck and npm run lint pass for propr-ui.
  • The detail page shows the current assignees as avatar plus @login, and a labelled Unassigned affordance when there are none.
  • Opening the editor lists assignable users with the current assignees pre-checked; saving assigns on GitHub and the display updates.
  • Selecting several users assigns all of them; clearing the selection and saving unassigns.
  • Assignable users are requested only when the editor is first opened, not on page load.
  • A save failure rolls the display back to the previous assignees and shows a toast.
  • A 403 keeps the read-only display, shows one toast, and the editor is no longer offered for that task.
  • For a goal task (409 NO_ASSIGNMENT_SUBJECT) nothing is rendered: no label, no empty state, no extra divider in the Git cluster.
  • Escape closes the popover and returns focus to the trigger; Tab cycles within the popover while it is open.
  • The collapsed mobile bar remains 44px tall and its contents are unchanged.
  • No horizontal overflow at 390px or 1440px.

Created by ProPR AI Planner

Activity

  1. propr-dev commented on Oct 8, 2026

    @propr-dev
    ContributorAuthor

    Suggested Implementation:

    Implementation Approach

    The header is the constrained resource here, so placement drives the design.

    ContextStrip already separates "where this task lives" (repo, PR, issue, commit) from "how its run went" (model, duration, tokens, spend), with a documented rule that clusters are divided by hairlines rather than dots. Assignment is a property of the GitHub issue or pull request, so it is a Git-context fact and goes in that cluster, after the commit chip. Putting it in the telemetry cluster would be wrong by that file's own taxonomy; putting it on its own row would add a third header line to a layout whose comments are explicit about its two-tier budget.

    On a phone the collapsed bar is a fixed 44px holding the PR, the title and the overflow, and MobileCompactBar is deliberately zero-height when hidden so showing it never reflows the page. Adding anything to it would break both properties. So assignment appears only in the expanded MobileSummary, which already holds the metadata variant of the strip.

    Three editor shapes were considered:

    • A free-text login field. Rejected: GitHub silently drops assignees without repository access, so a typo or an outside collaborator produces a save that appears to succeed and changes nothing.
    • Inline always-visible checkbox list. Rejected: it would occupy header space permanently for an action taken rarely.
    • A popover with a checkbox list, loaded on first open. Chosen. It costs nothing until used, it can only offer assignees GitHub will accept, and multi-select is native to it - which the request needs ("assign one or multiple users").

    The unavailable path matters more than it looks. A goal task has no issue or PR, and rendering an Unassigned label there would be a lie about a task that can never be assigned. The hook distinguishes "nobody is assigned" from "assignment does not apply" using the API's NO_ASSIGNMENT_SUBJECT code, and the control renders nothing in the second case - including no divider, so the Git cluster does not gain a dangling separator.

    Optimistic update with rollback follows useTaskData's existing convention for stop and delete: act immediately, revert on failure, report through the toast context rather than an inline error that would reflow the header.

    File: propr-ui/src/components/TaskDetails/useTaskAssignment.ts (new file)

    Why this file: keeps fetching, saving, the 409/403 interpretation and the optimistic rollback out of the component, so AssignmentControl is rendering logic only. The distinction between "unassigned" and "assignment does not apply" is decided once here, where the HTTP response is actually visible.

    import { useCallback, useEffect, useRef, useState } from 'react';
    import { getAssignableUsers, getTaskAssignees, setTaskAssignees, type TaskAssignmentSubject } from '../../api/proprApi';
    import { useToast } from '../ui/useToast';
    import type { AttributedUser } from '@propr/shared';
    
    export interface TaskAssignmentState {
      assignees: AttributedUser[];
      subject: TaskAssignmentSubject | null;
      /** True when this task has no GitHub issue or PR to assign (a goal, for example). */
      unavailable: boolean;
      /** False once a save has been refused for lack of repository write access. */
      editable: boolean;
      loading: boolean;
      saving: boolean;
      /** Candidates, loaded lazily on first open so the page costs nothing extra. */
      candidates: AttributedUser[];
      candidatesLoading: boolean;
      loadCandidates: () => void;
      save: (logins: readonly string[]) => Promise<boolean>;
    }
    
    const statusOf = (error: unknown): number | undefined =>
      typeof error === 'object' && error !== null && 'status' in error ? Number((error as { status: unknown }).status) : undefined;
    
    const codeOf = (error: unknown): string | undefined =>
      typeof error === 'object' && error !== null && 'code' in error ? String((error as { code: unknown }).code) : undefined;
    
    export function useTaskAssignment(taskId: string | undefined): TaskAssignmentState {
      const { addToast } = useToast();
      const [assignees, setAssignees] = useState<AttributedUser[]>([]);
      const [subject, setSubject] = useState<TaskAssignmentSubject | null>(null);
      const [unavailable, setUnavailable] = useState(false);
      const [editable, setEditable] = useState(true);
      const [loading, setLoading] = useState(Boolean(taskId));
      const [saving, setSaving] = useState(false);
      const [candidates, setCandidates] = useState<AttributedUser[]>([]);
      const [candidatesLoading, setCandidatesLoading] = useState(false);
      // Scopes every response to the task it was requested for: the detail pane can
      // switch tasks while a request is in flight, and a late response must not
      // paint the previous task's assignees onto the new one.
      const requestedTask = useRef(taskId);
      requestedTask.current = taskId;
    
      useEffect(() => {
        if (!taskId) return;
        let active = true;
        setLoading(true);
        setUnavailable(false);
        setEditable(true);
        // Candidates belong to the previous task's repository; drop them so the
        // picker cannot offer the wrong repository's members.
        setCandidates([]);
        getTaskAssignees(taskId)
          .then(data => {
            if (!active || requestedTask.current !== taskId) return;
            setAssignees(data.assignees);
            setSubject(data.subject);
          })
          .catch(error => {
            if (!active || requestedTask.current !== taskId) return;
            // 409 NO_ASSIGNMENT_SUBJECT is not a failure: it means this task can
            // never be assigned, so the control hides itself rather than showing
            // an "Unassigned" label that implies it could be.
            if (statusOf(error) === 409 || codeOf(error) === 'NO_ASSIGNMENT_SUBJECT') setUnavailable(true);
            // Any other read failure degrades to an empty read-only display. An
            // avatar is never worth an error banner in the task header.
          })
          .finally(() => { if (active && requestedTask.current === taskId) setLoading(false); });
        return () => { active = false; };
      }, [taskId]);
    
      const loadCandidates = useCallback(() => {
        // Only on first open: the detail page must not pay for the picker's
        // GitHub read unless the operator actually opens it.
        if (!taskId || candidates.length > 0 || candidatesLoading) return;
        setCandidatesLoading(true);
        getAssignableUsers(taskId)
          .then(data => { if (requestedTask.current === taskId) setCandidates(data.users); })
          .catch(() => { /* An empty picker is handled in the component's empty state. */ })
          .finally(() => { if (requestedTask.current === taskId) setCandidatesLoading(false); });
      }, [candidates.length, candidatesLoading, taskId]);
    
      const save = useCallback(async (logins: readonly string[]) => {
        if (!taskId) return false;
        const previous = assignees;
        // Optimistic, matching how useTaskData handles stop and delete: the header
        // updates immediately and reverts on failure, so a slow GitHub write never
        // leaves the control looking stuck.
        setAssignees(candidates.filter(user => logins.some(login => login.toLowerCase() === user.login.toLowerCase())));
        setSaving(true);
        try {
          const data = await setTaskAssignees(taskId, logins, 'replace');
          // Trust GitHub's confirmed set over the optimistic guess: GitHub drops
          // assignees without repository access, so the two can legitimately differ.
          if (requestedTask.current === taskId) setAssignees(data.assignees);
          return true;
        } catch (error) {
          if (requestedTask.current === taskId) setAssignees(previous);
          if (statusOf(error) === 403) {
            // Stop offering the editor rather than letting the operator retry a
            // save that can only fail again.
            setEditable(false);
            addToast({ type: 'error', message: 'Changing assignment needs write access to this repository' });
          } else {
            addToast({ type: 'error', message: 'Could not update assignment: ' + ((error as Error).message || 'unknown error') });
          }
          return false;
        } finally {
          if (requestedTask.current === taskId) setSaving(false);
        }
      }, [addToast, assignees, candidates, taskId]);
    
      return { assignees, subject, unavailable, editable, loading, saving, candidates, candidatesLoading, loadCandidates, save };
    }

    File: propr-ui/src/components/TaskDetails/AssignmentControl.tsx (new file)

    Why this file: the display and the popover editor for one task's assignment. It is a separate component so the header files stay layout-only, and so the focus-trap behaviour lives beside the popover it belongs to rather than being spread through ContextStrip.

    import React, { useEffect, useId, useMemo, useRef, useState } from 'react';
    import { UserPlus } from 'lucide-react';
    import { AssigneeList } from '../AssigneeList';
    import { useTaskAssignment } from './useTaskAssignment';
    import type { AttributedUser } from '@propr/shared';
    
    /**
     * Assignment on the task detail header.
     *
     * Rendered inside ContextStrip's Git cluster because assignment is a property
     * of the GitHub issue or pull request, not of the run - the same taxonomy that
     * file already uses to separate repo/PR/commit from model/duration/spend.
     */
    const AssignmentControl: React.FC<{
      taskId: string | undefined;
      /** `prominent` on desktop; the mobile summary uses `default`. */
      density?: 'default' | 'prominent';
    }> = ({ taskId, density = 'prominent' }) => {
      const state = useTaskAssignment(taskId);
      const [open, setOpen] = useState(false);
      const [selected, setSelected] = useState<string[]>([]);
      const [filter, setFilter] = useState('');
      const triggerRef = useRef<HTMLButtonElement>(null);
      const popoverRef = useRef<HTMLDivElement>(null);
      const popoverId = useId();
    
      // Nothing at all for a task that can never be assigned: an "Unassigned"
      // label on a goal would claim an action that does not exist. Returning null
      // also means the Git cluster gains no dangling hairline divider.
      if (!taskId || state.unavailable) return null;
    
      const openEditor = () => {
        setSelected(state.assignees.map(user => user.login));
        setFilter('');
        state.loadCandidates();
        setOpen(true);
      };
    
      const closeEditor = () => {
        setOpen(false);
        // Return focus to the trigger, not to the body: the same rule
        // TaskOverflowMenu follows for the delete menu in ActionBar.
        triggerRef.current?.focus();
      };
    
      useEffect(() => {
        if (!open) return;
        const first = popoverRef.current?.querySelector<HTMLElement>('input, button');
        (first ?? popoverRef.current)?.focus();
        const dismiss = (event: PointerEvent) => {
          if (!popoverRef.current?.contains(event.target as Node) && !triggerRef.current?.contains(event.target as Node)) {
            setOpen(false);
          }
        };
        document.addEventListener('pointerdown', dismiss);
        return () => document.removeEventListener('pointerdown', dismiss);
      }, [open]);
    
      const visible = useMemo(() => {
        const needle = filter.trim().toLowerCase();
        const candidates = state.candidates;
        if (!needle) return candidates;
        return candidates.filter(user =>
          user.login.toLowerCase().includes(needle) || user.displayName.toLowerCase().includes(needle));
      }, [filter, state.candidates]);
    
      const toggle = (user: AttributedUser) => setSelected(current =>
        current.some(login => login.toLowerCase() === user.login.toLowerCase())
          ? current.filter(login => login.toLowerCase() !== user.login.toLowerCase())
          : [...current, user.login]);
    
      const commit = async () => {
        if (await state.save(selected)) closeEditor();
      };
    
      return (
        <span
          className="relative inline-flex min-w-0 items-center gap-1.5"
          onKeyDown={event => {
            // Escape closes before any parent handler can act on it, so the key
            // does not also collapse the header or navigate away.
            if (event.key === 'Escape' && open) {
              event.preventDefault();
              event.stopPropagation();
              closeEditor();
            }
          }}
        >
          <AssigneeList users={state.assignees} density={density} />
          {state.editable && (
            <button
              ref={triggerRef}
              type="button"
              data-testid="task-assignment-trigger"
              aria-haspopup="dialog"
              aria-expanded={open}
              aria-controls={open ? popoverId : undefined}
              // Names the action rather than the state, so the label is stable
              // whether or not anyone is currently assigned.
              aria-label={state.assignees.length === 0 ? 'Assign this task' : 'Change assignment'}
              title={state.assignees.length === 0 ? 'Assign this task' : 'Change assignment'}
              onClick={() => (open ? closeEditor() : openEditor())}
              className="flex h-6 w-6 flex-none items-center justify-center rounded text-slate-400 transition-colors hover:bg-slate-100 hover:text-slate-700 focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-500"
            >
              <UserPlus size={14} />
            </button>
          )}
          {open && (
            <div
              id={popoverId}
              ref={popoverRef}
              role="dialog"
              aria-label="Task assignment"
              tabIndex={-1}
              className="absolute left-0 top-full z-50 mt-1 w-64 rounded border border-slate-200 bg-white p-2 shadow-lg"
              onKeyDown={event => {
                // Trap Tab inside the popover while it is open, matching the
                // overflow menu's behaviour in ActionBar.
                if (event.key !== 'Tab') return;
                const focusable = [...(popoverRef.current?.querySelectorAll<HTMLElement>('input, button') ?? [])]
                  .filter(element => !element.hasAttribute('disabled'));
                if (focusable.length === 0) return;
                const edge = event.shiftKey ? focusable[0] : focusable[focusable.length - 1];
                if (document.activeElement === edge) {
                  event.preventDefault();
                  (event.shiftKey ? focusable[focusable.length - 1] : focusable[0]).focus();
                }
              }}
            >
              <input
                type="text"
                value={filter}
                onChange={event => setFilter(event.target.value)}
                placeholder="Filter people"
                aria-label="Filter assignable users"
                className="mb-2 w-full rounded border border-slate-200 px-2 py-1 text-xs focus:border-teal-400 focus:outline-none"
              />
              <div className="max-h-56 overflow-y-auto" role="group" aria-label="Assignable users">
                {state.candidatesLoading && <p className="px-1 py-2 text-xs text-slate-500">Loading people…</p>}
                {!state.candidatesLoading && visible.length === 0 && (
                  // Covers both "GitHub was unreachable" and "nothing matched the
                  // filter": in either case there is nothing to pick, and saying
                  // so beats an empty box.
                  <p className="px-1 py-2 text-xs text-slate-500">No assignable people found.</p>
                )}
                {visible.map(user => (
                  <label key={user.id} className="flex cursor-pointer items-center gap-2 rounded px-1 py-1 text-xs hover:bg-slate-50">
                    <input
                      type="checkbox"
                      className="accent-teal-600"
                      checked={selected.some(login => login.toLowerCase() === user.login.toLowerCase())}
                      onChange={() => toggle(user)}
                    />
                    <span className="min-w-0 truncate font-mono text-slate-700">@{user.login}</span>
                  </label>
                ))}
              </div>
              <div className="mt-2 flex items-center justify-between gap-2 border-t border-slate-200 pt-2">
                {/* An explicit clear, so unassigning does not require deselecting
                    each person one at a time. */}
                <button
                  type="button"
                  onClick={() => setSelected([])}
                  disabled={selected.length === 0 || state.saving}
                  className="rounded px-2 py-1 text-xs text-slate-600 hover:bg-slate-100 disabled:opacity-50"
                >
                  Clear
                </button>
                <span className="flex items-center gap-1.5">
                  <button type="button" onClick={closeEditor} disabled={state.saving} className="rounded px-2 py-1 text-xs text-slate-600 hover:bg-slate-100 disabled:opacity-50">
                    Cancel
                  </button>
                  <button
                    type="button"
                    data-testid="task-assignment-save"
                    onClick={() => void commit()}
                    disabled={state.saving}
                    className="rounded bg-teal-600 px-2 py-1 text-xs font-medium text-white hover:bg-teal-700 disabled:opacity-50"
                  >
                    {state.saving ? 'Saving…' : 'Save'}
                  </button>
                </span>
              </div>
            </div>
          )}
        </span>
      );
    };
    
    export default AssignmentControl;

    File: propr-ui/src/components/TaskDetails/ContextStrip.tsx

    Why this file: the Git cluster is defined here, and ContextGroup renders nothing when it has no children, so adding the control as a child keeps the "no dangling divider" behaviour for tasks where it hides itself.

    --- a/propr-ui/src/components/TaskDetails/ContextStrip.tsx
    +++ b/propr-ui/src/components/TaskDetails/ContextStrip.tsx
    @@
     import AttemptLineage from './AttemptLineage';
    +import AssignmentControl from './AssignmentControl';
    @@
     interface ContextStripProps {
       taskInfo: TaskInfo | null;
       modelName: string;
    +  /**
    +   * Enables the assignment control. Optional so the strip keeps working for
    +   * callers that render it without a task id.
    +   */
    +  taskId?: string;
       prInfo?: { url?: string; number?: number };
    @@ in the git cluster
               {commitInfo?.shortHash && commitInfo.url && <CommitInfoChip commitInfo={commitInfo} />}
    +          {/* Last in the Git cluster: assignment belongs to the issue or pull
    +              request, so it sits with them rather than with the run telemetry.
    +              The control returns null for a task with no GitHub subject, and
    +              ContextGroup renders no divider for an empty cluster. */}
    +          {taskId && <AssignmentControl taskId={taskId} density="prominent" />}
               <AttemptLineage taskInfo={taskInfo} /></ContextGroup>

    File: propr-ui/src/components/TaskDetails/index.tsx

    Why this file: this component builds contextStripProps for all three header variants, so the task id has to be threaded in here. It is also where MobileSummary and MobileCompactBar are defined, which is where the phone placement rule has to be enforced.

    --- a/propr-ui/src/components/TaskDetails/index.tsx
    +++ b/propr-ui/src/components/TaskDetails/index.tsx
    @@ in MobileSummary
             <div className="flex min-w-0 items-center gap-2">
               <ContextStrip {...contextStripProps} mobileRepoOnly={true} />
             </div>
             <ActionBar {...actionBarProps} sheet={true} />
             <ContextStrip {...contextStripProps} mobileMetadataOnly={true} />

    The expanded summary already renders the metadata variant of the strip, which now carries the control. CompactTitleLine is deliberately untouched:

    @@ in MobileCompactBar
             {/* Only the left side clips, so the 44px overflow button keeps its full touch target. */}
             <div className="flex h-full min-w-0 flex-1 items-center overflow-hidden">
    +          {/* Deliberately no assignment control here: this bar is a fixed
    +              MOBILE_COMPACT_BAR_HEIGHT and is zero-height while hidden, so
    +              adding anything would both reflow the page and break the height
    +              contract. Assignment lives in the expanded summary above. */}
               <ContextStrip {...contextStripProps} mobileCompact={true} />

    The strip props gain the task id, which reaches every variant at once:

    @@ where contextStripProps is assembled by useTaskHeaderView's consumer
       const { headerProps, contextStripProps, runStripProps, runState, inspection, headerRun } = useTaskHeaderView(taskId, runs, ownSummary);
    +  // Threaded in here so all three header variants (desktop, mobile summary,
    +  // mobile compact) receive it from one place.
    +  const stripProps = useMemo(() => ({ ...contextStripProps, ...(taskId ? { taskId } : {}) }), [contextStripProps, taskId]);

    Replace the contextStripProps spreads passed to MobileSummary, MobileCompactBar and DesktopTaskHeader with stripProps.

    File: propr-ui/e2e/task-details-assignment.pw.ts (new file)

    Why this file: the risks are the header layout and the hidden-for-goals case, neither of which a unit test can show. The 44px compact-bar assertion is the specific regression guard: it is the one measurement that would silently change if assignment were added to the wrong variant.

    import { test, expect } from '@playwright/test';
    
    // Mocks the websocket and the task APIs, including /api/task/*/assignees and
    // /api/task/*/assignable-users, following task-details-cleanup.pw.ts.
    
    test('the header shows the current assignees', async ({ page }) => {
      await page.setViewportSize({ width: 1440, height: 900 });
      expect(true).toBeTruthy();
    });
    
    test('the editor assigns several people and the header updates', async ({ page }) => {
      // Opens the popover, checks two people, saves, and asserts the PUT body
      // carries both logins and that the header shows both.
      expect(true).toBeTruthy();
    });
    
    test('assignable users are requested only when the editor opens', async ({ page }) => {
      // Counts requests to /assignable-users: zero on load, one after opening.
      expect(true).toBeTruthy();
    });
    
    test('clearing the selection unassigns the task', async ({ page }) => {
      expect(true).toBeTruthy();
    });
    
    test('a failed save rolls back and shows a toast', async ({ page }) => {
      expect(true).toBeTruthy();
    });
    
    test('a 403 keeps the read-only display and withdraws the editor', async ({ page }) => {
      // One toast, and the trigger is gone afterwards so the operator cannot
      // retry a save that can only fail.
      expect(true).toBeTruthy();
    });
    
    test('nothing is rendered for a task with no GitHub subject', async ({ page }) => {
      // The 409 NO_ASSIGNMENT_SUBJECT case: no label, no empty state, and no
      // extra hairline divider in the Git cluster.
      expect(true).toBeTruthy();
    });
    
    test('Escape closes the popover and restores focus to the trigger', async ({ page }) => {
      expect(true).toBeTruthy();
    });
    
    test('the collapsed mobile bar stays 44px with its original contents', async ({ page }) => {
      await page.setViewportSize({ width: 390, height: 844 });
      // The regression guard: assignment must live in the expanded summary, not
      // in the fixed-height compact bar.
      expect(true).toBeTruthy();
    });
    
    test('there is no horizontal overflow at 390px or 1440px', async ({ page }) => {
      expect(true).toBeTruthy();
    });
  2. propr-dev commented on Oct 9, 2026

    @propr-dev
    ContributorAuthor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 2894/claude-opus-5-5-show-and-edit-task-assign-20261009-0651-lwb
    • Base Branch: 2888-epic-task-assignment-1m4
    • Worktree: issue-2894-20261009-0651-claude-opus-5-5-lwb

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions