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: add reclaim name flow #3027

Merged
merged 4 commits into from
Jan 30, 2024
Merged

feat: add reclaim name flow #3027

merged 4 commits into from
Jan 30, 2024

Conversation

meelrossi
Copy link

image image image

Copy link

vercel bot commented Jan 29, 2024

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

Name Status Preview Comments Updated (UTC)
builder ❌ Failed (Inspect) Jan 30, 2024 3:10pm

@coveralls
Copy link

coveralls commented Jan 29, 2024

Pull Request Test Coverage Report for Build 7713186945

  • -3 of 33 (90.91%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 46.38%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/Modals/ReclaimNameModal/ReclaimNameModal.tsx 18 19 94.74%
src/modules/ens/sagas.ts 3 4 75.0%
src/modules/ens/selectors.ts 1 2 50.0%
Totals Coverage Status
Change from base Build 7673540662: 0.2%
Covered Lines: 5267
Relevant Lines: 10284

💛 - Coveralls

expect(screen.getByText(t('ens_reclaim_name_modal.confirm_transaction'))).toBeInTheDocument()
})

it('should show processing message when set resolver tx is loading', () => {
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 adding a couple of tests that assert that the button is clickable when disableActions is true?

src/modules/translation/languages/es.json Outdated Show resolved Hide resolved
src/components/ENSDetailPage/ENSDetailPage.spec.tsx Outdated Show resolved Hide resolved
})}
trigger={<DCLIcon name="info circle" />}
/>
<Popup on="click" content={t('ens_detail_page.tooltips.address')} trigger={<DCLIcon name="info circle" />} />
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a InfoTooltip component that sets up a Popup with the info button, would you mind trying to see if it works for this case?

t('global.submit')
)}
</NetworkButton>
{!isEnsAddressEnabled ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this removing the whole reclaim process if the isEnsAddress feature is not enabled?

Copy link
Author

Choose a reason for hiding this comment

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

when it is enabled the user should never reach this page without reclaiming the name before.. its blocking the assign address and land buttons on the list and on the detail page

Co-authored-by: Lautaro Petaccio <1120791+LautaroPetaccio@users.noreply.github.com>
Signed-off-by: Melisa Anabella Rossi <merossi@itba.edu.ar>
@@ -22,6 +22,7 @@ export default class SignInPage extends React.PureComponent<Props> {

render() {
const { isConnected, isAuthDappEnabled } = this.props
console.log({ isAuthDappEnabled }, 'HDASDASD')
Copy link
Contributor

Choose a reason for hiding this comment

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

A wild console log appeared 😆

Copy link
Author

Choose a reason for hiding this comment

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

hahahah sorry

Signed-off-by: Melisa Anabella Rossi <merossi@itba.edu.ar>
@meelrossi meelrossi merged commit e04f7a4 into master Jan 30, 2024
6 of 7 checks passed
@meelrossi meelrossi deleted the feat/add-reclaim-step branch January 30, 2024 15:10
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.

3 participants