-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature #1008 - Support new TXs for account module in Wallet #1033
Feature #1008 - Support new TXs for account module in Wallet #1033
Conversation
75141eb
to
bd86d88
Compare
bd86d88
to
8f8201c
Compare
e366bbf
to
10c70c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Also as I am owner of this PR I can not approve it :)
{iovnames | ||
.slice() | ||
.sort((a, b) => { | ||
if (a.username < b.username) return -1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better if you will use local compare function.
...
iovnames.slice().sort((a, b) =>
a.username.localeCompare(b.username, undefined, { sensitivity: "base" }),
);
...
{starnames | ||
.slice() | ||
.sort((a, b) => { | ||
if (`${a.name}*${a.domain}` < `${b.name}*${b.domain}`) return -1; | ||
if (`${a.name}*${a.domain}` > `${b.name}*${b.domain}`) return 1; | ||
return 0; | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@@ -85,7 +84,7 @@ withChainsDescribe("E2E > Receive Payment route", () => { | |||
}, 35000); | |||
}); | |||
|
|||
describe("Starnames tab", () => { | |||
describe.skip("Starnames tab", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ok, or you forgot to remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since they need some rewrite I prefer to do it as part of #1039.
export const REGISTER_IOVNAME_ROUTE = "/register-iovname"; | ||
export const REGISTER_STARNAME_ROUTE = "/register-starname"; | ||
export const REGISTER_NAME_ROUTE = "/register-name"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about URL naming convention. What do you think if we will place it in order "noun"-"verb". In this case it should be /starname-register
. Or even better /starname/register
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, I like the last option since it will open up other operations like /starname/renew
or whatever.
6f45d89
to
caa21cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. I can not confirm, but sure you can by yourself.
Closes #1008.