Commit graph

40 commits

Author SHA1 Message Date
Anish Sarkar
0a26a6c5bb chore: ran linting 2026-04-07 05:55:39 +05:30
Anish Sarkar
63a75052ca Merge remote-tracking branch 'upstream/dev' into feat/unified-etl-pipeline 2026-04-06 22:04:51 +05:30
Anish Sarkar
c9e5fe9cdb refactor: update icon usage in CommentActions and enhance Tooltip component for mobile responsiveness 2026-04-05 23:02:17 +05:30
Rohan Verma
183169a37a
Merge pull request #1113 from SohamBhattacharjee2003/perf/optimize-threads-query
perf: normalize query keys and add placeholderData to optimize…
2026-04-03 08:12:16 -07:00
SohamBhattacharjee2003
8eaa4e618d perf(hooks): normalize query keys and add placeholderData to optimize thread loading 2026-04-03 14:42:44 +05:30
SohamBhattacharjee2003
ae3b69443f perf: add content-visibility: auto to long list items
Apply content-visibility: auto to off-screen list and sidebar items
to skip browser layout and painting until they scroll into view.

Changes:
- globals.css: add .list-item-lazy (48px) and .sidebar-item-lazy (40px) utilities
- DocumentsTableShell: apply list-item-lazy to desktop <tr> rows and mobile card divs
- AllPrivateChatsSidebar: apply sidebar-item-lazy to thread items
- AllSharedChatsSidebar: apply sidebar-item-lazy to thread items
- InboxSidebar: apply content-visibility inline (80px intrinsic height) to inbox items

