Skip to content

Update UI to display different instructions for different error codes - #1137

Merged
ttanatb merged 4 commits into
google:masterfrom
ttanatb:validation-ui
Jul 26, 2022
Merged

Update UI to display different instructions for different error codes#1137
ttanatb merged 4 commits into
google:masterfrom
ttanatb:validation-ui

Conversation

@ttanatb

@ttanatb ttanatb commented Jun 24, 2022

Copy link
Copy Markdown
Contributor

Failed to validate trace file:
Screen Shot 2022-06-24 at 5 25 32 PM

Consistently fails to validate trace file (after 3 tries):
Screen Shot 2022-06-24 at 5 16 58 PM

Precondition error:
Screen Shot 2022-06-24 at 5 55 47 PM

Other kinds of error
Screen Shot 2022-06-24 at 5 57 32 PM

Validation Passes:
Screen Shot 2022-06-24 at 5 21 55 PM

@ttanatb

ttanatb commented Jun 24, 2022

Copy link
Copy Markdown
Contributor Author

Also ran gapic/src/main/com/google/gapid/views/DeviceValidationView.java through google-java-format

withLayoutData(
createGroup(this, ""), withSpans(new GridData(SWT.FILL, SWT.TOP, true, false), 3, 1));
Text errText =
withLayoutData(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: Is this line break after assignment a java style?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

According to the Google Java style guide:
When a line is broken at an assignment operator the break typically comes after the symbol, but either way is acceptable.

I think there's nothing prohibiting withLayoutData to be on the same line as Text errText = but I ran the java formatter and this is what it produced

@ttanatb
ttanatb merged commit a9e748f into google:master Jul 26, 2022
sonakshisaxena1 pushed a commit to sonakshisaxena1/agi that referenced this pull request Aug 2, 2022
rosasco-wk pushed a commit to rosasco-wk/agi that referenced this pull request Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants