Skip to content

Conversation

@saxix
Copy link
Contributor

@saxix saxix commented Jan 13, 2026

Legal Boilerplate

Look, I get it.
Contributing to Bitcaster, I retain all rights, title and interest in and to my contributions, and by keeping
this boilerplate intact I confirm that Bitcaster can use, modify, copy, and redistribute my contributions,
under Bitcaster's choice of terms.

saxix added 2 commits January 13, 2026 12:20
This commit refactors the entire UI theme generation, moving from a custom SCSS implementation to a Tailwind CSS-based one.

- Replaces all legacy SCSS/CSS files with a new structure under `src/bitcaster/web/theme/static_src/src/`.
- Updates the build process in `package.json` to use `postcss` for compiling Tailwind CSS.
- Unifies base templates to extend `unfold/layouts/skeleton.html`, ensuring a consistent look and feel across the application.
- Removes the custom login view, standardizing on the Django admin login page.
- Renames Console views and transitions them to inherit from a common `UnfoldViewMixin` for better integration with the admin theme.
- Updates dependencies for pre-commit hooks.
- Introduces `unfold_theme.py` to dynamically generate CSS variables for Unfold theme colors and border radius, allowing for easier theme customization.
- Completely re-writes `bitcaster/console/base.html` to be a standalone template, incorporating client-side theme switching logic with Alpine.js. This enhances the user experience by providing a more responsive and interactive theme selection.
- Cleans up `package.json` by removing redundant and unused build/start scripts, streamlining the frontend development workflow.
@saxix saxix merged commit 0e5c3c0 into develop Jan 13, 2026
14 checks passed
@saxix saxix deleted the css_cleanup branch January 13, 2026 14:05
@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.34%. Comparing base (ccc944e) to head (016614e).
⚠️ Report is 1 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #94      +/-   ##
===========================================
- Coverage    95.34%   95.34%   -0.01%     
===========================================
  Files          194      194              
  Lines         6704     6697       -7     
  Branches       502      502              
===========================================
- Hits          6392     6385       -7     
  Misses         242      242              
  Partials        70       70              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants