Commit graph

864 commits

Author SHA1 Message Date
Saurabh Misra
7c1933180a
local setup (#1898)
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
Co-authored-by: Mohamed Ashraf <mohamedashrraf222@gmail.com>
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
2025-11-17 12:35:09 -08:00
Aseem Saxena
0a49cd32c7
Bump vsc ext version from 0.0.15 to 0.0.16 (#2022)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-14 23:11:34 -08:00
Kevin Turcios
5caf1ccfe3
some more fixes for VSC (#2021)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-14 22:59:55 -08:00
Kevin Turcios
d3aef406d2 improve messaging here 2025-11-15 00:29:08 -05:00
Sarthak Agarwal
761903c2a9
saga4 misc fixes (#2018)
- **misc fixes [VSC]**
- **misc lefthook**

# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-14 20:23:58 -08:00
Sarthak Agarwal
2b25fb51ec
Ability to add promocode on payments page (#2019)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-14 19:47:41 -08:00
Sarthak Agarwal
994dc7dec3
Update page.tsx 2025-11-14 19:22:35 -08:00
Sarthak Agarwal
c1b13a1238
VSC package upgrade to 0.0.15 (#2017)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-14 16:21:20 -08:00
Kevin Turcios
0f1fb86a44
resize init flow screen properly (#1990)
<img width="322" height="800" alt="Screenshot 2025-11-07 at 2 24 48 PM"
src="https://github.com/user-attachments/assets/7f1791ef-3ae0-4b38-92b5-0bd2d7b38730"
/>
before

<img width="307" height="745" alt="Screenshot 2025-11-07 at 2 25 57 PM"
src="https://github.com/user-attachments/assets/c66e7e7a-51c8-41fb-b3dc-a7a318ee3273"
/>
after
2025-11-14 16:20:39 -08:00
mohammed ahmed
1795e633f8
[VSC] Codeflash extension configurations (CF-863) (#2010)
<img width="1351" height="940" alt="image"
src="https://github.com/user-attachments/assets/c87c8b50-4e60-40e6-bcda-186e202b40d9"
/>

---------

Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
2025-11-14 14:39:58 -08:00
Kevin Turcios
57b63dc8ef
Merge branch 'main' into feat/allow-user-change-base-branch 2025-11-14 11:52:01 -08:00
mohammed ahmed
a1823200b3
[VSC] On-demand project configurations (CF-810) (#1998)
this will allow re-configure the current opened project at any time from
the extension ui,
saving the new configs will trigger an internal reload of the codeflash
extension (diposing all serveries and registering them again).

the already configured values will be set default input values inside
the form, for the formatter cmds, if they are an array they will be
displayed as a string with `&&` separating the specified commands, and
vice versa


![image.png](https://github.com/user-attachments/assets/e2e68c4f-a0a6-48e3-9ebe-806459def3fc)


![image-1.png](https://github.com/user-attachments/assets/78da4145-d9f8-4e20-8e05-0b2fd43605f2)


![image-2.png](https://github.com/user-attachments/assets/719ee80d-f983-4770-88d5-55b07c97e6a2)

Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-11-14 11:34:54 -08:00
mohammed ahmed
d74f8d6f08
[VSC] UI new branding color (#2005)
<img width="1917" height="1036" alt="image"
src="https://github.com/user-attachments/assets/2eedb446-dbf5-4786-9741-4283532c5983"
/>

<img width="1916" height="1039" alt="image"
src="https://github.com/user-attachments/assets/a2131136-a150-4d9d-afc8-ddb08cbf70d4"
/>

<img width="1920" height="1036" alt="image"
src="https://github.com/user-attachments/assets/267392ce-e5d5-41ec-b558-27e07fd169ec"
/>

<img width="1919" height="1036" alt="image"
src="https://github.com/user-attachments/assets/ef52603c-bca8-485b-b6a6-552bbc6b8254"
/>

<img width="1915" height="1040" alt="image"
src="https://github.com/user-attachments/assets/791f9e7e-a66c-4b88-b42e-ef41de66a8ad"
/>

<img width="1912" height="1038" alt="image"
src="https://github.com/user-attachments/assets/cc68e24d-f7d1-4d56-b127-c4e194a5f548"
/>

<img width="1822" height="1035" alt="image"
src="https://github.com/user-attachments/assets/01bea16b-3032-4699-9298-c94af14cc9fc"
/>

<img width="1918" height="1042" alt="image"
src="https://github.com/user-attachments/assets/5314cfe2-8239-4d67-8adb-375dc4d09324"
/>

---------

Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-11-14 11:31:45 -08:00
Sarthak Agarwal
4b049c30df
fix webapp build (#2015)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2025-11-13 19:57:14 -08:00
Saurabh Misra
e7c404661e
Merge branch 'main' into update-extension-docs 2025-11-13 17:27:12 -08:00
Sarthak Agarwal
54cddf9865
fix onboarding flow (#2003)
- **Add how to experience codeflash**
- **Reduce the copy**
- **Change the copy**
- **Add some note on empty dashboard screens**
2025-11-13 16:57:20 -08:00
Saurabh Misra
1e317bd030 update
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-11-13 16:44:32 -08:00
Saurabh Misra
21bea6b6b6 update marketplace listing
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-11-13 16:43:12 -08:00
HeshamHM28
26b3c95c5e
Merge branch 'main' into feat/allow-user-change-base-branch 2025-11-12 05:49:08 -08:00
mohammed ahmed
0e365f80c9
Merge branch 'main' into vsc/demo-optimization 2025-11-12 12:52:08 +02:00
mohammed ahmed
44a18dcdce
[FIX][VSC] get the correct path from structrued patch (#2000)
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
2025-11-11 17:18:07 -08:00
mashraf-222
da68786715
Onboarding small enhancements (#2002)
https://github.com/user-attachments/assets/d7481866-6c53-44e2-ade8-61f2500ba5a6

https://linear.app/codeflash-ai/issue/CF-823/improve-the-onboarding-flow


### only thing left is After the content updates, Get the onboarding
screen designed by awesomic
2025-11-11 15:45:29 -08:00
mohammed ahmed
8696da541a
Merge branch 'main' into vsc/demo-optimization 2025-11-11 16:48:03 +02:00
ali
6ca943b3be
Merge branch 'vsc/demo-optimization' of github.com:codeflash-ai/codeflash-internal into vsc/demo-optimization 2025-11-11 16:46:25 +02:00
ali
6640b31e3c
fix don't request file analysis when running demo optimization 2025-11-11 16:45:52 +02:00
HeshamHM28
ac99349a92
[Fix] Filter Query and Has Repository Query (#1951)
https://github.com/user-attachments/assets/bff0d449-0fbf-424e-9f5e-93054d8f7da6

### The problem was that there was no AND between Has Repo and the rest
of the query, and for Quality, the issue was that we didn’t check for
repository IDs or user IDs.



### How to test? 
Make the CF-WebApp connect to the production database, and then try
filtering and searching in staging. and make sure you are accessing the
correct data

---------

Co-authored-by: mashraf-222 <ashraf@codeflash.ai>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-11-10 10:04:19 -08:00
HeshamHM28
f37308fa79
[Fix] Cf-webApp build (#1997)
The build was failing because of an ESLint error for an unused import,
so I removed it.
2025-11-10 08:39:13 -08:00
HeshamHM28
e3de1d2e09 add missing } 2025-11-10 16:09:31 +02:00
HeshamHM28
85bffe6ec5 remove unused import 2025-11-10 16:02:43 +02:00
HeshamHM28
0f6ecb8e16 Merge branch 'main' into feat/allow-user-change-base-branch 2025-11-10 16:00:43 +02:00
HeshamHM28
e0e6b6b9a5 remove unused import 2025-11-10 15:57:28 +02:00
HeshamHM28
f52d030698 remove branch selector 2025-11-10 15:53:41 +02:00
HeshamHM28
333a5dbc43 Remove getBranches endpoint 2025-11-10 14:59:40 +02:00
Aseem Saxena
799dd638d5 will put screenshot 2025-11-08 00:09:18 -08:00
mashraf-222
ab56547015
Improve the onboarding flow (#1992)
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-11-07 17:17:11 -08:00
HeshamHM28
347893a133
[Improve]Dashboard performance (#1989)
The logic behind this improvement is that, instead of fetching each
statistic individually, we aggregate all data from Postgres. This
reduces sequential fetches and multiple database calls.

How to test:
	1.	Connect to the production database.
	2.	Run npm run build and then npm start.
3. Go to the dashboard and try switch the organizations and personal
account.
4. Check if it loads quickly and verify that you are accessing the
correct statistics by comparing them with the deployed version. it
should take a maximum of 2–3 seconds .
video
https://codeflash-ai.slack.com/archives/C06BVLNRVT5/p1762480937547309

---------

Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-11-07 17:16:45 -08:00
Sarthak Agarwal
53698a4839
Fix small webapp issues (#1993)
Fixed the issue related to logout page redirecting to login page giving
gateway error.
2) Clean the file with unnecessary looping of state set
3) Made '/' to apikeys
2025-11-07 17:11:50 -08:00
Aseem Saxena
bceec6f708
backwards compatibility for displaying generated tests in cf-webapp (cf-826) (#1991)
fixes 
<img width="1926" height="243" alt="Screenshot 2025-11-07 at 14 54 04"
src="https://github.com/user-attachments/assets/0c937d00-7dc0-44c3-8ef0-8aa092a3a94f"
/>
2025-11-07 15:18:09 -08:00
Mohamed Ashraf
41e9c40b5f fix build errors 2025-11-07 22:54:08 +02:00
Aseem Saxena
ee1400a0f6 syntax highlighting for code in webapp 2025-11-07 12:13:54 -08:00
Aseem Saxena
4b52759415 unit test 2025-11-07 10:54:43 -08:00
Aseem Saxena
8c244de073 Merge remote-tracking branch 'origin/main' into generated-tests-markdown 2025-11-07 10:08:28 -08:00
mohammed ahmed
4ac5e4fb31
Merge branch 'main' into vsc/demo-optimization 2025-11-07 13:34:49 +02:00
Aseem Saxena
60dec3d56c
optimization review in slack notification only when non-empty and not undefined (#1985)
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-11-06 11:50:57 -08:00
Kevin Turcios
6e874e24e0 Merge branch 'main' of github.com:codeflash-ai/codeflash-internal 2025-11-06 11:50:26 -08:00
Kevin Turcios
c6c0d17867 we don't need to await it 2025-11-06 11:50:06 -08:00
Sarthak Agarwal
4855845daa
multiple small fixes in webapp [WIP] (#1988)
https://www.loom.com/share/9b86812636524f3d91fb8e8290823a41


Here made some fixes on not showing the sidebar when user is not
loggedin, fixed some issue on how we show VSC extension key. ANd setting
default page to apikeys untill we fix dashboard issue.
2025-11-06 11:47:50 -08:00
Kevin Turcios
fa4a8edf01 use git watcher service and add optimizable functions to queue 2025-11-06 11:47:12 -08:00
Kevin Turcios
c36de58982 npm audit fix 2025-11-06 11:06:40 -08:00
HeshamHM28
9e0618d026
[Chore] Hide the sidebar and nav bar when we redirect to login (#1987) 2025-11-06 08:17:54 -08:00