Skip to content

Enhance Repositories Page empty state design #900

Closed

Description

@propr-dev

Context

When no repositories exist, the UI simply states there are none. We should make it more engaging and explain why adding a repository is the crucial next step.

Requirements

  • Upgrade the empty state design in RepositoriesPage when repos.length === 0.
  • Include a welcoming icon and descriptive text explaining the purpose of adding a repo.

Implementation Specification

  • Modify propr-ui/src/pages/RepositoriesPage.tsx to render a styled block when the repository list is empty.

Acceptance Criteria

  • An appealing empty state is shown instead of generic text.
  • The state helps onboard the user contextually.

Created by ProPR AI Planner

Activity

  1. propr-dev commented on Mar 3, 2026

    @propr-dev
    ContributorAuthor

    Suggested Implementation:

    Implementation Approach

    We apply the "Studio Aesthetic" dashed-border box pattern with a centered icon to create an inviting space. We use clear text to explain that a repository is required before creating plans.

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

    --- a/propr-ui/src/pages/RepositoriesPage.tsx
    +++ b/propr-ui/src/pages/RepositoriesPage.tsx
    @@ -279,12 +279,15 @@
             ))}  
             {repos.length === 0 && (
    -          <div className="text-center py-12 px-4 bg-gray-50 border border-gray-200 rounded-md">
    -            <svg className="mx-auto h-12 w-12 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
    -              <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z" />
    +          <div className="text-center py-12 px-4 bg-slate-50 border border-dashed border-slate-300 rounded-lg mt-2">
    +            <div className="w-12 h-12 bg-white border border-gray-200 shadow-sm text-indigo-600 rounded-full flex items-center justify-center mx-auto mb-3">
    +              <svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
    +                <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z" />
    +              </svg>
                 </div>
    -            <h3 className="mt-4 text-sm font-medium text-gray-900">No repositories configured</h3>
    -            <p className="mt-2 text-sm text-gray-500">
    -              Get started by adding a repository to monitor using the input field above.
    +            <h3 className="text-base font-semibold text-gray-900 mb-1">No repositories configured</h3>
    +            <p className="text-sm text-gray-500 max-w-md mx-auto">
    +              Get started by adding a repository to monitor using the form above. This allows the AI to analyze code, create implementation plans, and automate pull requests.
                 </p>
               </div>
             )}
  2. propr-dev commented on Mar 3, 2026

    @propr-dev
    ContributorAuthor

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

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

    Processing Details:

    • Agent: claude
    • Model: claude-opus-4-5-20251101
    • Branch: 900/claude-opus-4-5-20251101-enhance-repositories-page-20260303-1235-azt
    • Base Branch: 892-epic-create-usesystemreadiness-xcn
    • Worktree: issue-900-20260303-1235-claude-opus-4-5-20251101-azt

    🔍 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