Commit Graph
55 Commits
Author SHA1 Message Date
shayandClaude Opus 5 9b5a13f26b fix(frontend): resolve the profile README link against HEAD, not main.
The link hardcoded /edit/main/README.md, so anyone whose profile repo
still defaults to master got a 404. GitHub resolves HEAD to the default
branch, verified against repos where /blob/main/ 404s and /blob/HEAD/
returns 200.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
2026-08-25 08:28:41 -07:00
shayandClaude Opus 5 a25ae33f29 fix(frontend): give the embed snippet somewhere to paste.
The result screen ended at the snippet and a copy button. GitHub only
renders a profile README from the repo named exactly after the account,
and 15 of 23 arrivals did not have that repo, so the copy button was a
dead end for most people. Add two links under the snippet: open the
README, or create the repo.

Also serve a placeholder card instead of a JSON 400 when someone pastes
the README snippet without swapping YOUR_USERNAME for their own name,
and show a live example card in the README.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
2026-08-25 08:10:32 -07:00
shayandClaude Opus 5 faf41ad952 feat(frontend): show the product, keep work across sign-in, add social preview
Of 27 people who typed a username in the last 14 days, 15 left before a
widget rendered. The landing page showed zero pixels of a product whose
entire value is visual, so it now leads with a live example card and says
concretely what you get.

Sign-in used to discard everything: with no router the OAuth `next` is
always "/", so users came back to an empty search box with their theme,
widget order and achievements gone. Persist work-in-progress to
sessionStorage and restore it on mount.

The Workshop preview seeds from demo data (grade A, 842 commits,
collaborators named alex/jordan/sam) with nothing saying so, so users saw
numbers they knew were wrong. Label it until real data arrives.

