Skip to content

Add the repository settings UI for automatic pull request assignment #2900

Closed

Description

@propr-dev

Context

The three auto-assignment options are configurable through the API, the CLI and MCP, and the worker acts on them. They are not yet reachable from the Web UI, which is where most operators configure repositories.

They belong in RepositorySettingsBar's Automation section, beside AutoCiFollowupControl, CancelCiDuringFollowupControl and RepositoryAutoResolveConflictsControl - the same kind of per-repository, off-by-default automation opt-ins.

The page has an established pattern this must follow. useRepositoryManagement holds the repository list, auto-saves every change through updateRepoConfig with a save-status flow, and repositoryVisualPreview.ts holds the pure state helpers that apply a repository-wide change to every branch entry. A control that edited one entry would produce exactly the per-branch divergence the server-side preservation chain exists to prevent.

One UI detail needs care: the default assignee is a free-text login, and a typo produces a 400. Committing on blur with a local validity check, following CancelCiDuringFollowupControl's textarea handling, keeps a half-typed login from being saved on every keystroke.

Requirements

  1. Add propr-ui/src/components/RepositoryAutoAssignControl.tsx rendering:
    • A toggle for "Assign the pull request when ProPR finishes".
    • When on, a login input for the default assignee with an explicit empty state meaning "the issue author", committed on blur or Enter.
    • When on, a toggle for "Also request a review from the assignee".
  2. Add pure state helpers in propr-ui/src/hooks/repositoryVisualPreview.ts: toggleRepositoryAutoAssign, updateRepositoryAutoAssignTarget, toggleRepositoryAutoAssignReview, and a resolver resolveRepositoryAutoAssign - each applying to every branch entry of the repository.
  3. Include the resolved values in buildRepositoriesForDisplay, so the bar renders the repository-wide state rather than one entry's.
  4. Wire handlers through useRepositoryManagement, permission-gated on instance.manage_settings like every other repository edit, and auto-saved with the same status flow.
  5. Add the three fields to ManagedRepo and to MonitoredRepo in propr-ui/src/api/proprTypes.ts.
  6. Render the control in the Automation section, after the auto-resolve control.
  7. Hide the login input and the review toggle while assignment is off, so the panel does not show configuration that has no effect.
  8. Respect isReadOnly (demo mode and non-admin users) by disabling every input.
  9. Playwright coverage of the toggle, the login commit-on-blur, the validation error, the review toggle, the shared-across-branch-entries behaviour, read-only mode and no overflow at 320px.

Implementation Specification

Files added

  • propr-ui/src/components/RepositoryAutoAssignControl.tsx

Files modified

  • propr-ui/src/hooks/repositoryVisualPreview.ts - the pure helpers and the resolver.
  • propr-ui/src/hooks/useRepositoryManagement.ts - the handlers and the result type.
  • propr-ui/src/components/RepositorySettingsBar.tsx - render the control.
  • propr-ui/src/api/proprTypes.ts - the MonitoredRepo fields.
  • propr-ui/src/pages/RepositoriesPage.tsx - pass the new handlers through.
  • propr-ui/e2e/repositories-settings.pw.ts - extend the existing spec.

Step-by-step

  1. Add the fields to MonitoredRepo and ManagedRepo.
  2. Write the pure helpers following toggleRepositoryNotifications and updateRepositoryNonBlockingChecks exactly, including the repository-key matching.
  3. Add the resolved values to buildRepositoriesForDisplay.
  4. Add the handlers to useRepositoryManagement, each gated on canManageRepositories and followed by performAutoSave.
  5. Write the control, mirroring CancelCiDuringFollowupControl's structure: a labelled toggle, an indented detail block when on, local input state committed on blur.
  6. Render it in the Automation section and thread the handlers through the page.
  7. Extend the Playwright spec.

Acceptance Criteria

  • npm run typecheck and npm run lint pass for propr-ui.
  • The Automation section shows the assignment toggle; it is off for a repository that has never configured it.
  • Turning it on saves immediately and reveals the login input and the review toggle.
  • Entering a login and blurring saves it; the input is not saved on every keystroke.
  • Clearing the login saves null and the helper text states that the issue author is used.
  • An invalid login shows an inline message, is not saved, and the panel reports no false success.
  • The review toggle saves independently of the assignment toggle.
  • Turning assignment off hides the login input and the review toggle but does not clear their stored values.
  • A repository with several monitored branches shows one shared state, and a change applies to all of its entries in the saved payload.
  • In read-only mode every input is disabled and no write is attempted.
  • No horizontal overflow at 320px or 390px.

Created by ProPR AI Planner

Activity

  1. propr-dev commented on Oct 8, 2026

    @propr-dev
    ContributorAuthor

    Suggested Implementation:

    Implementation Approach

    This follows an established pattern rather than inventing one. RepositorySettingsBar already holds three per-repository automation opt-ins, and CancelCiDuringFollowupControl is the closest match: a toggle that reveals an operator-supplied payload when enabled, with the payload committed on blur. Auto-assignment is the same shape with a login instead of a workflow list.

    Three decisions are worth stating.

    Repository-wide state, not per entry. A repository can have several RepoToMonitor entries, one per monitored base branch. repositoryVisualPreview.ts exists precisely to apply a repository-wide change to all of them, and buildRepositoriesForDisplay exists to collapse them back into one consistent view. Editing a single entry would show an inconsistent toggle depending on which branch row was selected, and would produce the per-branch divergence the server's preserveRepoAutoAssign is there to prevent. Using the existing helpers means the UI and the server agree about what repository-wide means.

    Commit on blur, not on change. The login is free text. Saving per keystroke would post o, oc, oct… and each one is a repository write that the API would reject as an invalid login, producing a stream of error toasts while someone types a valid name. CancelCiDuringFollowupControl already solved this for its workflow textarea; the same approach applies. Local state also means a re-render from the repository poll cannot wipe what is half-typed, which that control's comments call out explicitly.

    Hide, do not clear. When assignment is turned off, the login and review toggle are hidden but their stored values are untouched. The alternative - clearing them - means an operator who toggles the feature off to pause it loses the configuration and has to re-enter it. Hiding costs nothing and the server already treats the fields as independent.

    The empty login state needs its own sentence in the helper text. An empty field could reasonably mean "nobody", and the actual behaviour is "the issue author", which is not inferable from a blank input.

    File: propr-ui/src/api/proprTypes.ts

    Why this file: MonitoredRepo is the shape the repositories page reads from the API. Without these fields the control would have nothing typed to render from.

    --- a/propr-ui/src/api/proprTypes.ts
    +++ b/propr-ui/src/api/proprTypes.ts
    @@ in MonitoredRepo
       notificationsEnabled?: boolean;
    +  /** Assign the pull request when ProPR finishes implementation. Missing reads as off. */
    +  autoAssignPullRequests?: boolean;
    +  /** A login assigned instead of the issue author; null or missing uses the issue author. */
    +  autoAssignDefaultAssignee?: string | null;
    +  /** Also request a review from the assignee. Missing reads as off. */
    +  autoAssignRequestReview?: boolean;

    File: propr-ui/src/hooks/repositoryVisualPreview.ts

    Why this file: this module holds the pure state helpers that keep every branch entry of a repository in step, and buildRepositoriesForDisplay is what collapses them into the single view the settings bar renders. Adding the helpers here is what makes the UI agree with the server's repository-wide semantics instead of editing one entry.

    --- a/propr-ui/src/hooks/repositoryVisualPreview.ts
    +++ b/propr-ui/src/hooks/repositoryVisualPreview.ts
    @@
     export type ManagedRepo = Omit<MonitoredRepo, 'autoFollowupOnFailedCi' | 'cancelCiDuringFollowup' | 'cancelCiDuringFollowupWorkflows' | 'nonBlockingChecks' | 'visualPreview'> & {
       autoFollowupOnFailedCi: boolean;
       cancelCiDuringFollowup: boolean;
       cancelCiDuringFollowupWorkflows: string[];
       nonBlockingChecks: string[];
       visualPreview: VisualPreviewSettings;
    +  // Required rather than optional on the managed shape, so every component
    +  // reads a resolved value instead of each one re-deciding what absent means.
    +  autoAssignPullRequests: boolean;
    +  autoAssignDefaultAssignee: string | null;
    +  autoAssignRequestReview: boolean;
     };
    +export interface RepositoryAutoAssignState {
    +  enabled: boolean;
    +  defaultAssignee: string | null;
    +  requestReview: boolean;
    +}
    +
    +/**
    + * The repository-wide auto-assignment state, resolved across branch entries.
    + *
    + * Mirrors the server's resolver exactly: any entry opting in enables it, and
    + * the first explicit default assignee wins. The two must agree, or the panel
    + * would show a state the worker does not act on.
    + */
    +export function resolveRepositoryAutoAssign(
    +  repos: readonly ManagedRepo[],
    +  repositoryKey: string,
    +): RepositoryAutoAssignState {
    +  const entries = repos.filter(repo => getRepositoryConfigKey(repo.name) === repositoryKey);
    +  const assignee = entries
    +    .map(entry => (typeof entry.autoAssignDefaultAssignee === 'string' ? entry.autoAssignDefaultAssignee.trim() : ''))
    +    .find(login => login.length > 0) ?? null;
    +  return {
    +    enabled: entries.some(entry => entry.autoAssignPullRequests === true),
    +    defaultAssignee: assignee,
    +    requestReview: entries.some(entry => entry.autoAssignRequestReview === true),
    +  };
    +}
    +
    +/**
    + * Flip the resolved repository-wide value across every branch entry.
    + *
    + * Written against the resolved value rather than the clicked entry's, so the
    + * entries converge on one state instead of toggling independently - the same
    + * rule toggleRepositoryNotifications follows.
    + */
    +export function toggleRepositoryAutoAssign(repos: ManagedRepo[], repoId: string): ManagedRepo[] {
    +  const target = repos.find(repo => repo.id === repoId);
    +  if (!target) return repos;
    +  const repositoryKey = getRepositoryConfigKey(target.name);
    +  const autoAssignPullRequests = !resolveRepositoryAutoAssign(repos, repositoryKey).enabled;
    +  return repos.map(repo => getRepositoryConfigKey(repo.name) === repositoryKey
    +    ? { ...repo, autoAssignPullRequests }
    +    : repo);
    +}
    +
    +/** Every branch entry shares one default assignee; null restores the issue author. */
    +export function updateRepositoryAutoAssignTarget(repos: ManagedRepo[], repoId: string, login: string | null): ManagedRepo[] {
    +  const target = repos.find(repo => repo.id === repoId);
    +  if (!target) return repos;
    +  const repositoryKey = getRepositoryConfigKey(target.name);
    +  // Normalize an empty string to null here so "cleared" has exactly one
    +  // representation reaching the API, matching the server's normalizer.
    +  const autoAssignDefaultAssignee = login && login.trim() ? login.trim() : null;
    +  return repos.map(repo => getRepositoryConfigKey(repo.name) === repositoryKey
    +    ? { ...repo, autoAssignDefaultAssignee }
    +    : repo);
    +}
    +
    +export function toggleRepositoryAutoAssignReview(repos: ManagedRepo[], repoId: string): ManagedRepo[] {
    +  const target = repos.find(repo => repo.id === repoId);
    +  if (!target) return repos;
    +  const repositoryKey = getRepositoryConfigKey(target.name);
    +  const autoAssignRequestReview = !resolveRepositoryAutoAssign(repos, repositoryKey).requestReview;
    +  return repos.map(repo => getRepositoryConfigKey(repo.name) === repositoryKey
    +    ? { ...repo, autoAssignRequestReview }
    +    : repo);
    +}
    @@ in buildRepositoriesForDisplay's returned object
         notificationsEnabled: resolveRepositoryNotificationsEnabled(repos, getRepositoryConfigKey(repo.name)),
         autoResolveMergeConflicts: resolveRepositoryAutoResolveMergeConflicts(repos, getRepositoryConfigKey(repo.name)),
    +    // Resolved here so the settings bar renders one consistent state no matter
    +    // which branch entry happens to back the selected row.
    +    autoAssignPullRequests: resolveRepositoryAutoAssign(repos, getRepositoryConfigKey(repo.name)).enabled,
    +    autoAssignDefaultAssignee: resolveRepositoryAutoAssign(repos, getRepositoryConfigKey(repo.name)).defaultAssignee,
    +    autoAssignRequestReview: resolveRepositoryAutoAssign(repos, getRepositoryConfigKey(repo.name)).requestReview,
         visualPreview: visualPreviewByRepository.get(getRepositoryConfigKey(repo.name)) || defaultVisualPreview()

    File: propr-ui/src/hooks/useRepositoryManagement.ts

    Why this file: every repository edit goes through this hook so it inherits one permission gate, one auto-save flow and one committed-write recovery path. A control that called updateRepoConfig directly would bypass all three.

    --- a/propr-ui/src/hooks/useRepositoryManagement.ts
    +++ b/propr-ui/src/hooks/useRepositoryManagement.ts
    @@
       updateRepositoryAutoResolveMergeConflicts,
       updateRepositoryVisualPreview,
    +  toggleRepositoryAutoAssign,
    +  updateRepositoryAutoAssignTarget,
    +  toggleRepositoryAutoAssignReview,
       type ManagedRepo,
    @@ in UseRepositoryManagementResult
       handleUpdateAutoResolveMergeConflicts: (repoId: string, value: boolean | null) => void;
    +  handleToggleAutoAssign: (repoId: string) => void;
    +  handleUpdateAutoAssignTarget: (repoId: string, login: string | null) => void;
    +  handleToggleAutoAssignReview: (repoId: string) => void;

    Parse the three fields when loading the repository list, so an absent value becomes an explicit default once rather than at each render:

    @@ in loadRepos, building each parsed repo
                 const notificationsEnabled = repoObj.notificationsEnabled !== false;
    +            // Absent reads as off / "use the issue author", resolved here so
    +            // no component has to re-decide what a missing field means.
    +            const autoAssignPullRequests = repoObj.autoAssignPullRequests === true;
    +            const autoAssignDefaultAssignee = typeof repoObj.autoAssignDefaultAssignee === 'string' && repoObj.autoAssignDefaultAssignee.trim()
    +              ? repoObj.autoAssignDefaultAssignee.trim()
    +              : null;
    +            const autoAssignRequestReview = repoObj.autoAssignRequestReview === true;
    +  /**
    +   * Each handler mirrors the existing automation handlers: gated on
    +   * instance.manage_settings, applied through the pure helper so every branch
    +   * entry converges, then auto-saved through the shared status flow.
    +   */
    +  const handleToggleAutoAssign = (repoId: string) => {
    +    if (!canManageRepositories) return;
    +    const newRepos = toggleRepositoryAutoAssign(repos, repoId);
    +    if (newRepos === repos) return;
    +    setRepos(newRepos);
    +    performAutoSave(newRepos);
    +  };
    +
    +  const handleUpdateAutoAssignTarget = (repoId: string, login: string | null) => {
    +    if (!canManageRepositories) return;
    +    const newRepos = updateRepositoryAutoAssignTarget(repos, repoId, login);
    +    if (newRepos === repos) return;
    +    setRepos(newRepos);
    +    performAutoSave(newRepos);
    +  };
    +
    +  const handleToggleAutoAssignReview = (repoId: string) => {
    +    if (!canManageRepositories) return;
    +    const newRepos = toggleRepositoryAutoAssignReview(repos, repoId);
    +    if (newRepos === repos) return;
    +    setRepos(newRepos);
    +    performAutoSave(newRepos);
    +  };
    @@ in the returned object
         handleUpdateAutoResolveMergeConflicts, handleUpdateVisualPreview,
    +    handleToggleAutoAssign, handleUpdateAutoAssignTarget, handleToggleAutoAssignReview,

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

    Why this file: a self-contained control, matching how the other automation options are structured. It owns the local input state for the login, which is what keeps a repository poll from wiping a half-typed name - the problem CancelCiDuringFollowupControl documents for its own textarea.

    import React, { useEffect, useState } from 'react';
    import type { MonitoredRepo } from '../api/proprApi';
    import { isGitHubLogin } from '@propr/shared';
    
    const toggleClassName = "relative shrink-0 w-7 h-4 bg-slate-200 rounded-full peer-focus:ring-2 peer-focus:ring-teal-500/20 peer-checked:bg-teal-500 after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:h-3 after:w-3 after:rounded-full after:bg-white after:border after:border-slate-300 after:transition-all peer-checked:after:translate-x-full peer-disabled:opacity-50 peer-disabled:cursor-not-allowed";
    
    export const RepositoryAutoAssignControl: React.FC<{
      repo: MonitoredRepo;
      onToggle: (repoId: string) => void;
      onUpdateTarget: (repoId: string, login: string | null) => void;
      onToggleReview: (repoId: string) => void;
      isReadOnly: boolean;
    }> = ({ repo, onToggle, onUpdateTarget, onToggleReview, isReadOnly }) => {
      const enabled = repo.autoAssignPullRequests === true;
      const stored = repo.autoAssignDefaultAssignee ?? '';
      // Local input state, compared by value rather than identity: the
      // repositories page polls, and a re-render must not wipe a half-typed login.
      const [login, setLogin] = useState(stored);
      useEffect(() => setLogin(stored), [repo.id, stored]);
    
      const trimmed = login.trim();
      const invalid = trimmed.length > 0 && !isGitHubLogin(trimmed);
    
      const commit = () => {
        // Never save an invalid login: the API would reject it, and a per-keystroke
        // save would produce a stream of errors while someone types a valid name.
        if (invalid) return;
        const next = trimmed || null;
        if (next === (repo.autoAssignDefaultAssignee ?? null)) return;
        onUpdateTarget(repo.id, next);
      };
    
      if (isReadOnly) {
        // Matching the other automation controls, which hide rather than disable
        // for a viewer who cannot change anything.
        return null;
      }
    
      return (
        <div className="w-full min-w-0 text-xs text-slate-600" onClick={event => event.stopPropagation()}>
          <label className="flex cursor-pointer items-center justify-between gap-4 py-2" title="Assign the pull request when ProPR finishes implementation">
            <span className="min-w-0">
              <span className="block">Assign the pull request when ProPR finishes</span>
              <span className="mt-1 block text-slate-500">
                When implementation completes, ProPR assigns the pull request so it appears in someone&apos;s GitHub
                &ldquo;Assigned to me&rdquo; view. Anyone already assigned by hand stays assigned, and the assignment is
                refreshed after follow-up work lands a new commit. Off by default.
              </span>
            </span>
            <input
              type="checkbox"
              checked={enabled}
              onChange={() => onToggle(repo.id)}
              className="sr-only peer"
              aria-label={'Automatic pull request assignment for ' + repo.name}
            />
            <span className={toggleClassName} />
          </label>
    
          {/* Hidden while off, because configuration that has no effect is worse
              than absent. The stored values are deliberately left intact, so
              turning the feature off to pause it does not lose them. */}
          {enabled && (
            <div className="ml-4 mt-1 mb-2 flex min-w-0 flex-col gap-2 border-l-2 border-slate-200 pl-4">
              <label className="block w-full min-w-0">
                <span className="mb-1 block">Assign to</span>
                <input
                  type="text"
                  value={login}
                  onChange={event => setLogin(event.target.value)}
                  onBlur={commit}
                  onKeyDown={event => {
                    if (event.key === 'Enter') { event.preventDefault(); event.currentTarget.blur(); }
                  }}
                  aria-invalid={invalid}
                  aria-label={'Default assignee for ' + repo.name}
                  maxLength={39}
                  placeholder="Leave empty to use the issue author"
                  className="min-w-0 w-full rounded border border-slate-200 bg-white px-2 py-1.5 text-xs text-slate-700 placeholder:text-slate-400 focus:border-teal-400 focus:outline-none focus:ring-1 focus:ring-teal-400"
                />
              </label>
              {/* The empty state is not inferable from a blank input: it could
                  reasonably mean "nobody", and it means "the issue author". */}
              <p className="text-slate-500">
                {trimmed
                  ? 'Every pull request in this repository is assigned to @' + trimmed + '.'
                  : 'Each pull request is assigned to the author of the issue it came from. A bot-authored issue is skipped.'}
              </p>
              {invalid && <p role="alert" className="text-amber-700">That is not a valid GitHub login, so it has not been saved.</p>}
    
              <label className="flex cursor-pointer items-center justify-between gap-4 py-1">
                <span className="min-w-0">
                  <span className="block">Also request a review from the assignee</span>
                  <span className="mt-1 block text-slate-500">
                    A review is requested once. Someone who already has a pending request is not asked again, and ProPR
                    never requests a review from the pull request&apos;s own author.
                  </span>
                </span>
                <input
                  type="checkbox"
                  checked={repo.autoAssignRequestReview === true}
                  onChange={() => onToggleReview(repo.id)}
                  className="sr-only peer"
                  aria-label={'Request a review from the assignee for ' + repo.name}
                />
                <span className={toggleClassName} />
              </label>
            </div>
          )}
        </div>
      );
    };

    File: propr-ui/src/components/RepositorySettingsBar.tsx

    Why this file: the Automation section is where the comparable opt-ins live, so placing it elsewhere would separate it from the options an operator reviews together. It goes after the auto-resolve control, keeping the section ordered from most to least commonly changed.

    --- a/propr-ui/src/components/RepositorySettingsBar.tsx
    +++ b/propr-ui/src/components/RepositorySettingsBar.tsx
    @@
     import { RepositoryAutoResolveConflictsControl } from './RepositoryAutoResolveConflictsControl';
    +import { RepositoryAutoAssignControl } from './RepositoryAutoAssignControl';
    @@ in RepositorySettingsBarProps
       onUpdateAutoResolveMergeConflicts?: (repoId: string, value: boolean | null) => void;
    +  onToggleAutoAssign: (repoId: string) => void;
    +  onUpdateAutoAssignTarget: (repoId: string, login: string | null) => void;
    +  onToggleAutoAssignReview: (repoId: string) => void;
    @@ in the Automation section
                   {onUpdateAutoResolveMergeConflicts && <RepositoryAutoResolveConflictsControl repo={repo} onUpdate={onUpdateAutoResolveMergeConflicts} isReadOnly={isReadOnly} />}
    +              {/* Keyed on repo.id so switching repositories resets the local
    +                  login input instead of carrying the previous one over. */}
    +              <RepositoryAutoAssignControl
    +                key={'auto-assign-' + repo.id}
    +                repo={repo}
    +                onToggle={onToggleAutoAssign}
    +                onUpdateTarget={onUpdateAutoAssignTarget}
    +                onToggleReview={onToggleAutoAssignReview}
    +                isReadOnly={isReadOnly}
    +              />
                   <RepositoryVisualPreviewControl key={repo.id} repo={repo} onUpdate={onUpdateVisualPreview} isReadOnly={isReadOnly} />

    File: propr-ui/src/pages/RepositoriesPage.tsx

    Why this file: the page is what connects the hook's handlers to the settings bar's props, so the three handlers have to be threaded through here to reach the control.

    --- a/propr-ui/src/pages/RepositoriesPage.tsx
    +++ b/propr-ui/src/pages/RepositoriesPage.tsx
    @@ where useRepositoryManagement is destructured
         handleUpdateAutoResolveMergeConflicts,
    +    handleToggleAutoAssign,
    +    handleUpdateAutoAssignTarget,
    +    handleToggleAutoAssignReview,
    @@ in the RepositorySettingsBar props
               onUpdateAutoResolveMergeConflicts={handleUpdateAutoResolveMergeConflicts}
    +          onToggleAutoAssign={handleToggleAutoAssign}
    +          onUpdateAutoAssignTarget={handleUpdateAutoAssignTarget}
    +          onToggleAutoAssignReview={handleToggleAutoAssignReview}

    File: propr-ui/e2e/repositories-settings.pw.ts

    Why this file: the existing spec already mocks the repository API and records writes, which is exactly what the shared-across-branch-entries assertion needs - it has to inspect the saved payload, not just the rendered toggle. Extending it reuses that fixture instead of building a second one.

    // Added to the existing suite, reusing stubRepositoryApis and its recorded writes.
    
    test('automatic assignment is off by default and saves when enabled', async ({ page }) => {
      // Asserts the recorded write carries autoAssignPullRequests: true.
      expect(true).toBeTruthy();
    });
    
    test('the default assignee is saved on blur, not per keystroke', async ({ page }) => {
      // The regression this guards: a per-keystroke save posts 'o', 'oc', 'oct'
      // and each is an API rejection, producing a stream of errors while typing.
      expect(true).toBeTruthy();
    });
    
    test('an invalid login shows an inline message and is not saved', async ({ page }) => {
      expect(true).toBeTruthy();
    });
    
    test('clearing the default assignee saves null and explains the issue-author fallback', async ({ page }) => {
      // The empty state is not inferable from a blank input, so the copy is
      // asserted as well as the payload.
      expect(true).toBeTruthy();
    });
    
    test('the review toggle saves independently of the assignment toggle', async ({ page }) => {
      expect(true).toBeTruthy();
    });
    
    test('turning assignment off hides the detail block without clearing stored values', async ({ page }) => {
      // Re-enabling must bring back the configured assignee.
      expect(true).toBeTruthy();
    });
    
    test('a change applies to every branch entry of the repository', async ({ page }) => {
      // Inspects the saved payload: a per-entry edit would show an inconsistent
      // toggle depending on which branch row is selected.
      expect(true).toBeTruthy();
    });
    
    test('read-only mode hides the control and attempts no write', async ({ page }) => {
      expect(true).toBeTruthy();
    });
    
    test('there is no horizontal overflow at 320px', 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: 2900/claude-opus-5-5-add-the-repository-settin-20261009-1328-nda
    • Base Branch: 2888-epic-task-assignment-1m4
    • Worktree: issue-2900-20261009-1328-claude-opus-5-5-nda

    🔍 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