Skip to content

Conversation

@yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Nov 7, 2016

I added docs in most places. A few members were converted to private.

Fixes #5883

/cc @Hixie

Copy link
Contributor

Choose a reason for hiding this comment

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

Are there conventions for how to format this string? e.g. capitalisation, punctuation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

Choose a reason for hiding this comment

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

Human-readable, or machine-readable, or debugging aid only?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Humans-only. Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably gives some pointers here.

Also even package-private classes should have some docs so other package authors can figure it out. :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Needs more detail. Any time you feel tempted to write docs that could have been written by someone who knew nothing other than the fully-qualified name of the identifier, you need more detail. :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

This should document the shape of the returned JSON object

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

grammar is dubious in this sentence

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Anywhere where you currently say "Deserializes this command from JSON.", you should either describe the expected shape of the JSON input, or point to the API that generates the expected JSON in the first place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done (pointed to the corresponding serialize methods).

Copy link
Contributor

Choose a reason for hiding this comment

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

Should probably elaborate on what "submit" means.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

here and below, you should talk about the JSON shape or point to the encoder

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The link to the format is on the class` dartdoc, but I moved it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

this should probably point to [Timeline].

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@Hixie
Copy link
Contributor

Hixie commented Nov 7, 2016

This is great!

@Hixie
Copy link
Contributor

Hixie commented Nov 7, 2016

LGTM

@yjbanov yjbanov force-pushed the driver-docs branch 2 times, most recently from 6c908ab to 174c7a0 Compare November 8, 2016 22:00
@yjbanov yjbanov merged commit 0cd6982 into flutter:master Nov 8, 2016
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2018
flutter/engine@3374f4c...fb5b097

git log 3374f4c..fb5b097 --no-merges --oneline
fb5b097 Revert "Roll freetype2 to a10b062df0c8958d69377aa04ea6554a9961a111 (flutter#6738)" (flutter/engine#6763)
4fd2d14 Roll src/third_party/skia 5b2bda70e52f..11407e56f277 (1 commits) (flutter/engine#6762)
fa4c01e Add an Info.plist flag to enable the embedded iOS views preview. (flutter/engine#6756)
ded297f Roll src/third_party/skia df8225e253a2..5b2bda70e52f (5 commits) (flutter/engine#6761)
f0380b3 Roll src/third_party/skia 32262da42bed..df8225e253a2 (10 commits) (flutter/engine#6755)
124f20f Clear the on-screen surface every frame. (flutter/engine#6753)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
goderbauer pushed a commit that referenced this pull request Nov 6, 2018
flutter/engine@3374f4c...fb5b097

git log 3374f4c..fb5b097 --no-merges --oneline
fb5b097 Revert "Roll freetype2 to a10b062df0c8958d69377aa04ea6554a9961a111 (#6738)" (flutter/engine#6763)
4fd2d14 Roll src/third_party/skia 5b2bda70e52f..11407e56f277 (1 commits) (flutter/engine#6762)
fa4c01e Add an Info.plist flag to enable the embedded iOS views preview. (flutter/engine#6756)
ded297f Roll src/third_party/skia df8225e253a2..5b2bda70e52f (5 commits) (flutter/engine#6761)
f0380b3 Roll src/third_party/skia 32262da42bed..df8225e253a2 (10 commits) (flutter/engine#6755)
124f20f Clear the on-screen surface every frame. (flutter/engine#6753)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter_driver docs

2 participants