-
Notifications
You must be signed in to change notification settings - Fork 24
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 components for nano contract transactions [9] #456
Conversation
37fa2b3
to
06e563d
Compare
432ff49
to
553f87b
Compare
@@ -392,3 +393,5 @@ export function combineURLs(baseURL, relativeURL) { | |||
export const isPushNotificationAvailableForUser = (state) => ( | |||
state.pushNotification.available && state.pushNotification.deviceRegistered | |||
); | |||
|
|||
export const getTimestampFormat = (timestamp) => moment.unix(timestamp).format(t`DD MMM YYYY [•] HH:mm`) |
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.
Missing docstring
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.
Also, is this localized?
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.
It is internationalized but regarding localization for en-us
I didn't prepared it, I'm following the pattern we already have. Maybe we should open an issue just for this.
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.
Can you please create the issue and link here?
1e1e19b
to
6c9c73e
Compare
ea8deb9
to
2c4494b
Compare
Because Abadesso has come back from vacation.
6c9c73e
to
12a6991
Compare
2c4494b
to
cbd98be
Compare
* | ||
* @returns {string} formatted timestamp | ||
*/ | ||
export const getTimestampFormat = (timestamp) => moment.unix(timestamp).format(t`DD MMM YYYY [•] HH:mm`) |
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.
This is copying what we have in the src/models.js
file to the utils. You should at least change the models file to use the utils as well.
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.
Sure
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.
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.
Here is the issue:
#491
cbd98be
to
e1d912d
Compare
* feat(nc): add components
Motivation
This is a PR on a sequence to make the review easier.
Acceptance Criteria
Note
It depends on:
Security Checklist