feat: redesign OAuth success and error pages#47
Conversation
eb907c3 to
6cf9b9f
Compare
There was a problem hiding this comment.
This PR introduces a polished and visually appealing redesign for the OAuth success and error pages, bringing them in line with Todoist's branding. The new dark theme, animated background, and clear instructional card create a much-improved user experience during the authentication flow. The implementation has a minor layout issue where page content may become inaccessible on smaller viewports due to a CSS overflow setting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6cf9b9f to
65ea3be
Compare
scottlovegrove
left a comment
There was a problem hiding this comment.
I wonder if we could extract the html and images to actual files to be included in the package, rather than having them as strings in code 🤔
|
Fancy 💅 |
It’s possible but adds friction for little gain.
The HTML is self-contained, changes rarely, and is ~150 lines each. Keeping it inline means We can consider it for the future if we find ourselves changing this much. |
Summary
Redesigned the OAuth callback pages to match Todoist branding and follow modern UI patterns inspired by steipete/gogcli. The new design features a dark theme with animated background orbs, Todoist logo, success/error badges, and a terminal card showcasing CLI commands.
Changes
tdcommands, 30s countdown timer, GitHub linktd auth logincommandTesting
All tests pass (592 tests). Verified locally (see screenshots below)
Demo
Success
Error