Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Favoriting and Custom Ordering of Prompt Library Entries #4875

Open
1 task done
marlonka opened this issue Dec 5, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@marlonka
Copy link
Contributor

marlonka commented Dec 5, 2024

What features would you like to see added?

Summary
Currently, users with access to a large, instance-wide shared prompt library find it difficult to quickly locate their favorite or most frequently used prompts. The prompt library is sorted by creation date, requiring users to navigate multiple pages to reach specific entries. Introducing the ability to “favorite” prompts and custom-rank them addresses this concern, ensuring faster access and a more intuitive user experience.

More Details

Background & Rationale:
As the shared prompt library grows, relying solely on creation date sorting becomes increasingly cumbersome. Power users and administrators need efficient ways to access commonly used prompts. By allowing users to mark prompts as favorites, these preferred entries will rise to the forefront, reducing navigation time. Further, enabling users to manually reorder all their prompts—especially their favorites—provides a personalized workflow that aligns with their unique usage patterns.

Proposed Features:

Favorite Marking (Star Icon or Similar Indicator):
    Each prompt entry would have a clickable star icon (or heart, bookmark, etc.) that toggles the prompt’s “favorite” status.
    Favorited prompts appear at the top of the library, ensuring immediate visibility and quick selection.

Custom Ranking & Ordering via Drag-and-Drop:
    Within the “favorite” category, users can drag and drop prompts to reorder them. This provides granular control over prompt organization, reflecting users’ evolving workflows and priorities.
    Non-favorited prompts remain listed below favorites, potentially still sorted by creation date or allowing drag-and-drop among themselves as well (if desired).

Visual Indicators & Filters:
    Add a “Favorites” filter or dedicated tab to quickly view all starred prompts in one place.
    Use subtle icons or highlighting to differentiate favorites from regular entries.

Persistent User-Specific Settings:
    Users’ favorited prompts and custom ordering should be stored on a per-account basis, ensuring their personal organization is retained across sessions and devices.

More details

User Flow Example:

A user views the prompt library and sees a star icon next to each prompt.
By clicking the star on a frequently used prompt (e.g., “Landing Page” template), it becomes a favorite and moves to the top of the list.
The user then drags and drops this favorite prompt above others they had already starred, making it their top entry.
After refreshing or revisiting the library, this personalized order persists, allowing the user to quickly select their most-used prompts without scrolling through numerous pages.

Testing & Validation:

Manual Testing:
    Ensure marking/unmarking a prompt as a favorite instantly reflects in the UI ordering.
    Test drag-and-drop functionality across various screen sizes and devices.
    Confirm that changes persist after refreshing the page or logging out and back in.

User Experience Reviews:
    Gather feedback from a subset of active users or administrators to confirm that favoriting and custom ranking significantly reduces prompt lookup time.
    Adjust UI/UX elements (iconography, color coding, tooltips) based on feedback to maximize clarity and ease-of-use.

Accessibility Considerations:
    All interactions (favoriting, drag-and-drop ordering) should be accessible via keyboard navigation and assistive technologies.
    Ensure proper ARIA attributes for draggable elements and star icons for screen readers.

Which components are impacted by your request?

UI Components: Prompt library interface, prompt list items, and filters.
Backend/Data Layer: Storing user-specific preference data (favorite status, custom order) per account.
Interaction Logic: Handling drag-and-drop events and star toggle states.

Which components are impacted by your request?

UI

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@marlonka marlonka added the enhancement New feature or request label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant