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

[DDW-637] Add timestamp for Paper wallet #1385

Merged

Conversation

thedanheller
Copy link
Member

@thedanheller thedanheller commented May 6, 2019

This PR implements timestamp on paper wallet PDF filename and content.

TODO

Add timestamp in the PDF content:

  • For English, the format is MMMM D, YYYY - h:mm A: May 09, 2019 - 04:30 PM
  • For Japanese, the format is YYYY年M月D日 - HH:mm: 2019年5月7日 - 16:30

Add timestamp in the PDF filename:

  • The format is always the default YYYY-MM-DDTHHmmss.0SSS

Screenshots

image

image


Testing Checklist


Review Checklist

Basics

  • PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
  • PR is updated to the most recent version of the target branch (and there are no conflicts)
  • PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
  • CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
  • Automated tests: All acceptance and unit tests are passing (yarn test)
  • Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
  • Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
  • There are no flow errors or warnings (yarn flow:test)
  • There are no lint errors or warnings (yarn lint)
  • There are no prettier errors or warnings (yarn prettier:check)
  • There are no missing translations (running yarn manage:translations produces no changes)
  • Text changes are proofread and approved (Jane Wild / Amy Reeve)
  • Japanese text changes are proofread and approved (Junko Oda)
  • UI changes look good in all themes (Alexander Rukin)
  • Storybook works and no stories are broken (yarn storybook)
  • In case of dependency changes yarn.lock file is updated

Code Quality

  • Important parts of the code are properly commented and documented
  • Code is properly typed with flow
  • React components are split-up enough to avoid unnecessary re-renderings
  • Any code that only works in main process is neatly separated from components

Testing

  • New feature/change is covered by acceptance tests
  • New feature/change is manually tested and approved by QA team
  • All existing acceptance tests are still up-to-date
  • New feature/change is covered by Daedalus Testing scenario
  • All existing Daedalus Testing scenarios are still up-to-date

After Review

  • Merge the PR
  • Delete the source branch
  • Move the ticket to done column on the YouTrack board
  • Update Slack QA thread by marking it with a green checkmark

@thedanheller thedanheller changed the title [DDW-637] Add timestamp for Paper wallet PDF name [DDW-637] Add timestamp for Paper wallet May 7, 2019
@thedanheller thedanheller removed the WIP label May 8, 2019
@thedanheller thedanheller removed the WIP label May 13, 2019
Copy link
Contributor

@nikolaglumac nikolaglumac left a comment

Choose a reason for hiding this comment

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

@daniloprates seems like the "Download logs" feature got broken in this PR:

screen_shot_2019-05-16_at_12 09 02

@nikolaglumac nikolaglumac dismissed their stale review May 17, 2019 08:15

Issues fixed

@nikolaglumac nikolaglumac removed the WIP label May 17, 2019
Copy link

@IuliaDolishniak IuliaDolishniak left a comment

Choose a reason for hiding this comment

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

Log file archive shows incorrect time and doesn's change accordingly, i.e. always displays same time.
screen

@thedanheller thedanheller removed the WIP label May 17, 2019
Copy link
Contributor

@nikolaglumac nikolaglumac left a comment

Choose a reason for hiding this comment

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

Excellent work @daniloprates 🎉

@nikolaglumac nikolaglumac merged commit 17953da into develop May 20, 2019
@iohk-bors iohk-bors bot deleted the feature/ddw-637-add-timestamp-for-paper-wallet-pdf-name branch May 20, 2019 08:30
@darko-mijic darko-mijic mentioned this pull request Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants