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-656] Log Daedalus state snapshot #1456

Merged
merged 33 commits into from Jul 16, 2019

Conversation

DeeJayElly
Copy link
Contributor

@DeeJayElly DeeJayElly commented Jul 10, 2019

This PR adds new log for current state of the app at the moment of submitting new support request.

Todos

  • Add missing parameters from the diagnostic screen
  • Add logic to store params and create log in SupportSettingsPage, in the same way like clicking on menu item Support Request

Screenshots

Screenshot 2019-07-10 18 49 00


Testing Checklist

  • Slack QA thread
  • Check if clicking on Support Request creates the log file State-snapshot.json from the main menu
  • Check if clicking on Support Request creates the log file State-snapshot.json from the Support page
  • Check if State-snapshot.json has all the relevant information from the diagnostic screen

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

Copy link
Member

@thedanheller thedanheller left a comment

Choose a reason for hiding this comment

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

Great work @DeeJayElly! I've added a minor comment.

source/common/types/logging.types.js Outdated Show resolved Hide resolved
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.

@DeeJayElly please see to get the requested changes implemented. Thanks!

source/renderer/app/stores/NetworkStatusStore.js Outdated Show resolved Hide resolved
source/renderer/app/stores/NetworkStatusStore.js Outdated Show resolved Hide resolved
source/renderer/app/stores/NetworkStatusStore.js Outdated Show resolved Hide resolved
source/renderer/app/stores/NetworkStatusStore.js Outdated Show resolved Hide resolved
source/renderer/app/stores/NetworkStatusStore.js Outdated Show resolved Hide resolved
source/common/types/logging.types.js Outdated Show resolved Hide resolved
@DeeJayElly DeeJayElly removed the WIP label Jul 15, 2019
@gabriela-ponce
Copy link

@DeeJayElly
The Daedalus version is displayed twice.

image

@nikolaglumac
Copy link
Contributor

@gnpf please focus on the stuff within the data attribute. Everything else is system output which has to be like that (there is some duplication).

@nikolaglumac nikolaglumac dismissed stale reviews from thedanheller and themself July 16, 2019 06:49

Outdated review...

@nikolaglumac nikolaglumac removed the WIP label Jul 16, 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.

Looks and works great @DeeJayElly 🎉

@nikolaglumac nikolaglumac merged commit 8ac3447 into develop Jul 16, 2019
@iohk-bors iohk-bors bot deleted the chore/ddw-656-log-daedalus-state-snapshot branch July 16, 2019 10:52
@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

5 participants