Commit Graph

312 Commits

Author SHA1 Message Date
7951221310 fix: global buttons and indicators
- cmd/ctrl + L works globally now
- added the copilot and ai chat button indicators
- when aichat is open, the preview/terminal column becomes horizontal
2024-10-20 23:23:04 -04:00
fae09d2b6d fix: "Edit Code" widget code generation 2024-10-20 18:29:08 -04:00
9e13db2020 chore: update env variable for ai worker 2024-10-17 22:28:25 -04:00
751d9a3005 feat: ai chat now has context of the active tab 2024-10-14 23:01:25 -04:00
cc4a5307cd feat: ai chat now has its own context
This commit includes refactoring and dividing the AI chat files to ensure better readability.
2024-10-14 22:34:26 -04:00
ab7ee17145 fix: update fetch url with env and model to sonnet 2024-10-14 17:11:54 -04:00
bfc687a3e6 fix: aichat and preview/terminal layout 2024-10-14 13:51:17 -04:00
1365fecb08 feat: optimized agent response time 2024-10-13 23:04:16 -04:00
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
62e282da63 feat: added AI chat
backend implementation remaining
2024-10-13 01:41:48 -04:00
f192d9f3ab chore: default terminal column size 2024-10-12 22:33:09 -04:00
b6569550fc feature: add terminal/preview layout button 2024-10-12 19:46:32 -04:00
f863f2f763 feat: add preview panel button 2024-10-12 17:55:49 -04:00
6ea86afc70 chore: fix file paths 2024-10-12 14:54:43 -04:00
41dbd4a1da feature: enable file renaming
Users can now rename a file by double-clicking on it.
2024-10-12 14:54:21 -04:00
08fccdd506 Merge pull request #8 from jamesmurdza/fix/editor-file-cache
Fix buggy editor behavior related to file cache
2024-10-03 06:40:12 -07:00
cf6888e3d3 chore: remove unnecessary code 2024-10-03 06:30:28 -07:00
229b489c1e fix: filecontent update while switching tabs, empty file crash
# Conflicts:
#	backend/server/src/index.ts
2024-10-03 06:29:57 -07:00
8ae166fef4 fix: close the terminal opened with run button 2024-10-03 06:29:21 -07:00
645ff5b119 Merge branch 'refs/heads/sync-container-files'
# Conflicts:
#	backend/server/src/index.ts
2024-10-02 13:47:45 -07:00
7e48faa1b5 fix: prevent the file sync from timing out after the default timeout 2024-10-02 13:44:55 -07:00
9d06808137 feat: keep containers alive for 60s of inactivity instead of killing them on disconnect 2024-10-02 05:22:37 -07:00
63f3b082d5 fix: don't limit the number of terminals on the backend 2024-10-02 05:20:18 -07:00
8e3a6d1aa6 fix: recreate timed out E2B sandboxes on page load 2024-10-02 05:20:14 -07:00
023b3bdc5e fix: add missing await keywords 2024-09-30 04:20:14 -07:00
01fb3ab921 feat: keep containers alive for 60s of inactivity instead of killing them on disconnect 2024-09-30 04:15:26 -07:00
13be78dee8 fix: don't exit the script when exceptions occur 2024-09-30 02:55:30 -07:00
7a00d24ab9 feat: sync changes to the filesystem 2024-09-30 02:55:28 -07:00
69b1287349 fix: handle errors when fixing permissions 2024-09-29 17:40:09 -07:00
09b3cf1862 fix: don't limit the number of terminals on the backend 2024-09-29 17:23:31 -07:00
f4c79bbb07 fix: recreate timed out E2B sandboxes on page load 2024-09-26 05:34:14 -07:00
55fde2f648 Merge pull request #7 from Code-Victor/feat/editor-fix-n-ui-updates
Feat/editor fix n UI updates
2024-09-26 05:32:19 -07:00
0f619ccb7d feat: update project icon for each template type 2024-09-24 14:10:56 +01:00
b7230f1bc4 fix: new project modal scrolls when it overflows(instead of clipping content) 2024-09-24 14:01:51 +01:00
af45df28d5 feat(ui): improve folder structure UI 2024-09-24 13:57:40 +01:00
c2a23fcbcb fix: remove editor red squiggly lines
by dynamically loading project's tsconfig file and adding nice defaults
2024-09-24 13:00:49 +01:00
0f7eb9a856 chore: change path.join to path.posix.join 2024-09-16 15:46:55 -07:00
0a99eda5ec chore: split up default terminal commands 2024-09-16 15:43:41 -07:00
c5b197f41c chore: add missing await 2024-09-16 15:43:41 -07:00
70cfb5dc3f fix: remove unneeded pty.wait 2024-09-16 15:43:41 -07:00
6bfff62513 fix: skip creating a directory in the container when it already exists 2024-09-16 08:57:44 -07:00
0b7cc51c6e Merge pull request #6 from jamesmurdza/fix-ghost-terminals
fix: ghost terminals, spam HTTP requests on dashboard
2024-09-16 08:57:13 -07:00
a353863523 fix: ghost terminals, spam HTTP requests on dashboard 2024-09-16 11:13:36 -04:00
c94678c430 feat: watch container for file changes 2024-09-15 13:11:59 -07:00
585dcb469e fix: skip creating a directory in the container when it already exists 2024-09-15 10:47:00 -07:00
2f88ff6d58 feat: speed up new project creation by copying files concurrently 2024-09-15 10:29:23 -07:00
0509716f34 fix: select ReactJS template by default 2024-09-15 08:05:53 -07:00
06118e98e9 feat: remove the ai toggle switch 2024-09-06 18:14:54 -07:00
4ebd6dea96 fix: catch errors when copying files to the container 2024-09-06 18:14:11 -07:00
8921cd83bb fix: encode line breaks when making requests to the AI generation worker 2024-09-06 15:28:36 -07:00