Hive Hive
Sign in

fix(web): remove duplicated page header badges

GitHub issue · Closed

Metadata
Source
tuist/hive #75
Updated
Jun 24, 2026
Domains
Hive
Details

What changed

Removed the repeated category badge from the list page headers for Forage, Specs, Drops, and Audit.

The change keeps contextual badges in place where they add information, such as item type, status, or a detail page label.

Why

The badge and the page heading repeated the same label in the first viewport, which made those pages feel noisier without adding useful context.

Root cause

The list page header markup rendered a category badge immediately above a heading with the same text.

Approach

This removes only the redundant badge nodes from the affected list headers. The surrounding actions, feed controls, filters, tables, and detail page badges are unchanged.

Impact

The affected pages now start directly with the page heading and supporting description. There are no route, data, permission, or migration changes.

Validation

  • mix format lib/hive_web/components/forage_components.ex lib/hive_web/components/spec_components.ex lib/hive_web/live/drops_live/index.ex lib/hive_web/live/audit_live.ex
  • mix test test/hive_web/live/forage_live/feature_requests_test.exs test/hive_web/live/spec_live/index_test.exs test/hive_web/live/drops_live/index_test.exs test/hive_web/live/audit_live_test.exs
  • mix compile --warnings-as-errors
  • git diff --check
  • Captured verification screenshots with a headless Chrome browser for /forage, /specs, /drops, and /audit.

Verification screenshots

The contact sheet includes the two reported before states and after captures for all changed headers.

Header badge verification

Comments

No GitHub comments yet.