Skip to content
Merged
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
cdbae2c
ci: Realign Betterer results file with current code base state
pawiecz Mar 16, 2026
da4a0ee
chore: Lock Node version to v24.14.0 to prevent inconsistency
pawiecz Mar 10, 2026
ba71ad1
client: Install Vite dependencies
pawiecz Feb 20, 2026
3510710
client: Add minimal Vite configuration
pawiecz Feb 20, 2026
4e556c3
client: Add vite-env.d.ts
pawiecz Feb 20, 2026
01b2e29
client: Update index.html
pawiecz Feb 20, 2026
bc6072d
client: Update tsconfig.json
pawiecz Feb 20, 2026
7da42c9
client: Call lazy loader explicitly instead of interpolating imported…
pawiecz Mar 2, 2026
6e02703
client: Migrate server proxy configuration
pawiecz Mar 2, 2026
851bfeb
client: Migrate transforming SVGs into React components
pawiecz Mar 2, 2026
bc0961f
client: Migrate env variables
pawiecz Feb 20, 2026
240dbe8
client: Replace craco commands with vite(st)
pawiecz Mar 3, 2026
c99bfde
client: Remove react-scripts/craco and unused configuration
pawiecz Mar 3, 2026
2d456a5
client: Add a note on slow client start
pawiecz Mar 3, 2026
9762b4a
client: Fix linter errors after migrating to Vite
pawiecz Mar 17, 2026
0a89b9b
client: Fix betterer errors after migrating to Vite
pawiecz Mar 17, 2026
648c0ad
client: Add missing Vite plugin configuration
pawiecz Mar 17, 2026
fe50b7a
client: Remove unused Jest configuration
pawiecz Mar 17, 2026
e98dbf3
ci: Realign Betterer results file with current code base state
pawiecz Mar 17, 2026
061c26a
Merge branch 'main' into migrate-to-vite
juanmrad Mar 24, 2026
7c2e278
fix dockerignore
juanmrad Mar 24, 2026
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
331 changes: 164 additions & 167 deletions .betterer.results

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .devops/aws/src/stacks/cloudfront/cloudfront.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class CloudfrontStack extends Stack {
bundling: {
image: cdk.DockerImage.fromBuild(`${repoRootDir}/client`, {
buildArgs: {
REACT_APP_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:
VITE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:
props.otelCollectorUrl,
},
}),
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ npm install \
npm run create-org
```

Use the credentials provided to log in at `http://localhost:3000`.
Use the credentials provided to log in at `http://localhost:3000`.
Please note that the initial page load may take a while.


### **Database Structure and Migrations**
Expand Down Expand Up @@ -164,4 +165,4 @@ Writing code is not the only way to help the project. Reviewing pull requests, a
* General discussion channel \#general
* Development discussions \#coop
* Join our [newsletter](https://roost.tools/#get-started) for more announcements and information
* Follow us on [LinkedIn](https://www.linkedin.com/company/roost-tools/) or [Bluesky](https://bsky.app/profile/roost.tools)
* Follow us on [LinkedIn](https://www.linkedin.com/company/roost-tools/) or [Bluesky](https://bsky.app/profile/roost.tools)
4 changes: 3 additions & 1 deletion client/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

!src/
!public/
!craco.config.js
!package*.json
!index.html
!vite.config.ts
!vite-env.d.ts
!postcss.config.js
!tailwind.config.js
!tsconfig.json
2 changes: 1 addition & 1 deletion client/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# (e.g., to debug production errors).
# GENERATE_SOURCEMAP=false

REACT_APP_NOTION_PROXY_SERVER_URL=http://localhost:4000
VITE_NOTION_PROXY_SERVER_URL=http://localhost:4000
5 changes: 3 additions & 2 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ module.exports = {
'.eslintrc.cjs',
'eslint',
'tailwind.config.js',
'craco.config.js',
'*.stories.tsx'
'*.stories.tsx',
'vite.config.ts',
'vite-env.d.ts'
],
plugins: ['etc', 'custom-rules'],
rules: {
Expand Down
4 changes: 2 additions & 2 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ RUN --mount=type=cache,target=/root/.npm npm ci
COPY . .
FROM client_base

ARG REACT_APP_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
ARG VITE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT

# Don't run eslint over the frontend code when building the image, b/c we should
# assume that it'll be run by CRA during local dev, and on Github as a PR hook,
# before we ever deploy. So no need to do it again here.
ENV DISABLE_ESLINT_PLUGIN=true
RUN NODE_OPTIONS="--max-old-space-size=5250" REACT_APP_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=$REACT_APP_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT npm run build
RUN NODE_OPTIONS="--max-old-space-size=5250" VITE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=$VITE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT npm run build
21 changes: 0 additions & 21 deletions client/craco.config.js

This file was deleted.

16 changes: 4 additions & 12 deletions client/public/index.html → client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,22 @@
src="https://cdn-cookieyes.com/client_data/dc1f6469ed06cb8b7d7dc617/script.js"
></script>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="A no-code platform for Trust and Safety"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="apple-touch-icon" href="/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="/manifest.json" />
<style>
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
</style>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Coop</title>
<!-- Google tag (gtag.js) -->
<script
Expand Down Expand Up @@ -76,6 +67,7 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
Expand Down
Loading
Loading