Skip to content

feat(near): NETWORK_META + event_type labels for Near#29

Merged
simonmorley merged 1 commit into
mainfrom
near-frontend
Apr 26, 2026
Merged

feat(near): NETWORK_META + event_type labels for Near#29
simonmorley merged 1 commit into
mainfrom
near-frontend

Conversation

@simonmorley
Copy link
Copy Markdown
Member

Frontend side of #5.

  • `NETWORK_META.near` — ticker `NEAR`, colour `#00C08B` (Near brand green), name `Near`.
  • `NETWORK_ORDER` appended.
  • `EventType` union — adds `near_kicked_out`.
  • `EVENT_TYPE_LABELS` + `EVENT_TYPE_DESCRIPTIONS` — feed sentence + long form.

Hidden from the feed until activation migration's `is_public` is flipped.

Test plan

  • `npm run build` clean
  • Land worker + migration siblings; verify rendering on dev frontend after flip

Frontend side of #5. Adds Near to NETWORK_META (ticker NEAR, brand
green #00C08B) plus the near_kicked_out event type with feed-friendly
translation strings.

Sibling: slashr-worker#44 (collector + detector), slashr-infra#24
(activation migration).
@simonmorley simonmorley merged commit eac538d into main Apr 26, 2026
2 checks passed
@simonmorley simonmorley deleted the near-frontend branch April 26, 2026 20:15
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds support for the Near network by updating network metadata, ordering, and event constants, including the new near_kicked_out event. It also extends the NetworkSlug, NetworkTicker, and EventType type definitions to include Near-specific values. I have no feedback to provide.

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