Skip to content

Conversation

@facuzeta
Copy link
Collaborator

Adding banner with new sites

@facuzeta facuzeta requested review from Copilot and curcio December 12, 2025 15:48
Copy link

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 adds an informational banner to notify users that orderflow.art is no longer being updated and directs them to alternative sites for current data. The changes include upgrading the Next.js dependency to allow patch updates and implementing a styled banner component with links to Allium and Barter platforms.

Key Changes

  • Updated Next.js version constraint from exact to caret (allowing patch updates)
  • Added informational banner displaying the data coverage period and deprecation notice
  • Integrated links to two alternative platforms (Allium and Barter) with supported chain information

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
package.json Changed Next.js version from exact "14.0.4" to "^14.0.4" to allow patch updates
components/sankey/Render.tsx Added deprecation banner with data range, alternative site links, and imported getDateString helper

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

@facuzeta facuzeta requested a review from Copilot December 15, 2025 16:13
Copy link

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

error={sankeyError}
/>
</div>
<div className="border border-dune-300 bg-dune-200 px-6 py-6 rounded-md text-center space-y-6">
Copy link

Copilot AI Dec 15, 2025

Choose a reason for hiding this comment

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

The added banner is missing a top margin or spacing, which could cause it to be immediately adjacent to the element above. Consider adding a top margin (e.g., 'mt-4' or 'mt-6') to maintain consistent spacing with the surrounding layout.

Suggested change
<div className="border border-dune-300 bg-dune-200 px-6 py-6 rounded-md text-center space-y-6">
<div className="border border-dune-300 bg-dune-200 px-6 py-6 rounded-md text-center space-y-6 mt-6">

Copilot uses AI. Check for mistakes.
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