Add title, description, canonical, OG and Twitter tags, robots.txt and a
sitemap. The page was a 445-byte shell titled "GitHub Widgets", so every
link shared anywhere rendered with no image and no description.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
2026-08-22 16:10:44 -07:00
shay ceac269738 feat(ResultScreen): wraps embed image markdown in a link to origin 2026-06-11 16:12:06 -07:00
shay 78299fa2b9 feat(GrowthChart): refactor y-coordinate mapping and add 2026-05-29 10:27:45 -07:00
shay 61b8090c64 feat(api): add endpoint for retrieving growth data for the dashboard 2026-05-27 10:28:51 -07:00
shay a1d1813a51 feat(api): add endpoint for retrieving growth data for the dashboard 2026-05-27 10:23:49 -07:00
shay f66088e5d6 feat(api): add endpoint for retrieving growth data for the dashboard 2026-05-27 10:21:32 -07:00
shay 99c40cb0ce feat(api): add endpoint for retrieving growth data for the dashboard 2026-05-27 10:16:11 -07:00
shay 2be8dc1ca3 feat(firebase): add Firebase initialization script to index.html 2026-05-26 15:20:41 -07:00
shay ef48d2581b feat(admin dashboard): add admin dashboard 2026-05-11 18:26:43 -04:00
shay 00bf46968a feat(admin dashboard): add admin dashboard 2026-05-11 18:25:09 -04:00
shay 9639051398 feat(ResultScreen): add widget status and manual refresh functionality. 2026-05-04 21:52:44 -04:00
shay 50dd73a0de feat(api): distinguish between not enrolled and not found user statuses 2026-05-03 20:38:21 -04:00
shay 5102a36238 feat(workshop): refine login banner to display only for signed-in users. 2026-04-21 15:40:46 -04:00
shay a4ca81eab9 feat(workshop): simplify button visibility and update user message. 2026-04-21 14:46:46 -04:00
shay 118c8b7cc4 feat(workshop): add drag-and-drop functionality for achievements list 2026-04-21 14:10:37 -04:00
shay 048756c787 feat(workshop-screen): add generate button for editable users 2026-04-21 11:43:00 -04:00
shay fc4e8e4da5 feat(readme): update instructions and add table of contents section 2026-04-20 16:13:28 -04:00
shay 795f49d0a8 feat(api): update ResultScreen to use fallback URL for embed snippet 2026-04-20 16:05:33 -04:00
shay 96dc98142f feat(composite): add show_name parameter to control header visibility. 2026-04-20 15:04:09 -04:00
shay b66f966adb feat(workshop): refactor achievements section for improved layout. 2026-04-20 14:38:29 -04:00
shay fdd6b61172 feat(rendering): adjust text position in SVG for better visibility. 2026-04-20 14:19:18 -04:00
shay 13cc2b4eed feat(build-system): introduce BUILD_VERSION for widget invalidation logic. 2026-04-20 14:09:04 -04:00
shay a88561073a feat(result-screen): add onRegenerate prop to ResultScreen component. 2026-04-20 13:56:43 -04:00
shay 58fd6fbe67 feat(streaks): replace show_dates with customizable color setting. 2026-04-20 13:49:21 -04:00
shay bd59910e54 feat(workshop): fetch and set user-specific widget settings on load. 2026-04-20 13:33:10 -04:00
shay e60acaca74 feat(workshop): implement drag-and-drop reordering for widgets. 2026-04-20 13:28:33 -04:00
shay ca795f7e71 feat(api): add 'streaks' to allowed widgets and settings structure. 2026-04-20 13:05:40 -04:00
shay 4febce9fca feat(api): add 'streaks' to allowed widgets and settings structure. 2026-04-20 13:05:34 -04:00
shay 5a2bc11840 feat(ui): enhance AuthButton styling and position for better UX. 2026-04-19 21:51:30 -04:00
shayandClaude Opus 4.7 f9caa61c77 fix(frontend): send cookies on /generate POST
Without credentials: 'include', the session cookie isn't attached and
the OAuth-guarded endpoint returns 401.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 20:10:14 -04:00
shayandClaude Opus 4.7 be8823c4cf chore(frontend): delete lib/editToken.ts (replaced by OAuth)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:18:32 -04:00
shay ccdd8231ce feat(frontend): gate WorkshopScreen edit UI on OAuth login match 2026-04-19 19:16:59 -04:00
shay cd927e686f feat(frontend): AuthButton — GitHub sign-in / avatar chip 2026-04-19 19:14:06 -04:00
shayandClaude Sonnet 4.6 8ccc0af1cf feat(frontend): App fetches /me, removes editToken plumbing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 19:12:36 -04:00
shay b2baded94a feat(frontend): add lib/auth.ts with fetchMe, signInUrl, signOut 2026-04-19 19:10:05 -04:00
shay 58e794fd57 feat(tags): add auto-awarded profile tags and validation utilities. 2026-04-19 09:37:32 -04:00
shay 016583c9f3 feat(api): implement per-user edit token for settings mutations 2026-04-19 09:34:26 -04:00
shay 3ecb6ad67b feat(tags): implement custom tag color merging and label support 2026-04-18 14:52:32 -04:00
shay 3e70e4b4ef feat(languages): add hidden languages picker and enrich language data 2026-04-18 13:39:44 -04:00
shay 5198eab86a feat(icons): replace inline SVGs with consistent JSX properties for icons 2026-04-18 13:17:00 -04:00
shay 12fb6c331b feat(worker): add achievements parameter to widget settings processing 2026-04-18 13:05:49 -04:00
shay 89a05f2a59 chore(WorkshopScreen): update ICONS type from JSX.Element to ReactNode 2026-04-18 12:51:48 -04:00
shay 3aebd40279 chore(favicon): replace old SVG with new design for favicon icon
chore(ResultScreen): simplify embed section layout and improve copy button
chore(WorkshopScreen): replace emoji icons with inline SVGs for consistency
chore(index.html): update page
2026-04-18 12:50:23 -04:00
shay eadd074402 chore(App): add PATCH request to sync user settings with backend before render 2026-04-18 12:40:16 -04:00
shay dd45d49c22 chore(ResultScreen): add copy functionality for embed snippet button 2026-04-18 12:35:27 -04:00
shay 8ac657b874 chore(ResultScreen): update props to reflect SVG generation process changes 2026-04-18 12:17:25 -04:00
shay 7b2301cec0 chore(api): rename test function for clarity on enrollment behavior 2026-04-18 11:58:02 -04:00
shay 3ffb2cfb6f chore(frontend): add demo data 2026-04-18 11:15:16 -04:00