Commit Graph

22 Commits

Author SHA1 Message Date
649bb4ea7e Discover Section Improvements
Additonal Tweeks
2025-02-25 20:22:48 +04:00
92f6a9f7e1 Discover Section Improvements
Enhanced the Discover section with personalization f
eatures and category navigation

1. Backend Enhancements

1.1. Database Schema Updates
-Added a user Preferences table to store user
category preferences
-Set default preferences to AI and Technology

1.2. Category-Based Search

-Created a comprehensive category system with specialized search queries
for each category
-Implemented 11 categories: AI, Technology, Current News, Sports, Money,
Gaming, Weather, Entertainment, Art & Culture, Science, Health, and Travel
-Each category searches relevant websites with appropriate keywords
-Updated the search sources for each category with more reputable websites

1.3. New API Endpoints

-Enhanced the main /discover endpoint to support category filtering and
preference-based content
-Added /discover/preferences endpoints for getting and saving user
preferences

2. Frontend Improvements

2.1 Category Navigation Bar

-Added a horizontal scrollable category bar at the top of the Discover
 page
-Active category is highlighted with the primary color with smooth
scrolling animation via tight/left buttons
"For You" category shows personalised content based on saved preferences.

2.2 Personalization Feature

- Added a Settings button in the top-right corner
- Implemented a personalisation modal that allows users to select their
preferred categories
- Implemented language checkboxes grid for 12 major languages that allow
 users to select multiple languages for their preferred language in the
 results
-Updated the backend to filter search results by the selected language
- Preferences are saved to the backend and persist between sessions

3.2 UI Enhancements

Improved layout with better spacing and transitions
Added hover effects for better interactivity
Ensured the design is responsive across different screen sizes

How It Works

-Users can click on category tabs to view news specific to that category
The "For You" tab shows a personalized feed based on the user's saved
preferences
-Users can customize their preferences by clicking the Settings icon and
selecting categories and preferered language(s).
-When preferences are saved, the "For You" feed automatically updates to
reflect those preferences
-These improvements make the Discover section more engaging and
personalized, allowing users to easily find content that interests
them across a wide range of categories.
2025-02-25 20:20:15 +04:00
7b15f43bb3 Made enhancements to the library interface!
1. Search Functionality:

-Added a search box with search icon and "Search your threads..." placeholder
-Real-time filtering of threads as you type
-Clear button (X) when text is entered

2. Thread Count Display:

-Added "You have X threads in Perplexica" below the search box
-Only shows in normal mode (hidden during selection)

3. Multiple delete functionality:
-"Select" button in the top right below Search Box
-Checkboxes that appear on hover and when in selection mode
-Selection mode header showing count and actions
  -When in selection mode, shows "X selected thread(s)" on the left
  -Action buttons (Select all, Cancel, Delete Selected) on the right
-Disabled Delete Selected button when no threads are selected
-Confirmation dialog using the new BatchDeleteChats component

4. Terminology Update:
-Changed all instances of "chats" to "threads" throughout the interface
2025-02-25 13:30:35 +04:00
a6e4402616 Add DeepSeek and LMStudio providers
- Integrate DeepSeek and LMStudio AI providers
- Add message processing utilities for improved handling
- Implement reasoning panel for message actions
- Add logging functionality to UI
- Update configurations and dependencies
2025-02-25 08:53:53 +04:00
4c73caadf6 feat(custom-openai): save live changes 2025-02-17 16:24:41 +05:30
a5c79c92ed feat(settings): add embedding provider settings 2025-02-15 12:52:27 +05:30
cab1aa705c feat(settings): add new settings page 2025-02-15 11:31:08 +05:30
687cbb365f Discover link to new page 2024-10-20 17:23:43 -07:00
9db847c366 feat(library): enhance UI 2024-10-15 16:21:15 +05:30
61c0347ef2 feat(app): add discover 2024-10-15 16:20:45 +05:30
27f8cfd212 feat(toast): fix theme colors 2024-07-25 20:33:56 +05:30
c74e16e01c feat(chats): add delete functionality 2024-07-02 10:51:47 +05:30
c51ec8ff0f feat(app): implement library feature 2024-06-29 11:09:51 +05:30
f7d1364f30 feat(discover): remove unadded page 2024-06-28 09:34:40 +05:30
dcbcab3122 feat(theme-components): use default exports 2024-05-31 11:02:00 +05:30
a5978d544c update(ui): re-manage theme config 2024-05-27 11:49:09 +08:00
996cc1b674 feat: adaptive light mode 2024-05-24 21:18:10 +08:00
f9664d48e7 feat: setup theme context config 2024-05-24 18:20:15 +08:00
c852bee8ed feat(app): add suspense boundary 2024-05-11 21:19:38 +05:30
e3fef3a1be feat(chat-window): add error handling 2024-05-04 14:56:54 +05:30
8f3de05a38 feat(package): Update dev script 2024-04-09 18:48:26 +05:30
d1c74c861e Initial commit 2024-04-09 16:21:05 +05:30