Skip to content

fix: restore frontend helpers after merge conflicts - #74

Open
Simultech369 wants to merge 1 commit into
SPulse-Org:mainfrom
Simultech369:codex/fix-explorer-url
Open

fix: restore frontend helpers after merge conflicts#74
Simultech369 wants to merge 1 commit into
SPulse-Org:mainfrom
Simultech369:codex/fix-explorer-url

Conversation

@Simultech369

@Simultech369 Simultech369 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

Restores frontend helpers and cleans up merge-conflict fallout that left current main with duplicated imports, clipped helper exports, and syntactically broken frontend files.

Changes

  • Restores explorerUrl(), bpsToPercent(), formatEventTime(), timeAgo(), and consolidated timestamp formatting helpers.
  • Normalizes leaderboard rendering back through LeaderboardTable and removes the duplicate lastUpdated state conflict.
  • Cleans up market detail helper imports and renders one event timestamp with formatEventTime().
  • Restores syntactically valid event service/tests and aligns the navbar brand test with the rendered StellarPulse text.

Validation

  • npm.cmd test -- helpers.test.ts - 59 passed
  • npx.cmd tsc --noEmit - passed
  • npm.cmd test - 181 passed
  • npm.cmd run build - passed

@Simultech369
Simultech369 force-pushed the codex/fix-explorer-url branch from c1733a1 to e1d4540 Compare July 21, 2026 21:53
@Simultech369 Simultech369 changed the title fix: restore frontend helper exports fix: restore frontend helpers after merge conflicts Jul 21, 2026
@Simultech369

Copy link
Copy Markdown
Contributor Author

I am cleaning up older open PRs on my account. If this repair is no longer needed after the merged leaderboard work, I will close it after a short grace period.

If it is still useful, I am happy to keep it open and update it.

@Muyideen-js

Copy link
Copy Markdown
Collaborator

@Simultech369 fix the conflict

@Muyideen-js

Copy link
Copy Markdown
Collaborator

@Simultech369 fix the file issue

@Simultech369
Simultech369 force-pushed the codex/fix-explorer-url branch from e1d4540 to 2bd51e2 Compare July 31, 2026 02:18
@Simultech369

Copy link
Copy Markdown
Contributor Author

Resolved the merge conflicts and file issues cleanly against latest main:

  • Deduplicated helper exports in frontend/src/utils/helpers.ts and cleaned up component imports in markets/[id]/page.tsx and leaderboard/page.tsx.
  • Revalidated frontend completely: npx tsc --noEmit (0 errors), npm run build (success), npm test (210/210 passed), git diff --check (clean).

@Simultech369
Simultech369 force-pushed the codex/fix-explorer-url branch from 2bd51e2 to f48af25 Compare August 1, 2026 17:50
@Simultech369
Simultech369 force-pushed the codex/fix-explorer-url branch from f48af25 to bd348ed Compare August 1, 2026 18:12
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