Skip to content

[Explorer] Contract page updates #828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
9 tasks
mdaria17 opened this issue Apr 17, 2025 · 1 comment
Open
9 tasks

[Explorer] Contract page updates #828

mdaria17 opened this issue Apr 17, 2025 · 1 comment
Labels
explorer Related to explorer interface

Comments

@mdaria17
Copy link
Collaborator

How contracts and account pages look right now:

Propose calling them both contracts, not an account.

Link to the Figma file

Updates:

Image
  • Make the page responsive (showed in the figma breakpoints)

Video of how it works with an explanation:

Contract.page.updates.mov
@mdaria17 mdaria17 added the explorer Related to explorer interface label Apr 17, 2025
@mdaria17 mdaria17 changed the title [Playground] Contract page updates [Explorer] Contract page updates Apr 17, 2025
@njokojunior
Copy link

Could I be assigned to this?

I'll implement the contract page redesign based on the provided Figma and requirements. Here's my detailed approach:

  1. Page Terminology Standardization:
  • Rename both "contract" and "account" pages to simply "Contract" for consistency
  • Update all related navigation links and breadcrumbs
  1. Tab-based Layout Implementation:
  • Create a tabbed interface with "Transactions", "Contract Code", and "Bytecode" tabs
  • Implement tab switching with proper state management to preserve user navigation context
  1. Transactions Tab Enhancements:
  • Implement empty state UI for when no transactions exist
  • Add pagination controls with configurable page size
  • Ensure table responsiveness at all breakpoints
  1. Contract Code Tab Features:
  • Add nested tabbing system for "Code", "Read", and "Write" views
  • Implement disabled state for write functions as specified
  • Add contract metadata display (name, compiler version, etc.)
  • Implement utility buttons (playground link, copy code, copy link) with proper functionality
  1. Token View Updates:
  • Redesign token information display according to Figma specs
  • Ensure proper handling of different token types
  1. Responsive Design Implementation:
  • Follow Figma breakpoints for responsive behavior
  • Test across all standard device sizes (mobile, tablet, desktop)
  • Ensure proper element wrapping and prioritization at smaller screen sizes

I have experience with similar UI component refactoring and can deliver this update efficiently while maintaining full functionality. I'll ensure all elements match the Figma designs precisely.

ETA: 32hrs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
explorer Related to explorer interface
Projects
None yet
Development

No branches or pull requests

2 participants