codeflash-internal/js/cf-webapp
Sarthak Agarwal 4a252d1fc2
add table for results in pr description (#1268)
closes
https://linear.app/codeflash-ai/issue/CF-459/convert-the-test-results-report-into-a-table-on-pr
### **User description**
Results are like : https://github.com/codeflash-ai/my-best-repo/pull/83
Snapshot: 

![image](https://github.com/user-attachments/assets/ad585f9b-f61b-4abc-9bf7-23ed77c3ee97)


___

### **PR Type**
enhancement, configuration changes


___

### **Description**
- Enhanced the test report generation by converting it to a Markdown
table format, improving readability and organization.
- Added detailed sections for existing and generated tests, providing
more context and information.
- Included a feedback section with a link to join the Discord community
for support and assistance.
- Removed `.npmrc` file containing an authentication token to prevent
potential security issues.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
  <td>
    <details>

<summary><strong>create-pr-from-diffcontents.ts</strong><dd><code>Enhance
test report with Markdown table and details</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

js/cf-api/github/create-pr-from-diffcontents.ts

<li>Enhanced the test report generation to use a Markdown table
format.<br> <li> Added detailed sections for existing and generated
tests.<br> <li> Included a feedback section with a Discord community
link.<br> <li> Improved the logic for determining test status and
details.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1268/files#diff-b30d5e0c89beb70c0333a025726867aba5db7614911be3c46664bb59d1ab594a">+68/-38</a>&nbsp;
</td>

</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>.npmrc</strong><dd><code>Remove `.npmrc` file with
sensitive token</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

js/cf-webapp/.npmrc

- Removed `.npmrc` file containing authentication token.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1268/files#diff-66bf1dec17844289e9c63ad88301f929e539f4474ec98c782fe1b07d29837248">+0/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2024-11-21 20:54:31 -05:00
..
prisma sync the prisma schema across js apps 2024-07-19 20:26:19 -07:00
public Fix first page submission, cleanup unused assets 2024-07-02 19:42:00 -07:00
src updates 2024-11-21 03:55:38 +05:30
.eslintignore Linters: Install prettier and fix up eslint configs 2023-12-04 16:08:51 -08:00
.eslintrc.json Lint fixes, reenable lint 2024-06-21 16:59:56 -07:00
.eslintrc.mjs Update deps and sentry config 2024-06-04 19:18:54 -07:00
.gitignore add table for results in pr description (#1268) 2024-11-21 20:54:31 -05:00
.prettierignore Linters: Install prettier and fix up eslint configs 2023-12-04 16:08:51 -08:00
.prettierrc Reformat 2023-12-04 17:54:33 -08:00
components.json Reformat 2023-12-04 17:54:33 -08:00
next.config.mjs Lint fixes, reenable lint 2024-06-21 16:59:56 -07:00
package.json fixed dependency 2024-11-19 15:47:09 -05:00
postcss.config.js Reformat 2023-12-04 17:54:33 -08:00
README.md Webapp Authentication and API Key Token generation (#36) 2023-12-03 15:25:53 -08:00
sentry.client.config.ts Update sentry key 2024-04-04 15:22:31 -07:00
sentry.server.config.ts Update sentry key 2024-04-04 15:22:31 -07:00
tailwind.config.js Lots of small layout tweaks, making wrapping responsive 2024-06-14 17:35:43 -07:00
tailwind.config.ts Reformat 2023-12-04 17:54:33 -08:00
tsconfig.json Deployed successfully. Uses @codeflash-ai/common package. Added a copy of the prisma folder. 2023-12-05 16:57:11 -08:00
vitest.config.ts Check email validity 2024-06-14 18:32:05 -07:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.