Implements Vercel React Best Practices Rule: rendering-content-visibility (6.2)
2026-04-02 02:26:55 +05:30
Anish Sarkar
04691d572b chore: ran linting 2026-03-30 01:50:41 +05:30
Anish Sarkar
69b8eef5ce refactor: enhance chat tab management by implementing fallback navigation and preventing race conditions during deletion for improved user experience 2026-03-29 22:12:55 +05:30
Anish Sarkar
b54aa517a8 refactor: implement chat tab removal functionality and enhance tab title update logic for improved user experience 2026-03-29 21:34:41 +05:30
Anish Sarkar
37e018e94f refactor: simplify DialogFooter component by removing unnecessary gap classes for a cleaner layout 2026-03-29 03:50:11 +05:30
Anish Sarkar
0aa9cd6dfc feat: implement dropdown menu state management in DocumentNode and sidebar components 2026-03-28 02:32:03 +05:30
Anish Sarkar
020d806b1f refactor: unify sidebar state management in LayoutDataProvider to allow only one slide-out panel open at a time 2026-03-22 00:01:31 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
440f5aec72 fix: improve accessibility and styling in sidebar components 2026-03-17 12:42:25 +05:30
Anish Sarkar
ac0f2fa2eb chore: ran linting 2026-03-17 04:40:46 +05:30
Anish Sarkar
651d381bcb feat: enhance chat sidebar functionality and UI
- Updated `LayoutDataProvider` to toggle sidebar states for shared and private chats more efficiently.
- Added new props to `MobileSidebar`, `Sidebar`, and `LayoutShell` to manage the open states of chat panels.
- Improved button interactions in the sidebar to show/hide chat panels with updated tooltip text.
- Enhanced styling for tab triggers in `AllPrivateChatsSidebar` and `AllSharedChatsSidebar` for better user experience.
- Added new localization strings for "show all" and "hide" actions in multiple languages.
2026-03-17 03:55:49 +05:30
Anish Sarkar
9945d16b17 chore: ran biome checks 2026-03-07 12:57:27 +05:30
Anish Sarkar
f8b0e946ce chore: ran linting 2026-03-07 04:46:48 +05:30
Anish Sarkar
37e1995546 feat: refactor long-press functionality in AllPrivateChatsSidebar and AllSharedChatsSidebar to utilize custom hook for improved code reusability and maintainability 2026-03-07 04:44:24 +05:30
Anish Sarkar
72337f326c refactor: update various components to enhance styling consistency and improve user interaction by removing unnecessary classes and adjusting dialog and dropdown styles 2026-03-07 04:15:40 +05:30
Anish Sarkar
b07f8699f6 feat: implement long-press functionality across chat and document components for enhanced user interaction and integrate custom hook for reusability 2026-03-07 03:50:45 +05:30
Anish Sarkar
aeb2613b2b chore: linting 2026-02-22 04:41:56 +05:30
Anish Sarkar
5695ec8d74 feat: enhance mobile sidebar functionality by adding close button and improving layout for shared and private chats 2026-02-22 00:24:49 +05:30
Anish Sarkar
f0d170a595 feat: improve chat renaming functionality with dialog support in sidebar components 2026-02-21 23:59:04 +05:30
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
Eric Lammertsma
4005e03ec4 refactor: consolidated secondary sidebars into a reusable slide-out panel 2026-02-09 11:41:55 -05:00
Anish Sarkar
306c8e3c54 feat: enhance sidebar components for mobile responsiveness by conditionally rendering tooltips and updating button functionality 2026-02-06 23:34:35 +05:30
Anish Sarkar
db27ee95ce feat: implement skeleton loading states in sidebar components for improved user experience 2026-02-06 16:58:38 +05:30
DESKTOP-RTLN3BA\$punk
39d65d6166 feat: added incentive credits system 2026-01-26 23:32:30 -08:00
Anish Sarkar
2d17d1a1b6 feat: replace Loader2 with Spinner component for consistent loading indicators 2026-01-25 15:23:45 +05:30
Anish Sarkar
e6a4ac7c9c fix: change animation from spring to tween for sliding 2026-01-23 04:56:15 +05:30
Anish Sarkar
be7ba76417 chore: ran backend and frontend linting 2026-01-22 16:07:06 +05:30
Anish Sarkar
8dcdd27d10 fix: update sidebar components for consistent styling and improved unread item display
- Changed text color for active and archived item counts in AllPrivateChatsSidebar and AllSharedChatsSidebar to use 'text-muted-foreground' for better visibility.
- Replaced Loader2 with a new Spinner component in InboxSidebar for a consistent loading indicator.
- Enhanced unread item count display in InboxSidebar to show zero when no unread items are present, improving user feedback.
- Adjusted styles for MoreHorizontal and ListFilter icons in InboxSidebar to align with the updated design system.
2026-01-21 22:22:28 +05:30
Anish Sarkar
22b2d6e400 feat: add archived column to notifications and implement archiving functionality
- Introduced an archived boolean column in the notifications table to allow users to archive inbox items without deletion.
- Updated Notification model to include the archived field with default value.
- Added ArchiveRequest and ArchiveResponse models for handling archive/unarchive operations.
- Implemented API endpoint to archive or unarchive notifications, ensuring real-time updates with Electric SQL.
- Enhanced InboxSidebar to filter and display archived notifications appropriately.
2026-01-21 20:34:58 +05:30
Anish Sarkar
4d87c38b5f impr: improve tabbed navigation for active and archived chats in sidebars 2026-01-21 16:13:32 +05:30
Anish Sarkar
23f1be50f7 refactor: replace Lock icon with User icon for private chats 2026-01-20 16:57:15 +05:30
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
aea3040271 refactor: update sidebar components for improved styling and consistency
- Removed unused type import from `AllPrivateChatsSidebar` and `AllSharedChatsSidebar`.
- Adjusted class names for icons in sidebar components to enhance visual consistency.
- Updated `SidebarSection` to remove unnecessary gap classes for cleaner layout.
- Changed sync version in `client.ts` to v2 for user-specific database architecture.
- Modified search chat placeholder text in `en.json` for clarity.
2026-01-15 17:17:51 +05:30
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00