297 Commits

Author SHA1 Message Date
1f4e70788e feat: enhance scrollbars with radix ui & shadcn 2025-01-08 23:04:21 +01:00
b0d444980a fix: make layout more concrete with css grids 2025-01-08 23:03:51 +01:00
cfa9485e97 Merge pull request #17 from Code-Victor/feat/improve-seo
Feat/improve seo
2025-01-08 09:07:43 -08:00
59880fcd6e feat: update Og image 2025-01-08 17:44:52 +01:00
92584a3ea6 feat: add Seo tags(open graph & twitter) 2025-01-08 01:41:41 +01:00
cfc0ae6cf4 feat: update app icon 2025-01-08 01:41:22 +01:00
e4f4bcfdcc feat: add OG image for social media 2025-01-08 01:41:12 +01:00
108fa4ff1f feat: update profile logo and navbar 2025-01-08 00:16:29 +01:00
103faf1d09 feat: update profile UI visual hierachy 2025-01-08 00:16:06 +01:00
2c7527055f fix: chat msg 2025-01-07 07:57:12 -08:00
bde591006e fix: use foreground colors for AI CHat 2025-01-07 07:57:09 -08:00
e62849ab96 fix: use latest theme provider 2025-01-07 04:22:57 +00:00
250fb45cb9 fix: use resolvedTheme 2025-01-07 04:16:05 +00:00
49d0690081 fix: hover colors of proj card 2025-01-07 04:13:21 +00:00
f38bf79e54 fix: new button light theme 2025-01-07 04:12:03 +00:00
1eb17a0ac5 fix: frontend monaco theme
fix: drizzle migrations folder
2025-01-07 04:01:45 +00:00
996eb4339e fix: handle undefined socialLinks in ProfileCard component 2025-01-06 06:31:30 -05:00
b88feee86e feat: liked project can now be deleted 2025-01-06 03:16:05 +01:00
ceeb1fbce3 feat: complete new UI for Profiles, fix notfound error on username change 2025-01-06 02:52:32 +01:00
1d21d55437 fix: prevent duplicate tabs when clicking file paths
Modify selectFile function to check for existing tabs before creating new ones.
When clicking file paths in AIChat, it will now switch to the existing tab
instead of creating duplicates.
2025-01-01 08:33:13 -05:00
274c945fac fix: ctrl/cmd + z with applied code 2025-01-01 08:16:16 -05:00
f3f91ea16f feat: hide the deploy button when the Dokku server is not connected 2024-12-31 10:40:45 -08:00
260110724e chore: update .env.example 2024-12-06 14:24:59 -05:00
ee51ae7a33 feat: correctly show whether a project has been deployed 2024-12-01 20:07:01 -08:00
0d0eed34b2 fix: apply code- discard button 2024-12-01 22:15:16 -05:00
4e1c5cac27 feat: Add clickable file paths in AI chat responses
- Detect file paths with dots in directory names (e.g. next/styles/SignIn.module.css)
- Create new files when path ends with "(new file)"
- Use existing socket connection and file management system
2024-12-01 18:52:28 -05:00
0ae89341d2 feat: file path above each code snippet 2024-12-01 14:29:23 -05:00
6612692d98 feat: introduce apply button functionality (v0.1)
### Summary
- Added a new "Apply" button to code snippets provided by the AI assistant.
- The button is designed to seamlessly merge the AI-generated snippet into the relevant file in the editor.

### Current Issues
1. **Sticky Accept/Decline Buttons:** These activate for every snippet instead of being limited to the relevant snippet.
2. **Discard Button:** Currently non-functional.
3. **Highlight Inconsistencies:** The green-red code highlights for old and new code are inconsistent.

### To Do
- Implement a toast notification when the "Apply" button is pressed on an irrelevant tab to prevent code application errors.

### Workflow Implemented
1. The "Apply" button is added alongside "Copy" and "Reply" for AI-generated code snippets.
2. Upon clicking "Apply," the code snippet and relevant file content (active file) are sent to a secondary model (GPT-4O).
3. The system prompt for GPT-4O instructs it to merge the snippet with the file content:
   - Ensure the original file functionality remains intact.
   - Integrate the code snippet seamlessly.
4. The output from GPT-4O is injected directly into the code editor.
5. Changes are visually highlighted:
   - Green for new code.
   - Red for removed code.
6. Highlights remain until the user explicitly accepts or discards the changes.
2024-11-30 21:52:17 -05:00
534b148b86 feat: add dynamic file structure context in AI chat
- Improved file structure formatting with tree-like visualization
- Added filtering for ignored files and folders
- Added scripts section to template context
- Fixed folder hierarchy display with proper indentation
- Maintains sorting with folders first, then files alphabetically
- Now uses actual project files instead of template structure

Example output:
├── app/
│   ├── api/
│   └── page.tsx
├── components/
└── package.json
2024-11-30 15:53:30 -05:00
e384607d24 chore: context tab updates
- Context tab updates with the latest file changes and will not be removed from context when a message is sent
2024-11-30 02:26:48 -05:00
e7d9989931 feat: sticky copy-reply button on chat code-snippets 2024-11-30 01:34:07 -05:00
42305d67b9 fix: terminal paste functionality 2024-11-30 00:04:04 -05:00
06dadf3a0b fix: image handling in context 2024-11-29 21:50:08 -05:00
ba7a1dcc2c chore: formatting the code of recent changes 2024-11-29 13:05:35 -05:00
61b012b9fd fix: use correct port for the PHP template 2024-11-26 14:39:12 -05:00
199318e706 chore: update generations count in profile page 2024-11-25 20:06:42 -05:00
39993af4a3 Merge pull request #13 from Code-Victor/feat/profile-page
Feat/profile page
2024-11-25 19:25:29 -05:00
c653d34bc1 Merge branch 'main' into feat/profile-page 2024-11-25 23:10:21 +01:00
749739f221 chore: resolve merge conflicts with PHP template 2024-11-25 16:37:33 -05:00
46e3a3d871 feat: add active styles to buttons 2024-11-25 21:55:08 +01:00
06a5d46e1f feat: complete profile page with profile edit, project likes and UI updates 2024-11-25 21:53:46 +01:00
426af545bd feat: integrate template awareness into AI assistant
- Add template configurations with file structures and conventions
- Update AI route handler to include template context in system messages
- Pass template type through AIChat component
- Add template-specific run commands
- Enhance AI responses with project structure knowledge
- Move hardcoded run commands from navbar/run.tsx to templates/index.ts

This improves the AI's understanding of different project templates (React, Next.js, Streamlit, Vanilla JS) and enables more contextual assistance based on the project type.
2024-11-25 15:51:28 -05:00
978c103cf4 fix: scroll-up while ai is generating content
- added a scroll-to-bottom button
- users can now scroll-up while generating content
2024-11-25 15:48:32 -05:00
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
4db378b5f1 feat: add PHP template 2024-11-24 22:30:22 -05:00
91a4a54f24 Chore: Change about to help, and add link to Discord 2024-11-17 22:08:55 -05:00
b796f46dc2 fix: comment out live collaboration features 2024-11-17 22:08:26 -05:00
07d3802baa fix: reload the entire file list after adding or deleting files 2024-11-17 13:25:16 -05:00
062e8d9226 chore: format frontend code 2024-11-17 12:43:13 -05:00
10104c31b9 fix: prepare zip file on the backend when exporting a project 2024-11-16 22:00:19 -05:00