Skip to content
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

feat: names detail page #3018

Merged
merged 7 commits into from
Jan 23, 2024
Merged

feat: names detail page #3018

merged 7 commits into from
Jan 23, 2024

Conversation

meelrossi
Copy link
Contributor

image

Copy link

vercel bot commented Jan 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
builder ❌ Failed (Inspect) Jan 23, 2024 2:12am

@meelrossi meelrossi changed the title Feat/names detail page feat: names detail page Jan 22, 2024
@coveralls
Copy link

coveralls commented Jan 22, 2024

Pull Request Test Coverage Report for Build 7620032285

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 18.415%

Totals Coverage Status
Change from base Build 7587555073: 0.2%
Covered Lines: 3750
Relevant Lines: 16444

💛 - Coveralls

Copy link
Contributor

@LautaroPetaccio LautaroPetaccio left a comment

Choose a reason for hiding this comment

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

Looks great! I've left some comments to small review

export default function ENSDetailPage(props: Props) {
const { ens, isLoading, alias, avatar, name, onNavigate, onOpenModal, onFetchENS } = props
const imgUrl = useMemo<string>(
() => (ens ? `http://marketplace-api.decentraland.zone/v1/ens/generate?ens=${ens.name}&width=330&height=330` : ''),
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind getting the marketplace-api url from the config files?

src/components/ENSDetailPage/ENSDetailPage.spec.tsx Outdated Show resolved Hide resolved
src/components/ENSDetailPage/ENSDetailPage.spec.tsx Outdated Show resolved Hide resolved
<img
className="ens-list-name-icon"
alt={ens.subdomain}
src={`http://marketplace-api.decentraland.zone/v1/ens/generate?ens=${ens.name}&width=330&height=330`}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as before (just as a reminder), would you mind moving the marketplace-api site URL to the configs?

Co-authored-by: Lautaro Petaccio <1120791+LautaroPetaccio@users.noreply.github.com>
Signed-off-by: Melisa Anabella Rossi <merossi@itba.edu.ar>
@meelrossi meelrossi merged commit a72deb7 into master Jan 23, 2024
6 of 7 checks passed
@meelrossi meelrossi deleted the feat/names-detail-page branch January 23, 2024 15:40
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.

None yet

3 participants