Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My new branch #15

Open
wants to merge 21 commits into
base: starter
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
31a716c
Initialting
adeelfeb Nov 29, 2024
48a5275
✨ Add detailed README for module system conflicts and resolution
adeelfeb Nov 29, 2024
452b370
feat: Set up routing, layouts, and authentication with Clerk
adeelfeb Nov 29, 2024
b1baa05
🔧 Fix: Import missing Link component in ChatList for navigation
adeelfeb Nov 30, 2024
a8ab928
🎨 Enhance ChatList Component with Tailwind Flex and Styling Improvements
adeelfeb Nov 30, 2024
ff146da
✨ Centered the main content and adjusted layout
adeelfeb Nov 30, 2024
c5c9094
✨ Enhanced input and select elements:
adeelfeb Dec 1, 2024
a5d2e48
✨ Add auto-scrolling functionality to chat and improve layout
adeelfeb Dec 3, 2024
1dac135
✨ Add custom scrollbar with arrows and styling for messages container
adeelfeb Dec 4, 2024
e582cec
✨ Align upload icon to the left, character count and send button to t…
adeelfeb Dec 7, 2024
253493b
Added Files and tried to create server
adeelfeb Dec 7, 2024
1a28885
✨ Fix: Implemented message state management and image upload handling
adeelfeb Dec 8, 2024
fa27a61
✨ Add padding to ChatBody and adjust layout for proper spacing
adeelfeb Dec 8, 2024
b913bc7
Just padded
adeelfeb Dec 8, 2024
29e89f9
✨ Add functionality to clear uploaded file name after sending a message
adeelfeb Dec 10, 2024
6304adb
✨ Implemented image upload functionality with ImageKit integration 📸 …
adeelfeb Dec 11, 2024
7638f82
✨ Enhance AI Response Logic with Image and Text Support
adeelfeb Dec 12, 2024
d776944
Sync
adeelfeb Dec 12, 2024
29413d4
st
adeelfeb Dec 12, 2024
f2dfa65
✨ Refactor chat functionality: Improved message handling & AI respons…
adeelfeb Dec 13, 2024
7fe0e52
✨ Implemented click-to-focus functionality for input field
adeelfeb Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .eslintrc.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore → frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
.env

# Editor directories and files
.vscode/*
Expand Down
8 changes: 8 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
38 changes: 38 additions & 0 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js'
import globals from 'globals'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'

export default [
{ ignores: ['dist'] },
{
files: ['**/*.{js,jsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
settings: { react: { version: '18.3' } },
plugins: {
react,
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
...reactHooks.configs.recommended.rules,
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
4 changes: 2 additions & 2 deletions index.html → frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lama Dev AI Chat</title>
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
Expand Down
Loading