Skip to content

Feature - Add User Bases Page#52

Merged
enzosakamoto merged 12 commits intodevfrom
feature/user-bases
Jul 27, 2025
Merged

Feature - Add User Bases Page#52
enzosakamoto merged 12 commits intodevfrom
feature/user-bases

Conversation

@iz-120
Copy link
Copy Markdown
Contributor

@iz-120 iz-120 commented Jul 5, 2025

Closes: #10

This pull request introduces a new and improved "User Bases" page, allowing users to view, search, sort, and access the creation flow of knowledge bases in a user-friendly and visually consistent way.

Features

Knowledge Bases Listing

  • Displays all user knowledge bases as interactive cards.
  • Each card shows:
    • Base title
    • Number of files and total storage used
    • Creation date
    • Last modification date
    • Number of chat credits used
  • Cards have a hover effect for better interactivity and are clickable for navigation to be implemented.

Search and Filtering

  • Added a search input to filter knowledge bases by name in real time.
  • The search input uses consistent text and border colors with the rest of the application, including in dark mode.

Sorting

  • Users can sort the list of bases by:
    • Name (A-Z or Z-A)
    • Creation date (ascending/descending)
    • Last modification date (ascending/descending)
  • Sorting buttons are styled to match the application's design system and remain visible in both light and dark modes.

Create New Base

  • Added a "Nova base" button with a "+" icon, positioned immediately to the right of the search input for easy access.
  • The button should navigate to the knowledge base creation flow in future issues.

Layout and Responsiveness

  • The page layout is aligned with the sidebar, with appropriate left padding (pl-80) to ensure consistent spacing.
  • All controls (search, create, sorting) are aligned and responsive, maintaining their positions regardless of search results.
  • Uses Tailwind and project component classes for consistent styling.

Data

  • Uses mock data for demonstration, ready to be replaced with real backend data.

This PR delivers a foundation for knowledge base management, making it easy for users to find, organize, and create their bases with a modern and intuitive interface.

@iz-120 iz-120 added this to the Gerenciamento de bases milestone Jul 5, 2025
@iz-120 iz-120 requested a review from enzosakamoto July 5, 2025 22:50
@iz-120 iz-120 self-assigned this Jul 5, 2025
@iz-120 iz-120 added the ui Tasks related to interface design or visual elements of the application label Jul 5, 2025
@enzosakamoto enzosakamoto merged commit 5dad10c into dev Jul 27, 2025
2 checks passed
@enzosakamoto enzosakamoto deleted the feature/user-bases branch July 27, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui Tasks related to interface design or visual elements of the application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consulta das bases

2 participants