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

Redeem widget #216

Merged
merged 8 commits into from
May 3, 2024
Merged

Redeem widget #216

merged 8 commits into from
May 3, 2024

Conversation

wtfsayo
Copy link
Contributor

@wtfsayo wtfsayo commented May 2, 2024

Contains Working Redemption Widget

  • UX could be improved
  • Made some null/default value handling improvements on swap widget as well
  • switched to using form on swap/redeem widgets

@wtfsayo wtfsayo requested a review from plor May 2, 2024 15:05
@wtfsayo wtfsayo linked an issue May 2, 2024 that may be closed by this pull request
Copy link
Contributor

@plor plor left a comment

Choose a reason for hiding this comment

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

Looks good, one note though, it is difficult to do reviews when large formatting changes are included. If its possible to keep them separate that would benefit the reviews.

@@ -151,8 +151,7 @@ export class UtilsService {
});

const parsedLogs: IParsedLog[] = logs.map((log: any) => ({
tenantId: web3.utils
.toAscii(log?.args?._identifier!)
tenantId: fromHex(log?.args?._identifier!, 'string')
.replaceAll(`\x00`, ''),
Copy link
Contributor

Choose a reason for hiding this comment

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

One thing I thought of here is what happens if there are zeros in the identifier that get removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

doesn't work that way for un-padded zeroes! (hopefully)

@wtfsayo
Copy link
Contributor Author

wtfsayo commented May 3, 2024

Looks good, one note though, it is difficult to do reviews when large formatting changes are included. If its possible to keep them separate that would benefit the reviews.

sorry about that, my editor is acting weird!

@wtfsayo wtfsayo merged commit 17abd87 into develop May 3, 2024
3 checks passed
@wtfsayo wtfsayo deleted the redeem-widget branch May 4, 2024 08:04
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.

implement swapping and redeeming UI
2 participants