Skip to content

Frontend refactor account styles - #4646

Open
thisconnect wants to merge 2 commits into
BitBoxSwiss:masterfrom
thisconnect:frontend-refactor-account-styles
Open

thisconnect wants to merge 2 commits into
BitBoxSwiss:masterfrom
thisconnect:frontend-refactor-account-styles

Conversation

@thisconnect

@thisconnect thisconnect commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Before asking for reviews, here is a check list of the most common things you might need to consider:

  • updating the Changelog
  • writing unit tests
  • checking if your changes affect other coins or tokens in unintended ways
  • testing on multiple environments (Qt, Android, ...)
  • having an AI review your changes

This introduces some duplication in account.module.css and
lightning.module.css. A little duplication is preferable to one
route depending on another route's internal stylesheet.

However, the transaction history header and search functionality
look like good candidates for a shared React component with its own
CSS module.

Also removed some unused leftover classes:
- .container
- .subTitle
- .disabled
CSS Modules scope class names independently, so the parent container's
.button selectors no longer match the buttons after moving their styles
into a separate module.

Move the responsive button styles into the owning component's CSS module
to restore the previous behavior while keeping style ownership explicit.
@thisconnect

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Account action, transaction-list, and transaction-history-skeleton styles now use component-specific CSS modules. The account stylesheet removes their previous rules and related responsive overrides. Lightning layout and search styles are now defined in the Lightning stylesheet, which the page uses for those elements.

Merge Risk: Minimal · up to ff737

This refactor moves account and Lightning styles into the modules that own them. No concrete regression was found. Rendered layouts were not executed, so a quick visual check of the account and Lightning pages is advisable.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 3d62f57f-8f76-42e4-ad6e-dc6f1183c701
Commits

Reviewing files that changed from the base of the PR and between e714424 and ff737c1.

Files selected for processing: 13

  • frontends/web/src/routes/account/account.module.css
  • frontends/web/src/routes/account/actionButtons.module.css
  • frontends/web/src/routes/account/actionButtons.tsx
  • frontends/web/src/routes/account/components/account-action-button-link.module.css
  • frontends/web/src/routes/account/components/account-action-button-link.tsx
  • frontends/web/src/routes/account/components/account-action-buttons.module.css
  • frontends/web/src/routes/account/components/account-action-buttons.tsx
  • frontends/web/src/routes/account/components/transaction-list.module.css
  • frontends/web/src/routes/account/components/transaction-list.tsx
  • frontends/web/src/routes/account/transaction-history-skeleton.module.css
  • frontends/web/src/routes/account/transaction-history-skeleton.tsx
  • frontends/web/src/routes/lightning/lightning.module.css
  • frontends/web/src/routes/lightning/lightning.tsx
Files with no reviewable changes: 1

  • frontends/web/src/routes/account/account.module.css

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@thisconnect
thisconnect marked this pull request as ready for review November 26, 2026 17:31
@thisconnect
thisconnect requested a review from a team as a code owner November 26, 2026 17:31
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