The screens
Every page of the KarmaCircle website, what it is for, and who can open it.
The KarmaCircle website is a set of pages that all talk to the same API. Most pages are open to everyone; the ones for running things need an account.
How people move around
Every page
| Page | What it is for | Who |
|---|---|---|
Home / | What KarmaCircle is, how a drive works, how to help | Anyone |
Sign in or sign up /auth/signin | One email-first page | Signed out |
| Forgot and reset password | Get a link and choose a new password | Signed out |
Organizations /organizations | Search and browse organizations | Anyone |
Organization page /organization/:handle | One organization: follow, support, see events | Anyone |
Events /events | Search and browse events | Anyone |
Event page /events/:id | Details, join, add to calendar | Anyone |
My Events /events/mine | Events you attend, and events you host | Signed in |
Edit profile /user/setup | Bio, city and address | Signed in |
Organization setup /organization/setup | Setup questions, then the profile editor | Organizations |
Dashboard /dashboard | Followers, events, support and views | Organizations |
Create, edit, attendees /organization/events/... | Run your events | Organizations |
Good to know
- Pages load fast because each one downloads only when it is first opened.
- Lists load more as you scroll, with grey placeholders while they load.
- If something fails, the page says so in plain words and offers to try again.
Your data
What we collect
What the website keeps in your browser, and what it measures:
| Data | Where | Kept for |
|---|---|---|
| Sign-in cookie | Browser cookie that page scripts cannot read | 30 days, or until you log out |
| A "Google sign-in in progress" marker | Browser cookie | Only during a Google sign-in |
| Your account details, so pages know you are signed in | Browser storage | Until you log out |
| The page to return to after signing in | Browser tab storage | Until the tab closes |
| Page visits: which page, the referring site, browser, device type and country | Vercel Web Analytics | Vercel's standard period |
| How fast pages load | Vercel Speed Insights | Vercel's standard period |
| Error reports, when switched on | Sentry | Sentry's standard period |
There are no advertising cookies and no tracking across other websites. Vercel Web Analytics uses no cookies and does not record who you are. Error reports contain what broke, not your name, email or what you typed.
Why
- The sign-in cookie keeps you signed in between pages.
- Saved account details let the site show your name and the right buttons straight away.
- The return page brings you back to where you were after signing in.
- Page visits and load speed show which pages people use and which ones are slow.
- Error reports let the team fix crashes they would otherwise never hear about.
What we do with it
- Logging out clears the cookie and the saved account details.
- Page-visit and speed numbers are only seen as totals in Vercel's dashboard.
- Error reports are only seen by the KarmaCircle team in Sentry.
How it moves
- Routes:
routesConfig.tsx. Every page except/is lazy-loaded. - Reads use SWR (
useSWR, andusePagedListoveruseSWRInfinitefor paged lists); calls go throughKarmaCircleApi.tswith axios. - The signed-in user lives in Redux (persisted);
SessionBootstrapre-checks it withGET /user/profileon start-up. - The home page also finishes a Google sign-in when the
OAuthLoginInitiatedcookie is present.