Skip to content

Feat: Add "Configure Tagging" Button to AI Tagging Page #925

@Cubix33

Description

@Cubix33

Describe the feature

🌟 Feature Description

I propose adding a "Configure Tagging" (or "Manage Folders") button to the header of the AI Tagging page.

Currently, the AI Tagging page displays recognized faces and tagged images, but it lacks any controls to actually enable or configure the tagging process. Users must currently navigate away to the Settings page and find the Folder Management section to toggle AI tagging for their folders.

This feature would add a direct link from the AI Tagging page to the Settings configuration, bridging the gap between viewing results and managing the source.

🔍 Problem Statement

The current workflow disconnects the "output" (tagged images) from the "input" (tagging configuration):

  1. User Context: The user is on the AI Tagging page.
  2. The Friction: If a user notices a folder is missing or wants to enable tagging for a new directory, there is no button to do so.
  3. The Workaround: The user must manually navigate to Settings -> Folder Management.

This lack of navigation makes the AI tagging feature feel static and harder to configure for new users.

🎯 Expected Outcome

  1. UI Update: A new button is added to the top header of AITagging.tsx, aligned with the page title.
  2. Label: "Configure" or "Manage Folders".
  3. Action: Clicking the button redirects the user to the /settings route.
  4. Design: The button should use the existing design system (Button component) and a relevant icon (e.g., Settings or FolderCog from lucide-react).

📷 Screenshots and Design Ideas

Current State (No Configuration Option to navigate to Settings where AI Tagging can be enabled)

Image

Target Destination (Settings Page)

Image

Proposed Implementation

We can modify the header section of src/pages/AITagging.tsx to include the navigation button.
Mockup:

// src/pages/AITagging.tsx

import { useNavigate } from 'react-router'; //
import { Settings } from 'lucide-react';
import { Button } from '@/components/ui/button';

export const AITagging = () => {
  const navigate = useNavigate(); 

  return (
    <div className="relative flex h-full flex-col pr-6">
      <div className="mt-6 mb-6 flex items-center justify-between"> {/* Flex container for alignment */}
        <h1 className="text-2xl font-bold">AI Tagging</h1>
        
        {/* New Configuration Button */}
        <Button 
          variant="outline" 
          size="sm" 
          onClick={() => navigate('/settings')}
          className="gap-2"
        >
          <Settings className="h-4 w-4" />
          Configure Tagging
        </Button>
      </div>

      {/* ... rest of the component ... */}

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions