Commit graph

186 commits

Author SHA1 Message Date
Anish Sarkar
b98c312fb1 Merge remote-tracking branch 'upstream/main' into feature/blocknote-editor 2025-11-30 04:10:49 +05:30
Anish Sarkar
f8e4926969 feat: Implement document saving with reindexing
- Updated the document saving endpoint to trigger reindexing after saving.
- Introduced a new Celery task for reindexing documents.
- Refactored the editor page to reflect the changes in the API endpoint and method.
2025-11-30 04:08:12 +05:30
Anish Sarkar
91bc344b56 feat: Added celery tasks to populate blocknote_document for existing documents 2025-11-30 03:49:43 +05:30
Anish Sarkar
e33b42f9a5 refactor: removed auto-save functionality in editor page 2025-11-30 02:37:13 +05:30
DESKTOP-RTLN3BA\$punk
7e94413814 chore: biome fixes 2025-11-27 23:01:14 -08:00
DESKTOP-RTLN3BA\$punk
e9d32c3516 feat: Implement Role-Based Access Control (RBAC) for search space resources.
-Introduce granular permissions for documents, chats, podcasts, and logs.
- Update routes to enforce permission checks for creating, reading, updating, and deleting resources. - Refactor user and search space interactions to align with RBAC model, removing ownership checks in favor of permission validation.
2025-11-27 22:45:04 -08:00
DESKTOP-RTLN3BA\$punk
ab6ea7e0ab feat(UI): reorganized connectors 2025-11-26 13:44:38 -08:00
Anish Sarkar
3fac196c35 code quality issues fixed 2025-11-23 16:39:23 +05:30
Anish Sarkar
abbaa848f3 changed UI for the blocknote editor with dark/light mode 2025-11-23 16:24:11 +05:30
Anish Sarkar
e68286f22e introduced blocknote editor 2025-11-23 15:23:31 +05:30
samkul-swe
121e2f0c0e Renaming resources 2025-11-22 19:19:00 -08:00
samkul-swe
896e410e2a Webcrawler connector draft 2025-11-21 23:27:21 -08:00
thierryverse
ff73272da5 replace imperative fetch with tanstak 2025-11-20 08:17:57 +02:00
thierryverse
373bd668f7 add update chat mutation atom 2025-11-20 08:17:57 +02:00
thierryverse
910130873a Add create chat mutation 2025-11-20 08:17:57 +02:00
thierryverse
666b797772 replace imperativ fetch with tanstack query 2025-11-20 08:17:57 +02:00
thierryverse
d2fddd5ea5 add getPodcasts query atom 2025-11-20 08:17:57 +02:00
thierryverse
7560ea1426 replace imperative fetch in the reseacher page 2025-11-20 08:17:57 +02:00
thierryverse
db58571751 update chat api service 2025-11-20 08:17:57 +02:00
thierryverse
1a954bc184 Add delete podcast api service 2025-11-20 08:17:57 +02:00
thierryverse
bf94903459 fix hot reloads issue in dev mode 2025-11-20 08:17:57 +02:00
thierryverse
5361290315 refactor podcast api calls 2025-11-20 08:17:56 +02:00
DESKTOP-RTLN3BA\$punk
6648409237 feat: Added Search Space System Instructions
- Added `citations_enabled` and `qna_custom_instructions` fields to the SearchSpace model for better QnA configuration.
- Updated the creation and update schemas to handle new fields with appropriate defaults.
- Refactored QnA handling in the agent to utilize the new SearchSpace fields for improved response customization.
- Adjusted UI components to include settings for managing QnA configurations.
- Enhanced onboarding process to incorporate prompt setup as an optional step.
2025-11-19 15:04:46 -08:00
thierryverse
a174c9ca57 removed unecessary side effects 2025-11-17 08:10:12 +02:00
thierryverse
776660f5e3 update chat api service 2025-11-17 08:10:12 +02:00
thierryverse
41a938cec0 Refactor register page 2025-11-17 08:10:12 +02:00
thierryverse
81ee04c2a5 format with biome 2025-11-17 08:10:12 +02:00
thierryverse
78ab020d80 organize seach space apis 2025-11-17 08:09:17 +02:00
thierryverse
b866170e6a add delete chat mutation 2025-11-17 08:09:17 +02:00
thierryverse
bd4e5d627d improve naming 2025-11-17 08:09:17 +02:00
thierryverse
207a284e9d clean up 2025-11-17 08:09:17 +02:00
thierryverse
b2887543a2 refactor search cpace chats fetching - with tanstack query 2025-11-17 08:09:17 +02:00
thierryverse
93f6056a91 add active search space chats atom with query 2025-11-17 08:00:54 +02:00
DESKTOP-RTLN3BA\$punk
cc73e8e565 feat: improved onboarding 2025-11-16 15:54:54 -08:00
DESKTOP-RTLN3BA\$punk
d4345f75e5 feat: added global llm configurations 2025-11-14 21:53:46 -08:00
DESKTOP-RTLN3BA\$punk
6298d631e4 refactor(chats): streamline podcast generation and enhance chat selection UI
- Removed podcast generation state and related functions from the ChatsPageClient component.
- Simplified chat selection UI by removing unnecessary elements and improving layout.
- Updated the AnnouncementBanner component to use Jotai for state management, allowing for persistent dismissal of the announcement.
2025-11-11 23:51:26 -08:00
DESKTOP-RTLN3BA\$punk
3ccb0bc7bb refactor(ux): Enhance podcast and chat panel features
- Updated the welcome dialog in podcast generation to reflect the correct podcast title.
- Improved the Dashboard layout by adding an indicator for active chats on the researcher page.
- Enhanced the breadcrumb component to fetch and display chat details dynamically.
- Adjusted the chat panel width for better visibility.
- Introduced animations and improved user interactions in the chat panel and podcast player components.
- Updated the ConfigModal to provide clearer instructions for user input.
2025-11-11 18:07:32 -08:00
Rohan Verma
0835a192a2
Merge pull request #430 from CREDO23/feat/chat-pannel
[Feature] Add the chat panel
2025-11-11 17:04:39 -08:00
thierryverse
ed4ec5ce67 remove the podcasts menu 2025-11-11 04:29:37 +02:00
thierryverse
55e5b45a42 fix podcast generation 2025-11-11 04:02:04 +02:00
DESKTOP-RTLN3BA\$punk
8c54ca27d7 refactor(ux): combined sources to one section
- Renamed "Documents" section to "Sources" in the dashboard layout.
- Updated routing for adding sources and managing documents.
- Refactored the connectors and documents upload pages to redirect to the new sources section.
- Added localization support for the new "Sources" terminology in English and Chinese.
2025-11-07 14:28:30 -08:00
DESKTOP-RTLN3BA\$punk
a37e140c6f feat: enhance chat initialization logic in ResearcherPage
- Introduced a ref to track if initial connectors have been set for new chats.
- Updated the effect to reset the flag when the chat ID changes, ensuring connectors are set only once on initial mount.
- Improved the condition for setting default sources for new chats to prevent unnecessary updates.
2025-11-07 12:20:30 -08:00
DESKTOP-RTLN3BA\$punk
7ed159b395 feat: added top_k in chat Interface. 2025-11-06 13:25:05 -08:00
CREDO23
b02b094a24 show podcast staleness and suggest user to re-generate 2025-11-06 21:52:45 +02:00
CREDO23
9007436ff6 fix typo 2025-11-06 21:52:45 +02:00
DESKTOP-RTLN3BA\$punk
9466bf595c feat: Implement LLM configuration validation in create and update routes
- Added `validate_llm_config` function to `llm_service.py` for validating LLM configurations via test API calls.
- Integrated validation in `create_llm_config` and `update_llm_config` routes in `llm_config_routes.py`, raising HTTP exceptions for invalid configurations.
- Enhanced error handling to provide detailed feedback on configuration issues.
2025-11-05 12:15:05 -08:00
samkul-swe
b03365cded Add web crawling 2025-11-04 13:05:09 -08:00
DESKTOP-RTLN3BA\$punk
ecd07d6155 refactor: update API endpoint paths to remove trailing slashes
- Modified various FastAPI route definitions to remove trailing slashes for consistency across the application.
- Updated corresponding fetch calls in the frontend to align with the new endpoint structure.
- Ensured that all affected routes maintain their functionality without trailing slashes.
2025-10-31 01:33:01 -07:00
DESKTOP-RTLN3BA\$punk
81ddc81026 feat(removed): sub_section_writer
- Its bad and not needed.
2025-10-27 20:30:10 -07:00
Differ
f58c7e4602 feat(i18n): Add next-intl framework with full bilingual support (EN/ZH)
- Implement next-intl framework for scalable i18n
- Add complete Chinese (Simplified) localization
- Support 400+ translated strings across all pages
- Add language switcher with persistent preference
- Zero breaking changes to existing functionality

Framework additions:
- i18n routing and middleware
- LocaleContext for client-side state
- LanguageSwitcher component
- Translation files (en.json, zh.json)

Translated components:
- Homepage: Hero, features, CTA, navbar
- Auth: Login, register
- Dashboard: Main page, layout
- Connectors: Management, add page (all categories)
- Documents: Upload, manage, filters
- Settings: LLM configs, role assignments
- Onboarding: Add provider, assign roles
- Logs: Task logs viewer

Adding a new language now requires only:
1. Create messages/<locale>.json
2. Add locale to i18n/routing.ts
2025-10-26 17:18:57 +08:00