shay and Claude Opus 5
0904c4bb9f
feat(generator): raise enrollment ceiling, add burst guard, stop enqueue loop
...
ENROLLMENT_DAILY_CAP was 50, so any traffic spike past 50 new users in a
day was turned away with a rate_limited card. Raise the default to 500 and
add ENROLLMENT_HOURLY_CAP=60. The hourly guard is the one that actually
protects the shared PAT: a new user costs ~37 REST calls (p90 ~104)
against a 5000/hr budget, and a spike arrives inside an hour rather than
spread over a day. Counted off users.enrolled_at, so no schema change.
Also stop an unbounded enqueue loop. `name` is drawn inside the composite
and never persisted standalone, and `achievements` renders nothing until
the user authors one, so their SVG is permanently absent and every request
re-enqueued a build that could never produce it. Only self-heal when no
build has actually landed, keyed off widget_data for the current hash.
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 and Claude Opus 5
769cde552d
feat(widgets): attribution on every widget, and make it legible
...
Five of the seven standalone widgets and all three placeholder cards
carried no attribution at all, and where it did render it was font-size 9
at opacity 0.5 (about 2.1:1 contrast) at the bottom of a 1500px card. Each
embedded widget sits on a public profile and is the only organic
acquisition surface we have.
Shared helper so the styling can't drift again. font-size 10, opacity
0.75 (about 3.1:1), still using the theme's text_secondary so it stays
roughly 4x fainter than the user's own content. Composite output is
byte-identical in size; four standalone cards grow 16px where the footer
would otherwise collide with existing content.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
2026-08-22 16:10:26 -07:00
shay
eea1734a04
fix(languages): center donut chart and legend based on card midline.
2026-07-25 16:23:28 -07:00
shay
fe4bb4e87e
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-07-19 21:01:40 -07:00
shay
d1e89fb1c3
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-06-12 01:37:08 -07:00
shay
e53d1cfbe0
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-06-12 01:17:53 -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
410b503877
feat(Analytics): add daily stats rollup to persist data beyond pruning
2026-05-27 10:47:42 -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
e7a0521ff6
feat(api): implement self-healing build enqueue for user widgets
2026-05-26 15:23:14 -07:00
shay
2be8dc1ca3
feat(firebase): add Firebase initialization script to index.html
2026-05-26 15:20:41 -07:00
shay
369d42bb5f
feat(api): implement auto-enrollment for unknown users on first hit
2026-05-26 15:10:20 -07:00
shay
151f330d31
feat(analytics): add request tracking decorator for API endpoints
2026-05-12 01:47:13 -04:00
shay
01927b2173
feat(analytics): include render-only users in activity count query
2026-05-11 23:34:57 -04:00
shay
d4cbbae82a
feat(api): add basic auth protection to /dev dashboard route
2026-05-11 19:03:26 -04: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
9d15dd6c94
feat(grade): add data attributes for footer attribution in widgets
2026-05-06 16:38:59 -04:00
shay
8f7b27f806
feat(grade): add footer attribution for visual consistency in widget
2026-05-06 10:32:00 -04:00
shay
99378e13cd
feat(api): add compatibility route for top-langs to handle upstream URLs.
2026-05-06 10:26:53 -04:00
shay
9639051398
feat(ResultScreen): add widget status and manual refresh functionality.
2026-05-04 21:52:44 -04:00
shay
8dbbd16cf9
feat(api): auto-enroll users typing unknown usernames into workshop
2026-05-04 16:34:12 -04:00
shay
6edf98334c
feat(api): add idempotency check for already queued builds in callback
2026-05-04 15:52:03 -04:00
shay
4a1d31ffdd
feat(api): implement async fetch with callback to enqueue build job
2026-05-04 12:35:41 -04:00
shay
50dd73a0de
feat(api): distinguish between not enrolled and not found user statuses
2026-05-03 20:38:21 -04:00
shay
954f259b8f
feat(worker): update worker to render and persist SVGs with widget data
2026-04-25 12:28:38 -04:00
shay
7f1e53cfad
feat(db): normalize usernames in enrollment_rank for case insensitivity
2026-04-22 12:50:14 -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
9cc9de2147
feat(api): add shortcut for rendering grade widget with username query.
2026-04-21 15:09:17 -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
a06bd2a20c
feat(readme): replace hero widget image with composite widget example
2026-04-21 14:07:26 -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
451cb45788
feat(api): add sanitize_settings_query function for URL params handling
2026-04-20 15:04:15 -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
599c1ed672
feat(processor): refactor byte tally logic for authored repositories only.
2026-04-20 14:19:26 -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
39d07fb7e0
feat(processor): add consistency scoring based on active commit weeks.
2026-04-20 13:43:08 -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