Skip to content

fix: update stale CSS class names and local dev login#11

Draft
khasinski wants to merge 1 commit intoactiveagents:mainfrom
khasinski:fix/local-dev-login-and-css
Draft

fix: update stale CSS class names and local dev login#11
khasinski wants to merge 1 commit intoactiveagents:mainfrom
khasinski:fix/local-dev-login-and-css

Conversation

@khasinski
Copy link
Contributor

Summary

  • CSS class rename: library__book / book__cover classes in library.css and books.css were never updated during the Writebook-to-Dill rename. Templates already use library__report / report__cover, so the report grid and "new report" button were invisible due to missing styles.
  • Post-login redirect: After sign-in, users were redirected to / (marketing landing page) instead of /reports. Changed post_authenticating_url fallback to reports_url.
  • Dev login form: Added an email/password form on the sign-in page, gated behind Rails.env.development?, so local development doesn't require Google OAuth credentials.

Test plan

  • Verify /reports page shows the report grid and "new report" button
  • Verify report covers render correctly with theme styling
  • Verify login redirects to /reports after sign-in
  • Verify email/password form only appears in development

- Rename library__book / book__cover CSS classes to library__report /
  report__cover to match templates updated in the Writebook-to-Dill rename
- Redirect post-login to /reports instead of / (landing page)
- Add email/password login form on sign-in page in development mode
@superconductor-for-github
Copy link

superconductor-for-github bot commented Mar 5, 2026

@khasinskiSuperconductor finishedView implementation


Standing by for instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant