52 Commits

Author SHA1 Message Date
Hamzat Victor
1f4e70788e feat: enhance scrollbars with radix ui & shadcn 2025-01-08 23:04:21 +01:00
Hamzat Victor
103faf1d09 feat: update profile UI visual hierachy 2025-01-08 00:16:06 +01:00
Anirudh
e62849ab96 fix: use latest theme provider 2025-01-07 04:22:57 +00:00
Hamzat Victor
ceeb1fbce3 feat: complete new UI for Profiles, fix notfound error on username change 2025-01-06 02:52:32 +01:00
Akhileshrangani4
ba7a1dcc2c chore: formatting the code of recent changes 2024-11-29 13:05:35 -05:00
Akhileshrangani4
199318e706 chore: update generations count in profile page 2024-11-25 20:06:42 -05:00
Hamzat Victor Oluwabori
c653d34bc1
Merge branch 'main' into feat/profile-page 2024-11-25 23:10:21 +01:00
Hamzat Victor
46e3a3d871 feat: add active styles to buttons 2024-11-25 21:55:08 +01:00
Akhileshrangani4
34994a8c69 refactor(api): remove AI worker, add ai api route, add usage tiers
- Remove separate AI worker service
- Added generation limits:
  FREE: 1000/month (For the beta version)
  PRO: 500/month
  ENTERPRISE: 1000/month
- Integrate AI functionality into main API routes
- Added monthly generations reset and usage tier upgrade API routes
- Upgrade tier page to be added along with profile page section
2024-11-25 15:47:57 -05:00
Akhilesh Rangani
062e8d9226 chore: format frontend code 2024-11-17 12:43:13 -05:00
Hamzat Victor
105eab9bad feat: complete profile page 2024-11-11 22:02:34 +01:00
Hamzat Victor
9fcc45ea71 Merge branch 'main' of https://github.com/Code-Victor/sandbox 2024-11-11 10:12:06 +01:00
Akhileshrangani4
e9f03d52fd feat: user avatar images
- added user avatars for each user
- it will fetch user images from github or google and if there is no image then it will show initials
2024-11-10 23:40:10 -05:00
Akhileshrangani4
90bfdec58a feat: schema updates
- added additional items to users and sandbox tables
- added a random username generator
2024-11-10 22:25:15 -05:00
Akhileshrangani4
3db3fbc490 chore: delete unused files 2024-11-04 17:30:13 -05:00
Akhileshrangani4
9c6067dcd9 feat: enhance AI Chat with context management, file integration, image support, and improved code handling
- Added context tabs system for managing multiple types of context (files, code snippets, images)
   - Added preview functionality for context items
   - Added ability to expand/collapse context previews
   - Added file selection popup/dropdown
   - Added file search functionality
   - Added image upload button
   - Added image paste support
   - Added image preview in context tabs
   - Added automatic code detection on paste
   - Added line number tracking for code snippets
   - Added source file name preservation
   - Added line range display for code contexts
   - Added model selection dropdown (Claude 3.5 Sonnet/Claude 3)
   - Added Ctrl+Enter for sending with full context
   - Added Backspace to remove last context tab when input is empty
   - Added smart code detection on paste
2024-11-04 17:24:22 -05:00
Hamzat Victor
2195b27c7e Merge branch 'main' of https://github.com/Code-Victor/sandbox 2024-11-04 21:49:37 +01:00
Hamzat Victor
21e4bfb735 feat: add profile page WIP 2024-11-04 21:49:30 +01:00
Hamzat Victor
e2d237fe09 feat: add theme to terminal 2024-10-23 11:55:38 +01:00
Hamzat Victor
9546d4ad7b Merge branch 'main' of https://github.com/Code-Victor/sandbox into feat/light-theme 2024-10-23 11:00:24 +01:00
Hamzat Victor
eb4e34cf10 feat: add light theme WIP 2024-10-23 10:51:50 +01:00
Akhilesh Rangani
6fb1364d6f chore: format frontend code 2024-10-21 13:57:45 -06:00
Akhileshrangani4
dd59608d73 feature: add AI chat
features:

