-
Notifications
You must be signed in to change notification settings - Fork 119
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
Doc Optimization #469
Doc Optimization #469
Conversation
The output looks great @patrickarlt! The build is failing in CI though... |
the build is failing because the if we don't want to bootstrap automatically on |
Codecov Report
@@ Coverage Diff @@
## master #469 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 94 94
Lines 1209 1209
Branches 219 219
=====================================
Hits 1209 1209
Continue to review full report at Codecov.
|
Fixed the build. I was having some issues related to |
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.
i'm pumped about this pull request @patrickarlt!
when you DRYed up the code in 7f58e72 you must have busted something, because the table documenting what is returned is no longer populated.
@jgravois whoops should be fixed now. |
This is great @patrickarlt! The docs will be much more user friendly. If you have time take a look at this... https://github.com/Esri/arcgis-rest-js/blob/master/docs/src/js/nav-toggle.js#L8-L12 matches both |
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.
Looks great! Two notes:
-
I didn't do a full check of all pages, but I found a few pages that didn't show the
Options
table.- /arcgis-rest-js/api/users/getUserNotifications/
- /arcgis-rest-js/api/users/getUser/
- /arcgis-rest-js/api/users/getUserInvitations/
- /arcgis-rest-js/api/feature-service/getLayer/
- /arcgis-rest-js/api/groups/getGroup/
-
This is not blocking, but UI-wise its not super clear to me that the
Options
table refers to properties of therequestOptions
param. Maybe just titling it "requestOptions
Parameters" or indenting theOptions
table slightly would work. In any case, some sort of connection would be helpful.
@noahmulfinger I added support for when we need to handle things by named reference not just by ID. This resolves almost everything in your list. However for As for the header this now says "Available |
thank you @patrickarlt for the massive DX improvement and @noahmulfinger for the shrewd feedback! |
This PR proposes some of the changes I suggested in #137 (comment).
createItem
requestOptions
requestOptions
.Then to add some more value
This makes pages like
createItem
MUCH more useful since you can now reference all the options AND the return values on 1 page mostly resolving @dbouwman's issues in #137 (comment).