Skip to content

Comments

refactor: add badge to treasury action#541

Open
rickstaa wants to merge 1 commit intomainfrom
refactor/improve-treasury-action-styling
Open

refactor: add badge to treasury action#541
rickstaa wants to merge 1 commit intomainfrom
refactor/improve-treasury-action-styling

Conversation

@rickstaa
Copy link
Member

@rickstaa rickstaa commented Feb 4, 2026

Description

Make the treasury action a badge so that its more clear that this is an
action while the receiver and amount are parameters.

Type of Change

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation update
  • style: Code style/formatting changes (no logic changes)
  • refactor: Code refactoring (no behavior change)
  • perf: Performance improvement
  • test: Adding or updating tests
  • build: Build system or dependency changes
  • ci: CI/CD changes
  • chore: Other changes

Related Issue(s)

Changes Made

  • Made the treasury action a badge for clarity.

Testing

  • Tested locally
  • Added/updated tests
  • All tests passing

How to test (optional unless test is not trivial)

Just run it locally.

Impact / Risk

Risk level: Low

Impacted areas: UI

User impact: Visual change they have to get used to.

Rollback plan: PR revert

Screenshots / Recordings (if applicable)

Before:

image

After:

image

Additional Notes

@rickstaa rickstaa requested a review from ECWireless as a code owner February 4, 2026 14:44
Copilot AI review requested due to automatic review settings February 4, 2026 14:44
@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Feb 5, 2026 4:34am

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the treasury action display to use a Badge component instead of a Text component for the "LPT Transfer" action type. The change improves visual clarity by distinguishing action types from their parameters.

Changes:

  • Converted "LPT Transfer:" text label to a Badge component with green variant and size 1
  • Removed trailing colon from the action label to match badge styling conventions
  • Adjusted CSS properties to work with the Badge component

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Feb 4, 2026

@rickstaa I've opened a new pull request, #542, to work on those changes. Once the pull request is ready, I'll request review from you.

Make the treasury action a badge so that its more clear that this is an
action while the receiver and amount are parameters.
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.

2 participants