1. Real-time message display
2. User input handling
3. AI response generation
4. Markdown rendering for AI responses
5. Syntax highlighting for code blocks
6. Copy to clipboard functionality for messages and code blocks
7. Context handling (setting, displaying, and removing context)
8. Expandable/collapsible context display
9. Ability to ask about specific code snippets
10. Auto-scrolling to the latest message
11. Loading indicator during AI response generation
12. Stop generation functionality
13. Error handling for failed API requests
14. Responsive design (flex layout)
15. Custom styling for user and AI messages
16. Support for various Markdown elements (paragraphs, lists, code blocks)
17. Language detection and display for code blocks
18. Animated text generation effect for AI responses
19. Input field placeholder changes based on context presence
20. Disable input during message generation
21. Send message on Enter key press
22. Expandable/collapsible message context for each message
23. Editable context in expanded view
24. Icons for various actions (send, stop, copy, expand/collapse)
25. Visual feedback for copied text (checkmark icon)
26. Abortable fetch requests for AI responses
27. Custom button components
28. Custom loading dots component
29. Truncated display of long messages with expand/collapse functionality
2024-10-13 22:47:47 -04:00
James Murdza
0c6b2b0dfb feat: increase the per user limit of generations to 1000 2024-09-06 14:19:14 -07:00
Hamzat Victor
208d17879f feat: add extra small btn variant 2024-09-06 20:07:29 +01:00
Akhilesh Rangani
61235551d3 feat/ui: deploy button popover 2024-08-17 23:08:11 -04:00
Ishaan Dey
bf35c2bf82 dashboard ui 2024-05-17 23:54:34 -07:00
Ishaan Dey
fa6a92b9b4 reduce # generations to 10 2024-05-17 22:25:55 -07:00
Ishaan Dey
59fb0521af improve orchestrator, docker settings, and ui layouts 2024-05-12 22:06:11 -07:00
Ishaan Dey
e86e86dbe2 add resizing logic 2024-05-09 22:16:56 -07:00
Ishaan Dey
db8c26cd38 organize & comment code 2024-05-08 23:52:08 -07:00
Ishaan Dey
84c49f0d9d add worker service binding + inactivity detection 2024-05-06 21:29:25 -07:00
Ishaan Dey
47ce5db223 add ai generations limit + random bug fixes 2024-05-05 16:51:30 -07:00
Ishaan Dey
09ead6073b ui + shared user improvements 2024-05-05 14:33:09 -07:00
Ishaan Dey
159e7b62e2 userbutton ui 2024-05-04 23:31:35 -07:00
Ishaan Dey
fdb59c925b ai enable button 2024-05-04 01:50:33 -07:00
Ishaan Dey
7b5acc9947 fix file closing bug 2024-05-04 01:18:06 -07:00
Ishaan Dey
d3698b9a50 updating logic 2024-05-01 02:28:39 -04:00
Ishaan Dey
ed23617b23 avatar component 2024-04-30 23:34:44 -04:00
Ishaan Dey
a0c2bb1bc3 start terminals logic (frontend) 2024-04-30 02:00:50 -04:00
Ishaan Dey
894de9990a delete file ui + logic 2024-04-30 01:56:43 -04:00
Ishaan Dey
e4c4c18749 add signout logic 2024-04-28 01:17:39 -04:00
Ishaan Dey
7b7bd6f430 implement server actions for sandbox data mutation 2024-04-27 21:24:20 -04:00
Ishaan Dey
d941e2c056 add sonner + project creation working 2024-04-27 16:22:35 -04:00
Ishaan Dey
76b2fc7e0f start file rename logic 2024-04-27 11:08:19 -04:00
Ishaan Dey
a49de2294d dynamic file display + tab state 2024-04-26 00:10:53 -04:00
Ishaan Dey
ffee1b60c7 fix worker + start create modal with logic 2024-04-23 01:53:37 -04:00
Ishaan Dey
20ddfe2517 selected tab ui 2024-04-18 15:38:38 -04:00
Ishaan Dey
5f5125cccd correct user button in editor 2024-04-18 15:32:27 -04:00
Ishaan Dey
5045c4ce9a separate dashboard page components 2024-04-18 14:42:47 -04:00