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

only show inner methods when class is active #744

Merged

Conversation

stephenplusplus
Copy link
Contributor

Fixes #675

This will hide the sub-classes of a parent class (BigQuery, Datastore, etc) until it is active.

Preview: http://stephenplusplus.github.io/gcloud-node/#/docs/

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 25, 2015
@stephenplusplus stephenplusplus force-pushed the spp--docs-collapsible-nav branch 2 times, most recently from 30d78df to ff3430e Compare July 25, 2015 18:32
@@ -84,7 +84,7 @@ <h4 class="list-item--heading">API</h4>
ng-href="{{page.url}}">
{{page.title}}
</a>
<ul class="sub-sections" ng-if="page.pages">
<ul class="sub-sections" ng-if="page.pages" ng-show="isActiveClass(page)">

This comment was marked as spam.

This comment was marked as spam.

@callmehiphop
Copy link
Contributor

Do we want to add an arrow or something to indicate that the items are expandable?

@stephenplusplus
Copy link
Contributor Author

Only using the ng-if now, and I also started caching the last built date we were pulling from GH constantly. This stops the page from skipping on every new page load, and should help us from burning out the API rate limit as well.

@stephenplusplus
Copy link
Contributor Author

Do we want to add an arrow or something to indicate that the items are expandable?

I think this would send the wrong message, UX wise. With an arrow, the impression is a menu will be expanded, but another page won't load. To go the expand/collapse route, it would force these :( changes:

  1. Add a new menu item under each class, likely with the same title:
    • gcloud
    • ▿ BigQuery
      • BigQuery (will go where clicking "BigQuery" currently takes you)
      • Dataset
      • Job
      • Table
    • ▹ Datastore
    • ▹ PubSub
    • ▹ Search
    • ▹ Storage
  2. It would take 2 clicks to get to the place that currently only takes one.

@stephenplusplus
Copy link
Contributor Author

@jgeewax let me know if this is what you had in mind: http://stephenplusplus.github.io/gcloud-node/#/docs/v0.16.0

@jgeewax
Copy link
Contributor

jgeewax commented Jul 27, 2015 via email

callmehiphop added a commit that referenced this pull request Jul 27, 2015
only show inner methods when class is active
@callmehiphop callmehiphop merged commit 039c340 into googleapis:master Jul 27, 2015
@callmehiphop
Copy link
Contributor

👍

sofisl pushed a commit that referenced this pull request Nov 10, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`^11.0.0` -> `^12.0.0`](https://renovatebot.com/diffs/npm/sinon/11.1.2/12.0.1) | [![age](https://badges.renovateapi.com/packages/npm/sinon/12.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/sinon/12.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/sinon/12.0.1/compatibility-slim/11.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/sinon/12.0.1/confidence-slim/11.1.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sinonjs/sinon</summary>

### [`v12.0.1`](https://togithub.com/sinonjs/sinon/blob/master/CHANGES.md#&#8203;1201)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v12.0.0...v12.0.1)

-   [`3f598221`](https://togithub.com/sinonjs/sinon/commit/3f598221045904681f2b3b3ba1df617ed5e230e3)
    Fix issue with npm unlink for npm version > 6 (Carl-Erik Kopseng)
    > 'npm unlink' would implicitly unlink the current dir
    > until version 7, which requires an argument
-   [`51417a38`](https://togithub.com/sinonjs/sinon/commit/51417a38111eeeb7cd14338bfb762cc2df487e1b)
    Fix bundling of cjs module ([#&#8203;2412](https://togithub.com/sinonjs/sinon/issues/2412)) (Julian Grinblat)
    > -   Fix bundling of cjs module
    >
    > -   Run prettier

*Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2021-11-04.*

#### 12.0.0

### [`v12.0.0`](https://togithub.com/sinonjs/sinon/compare/v11.1.2...v12.0.0)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v11.1.2...v12.0.0)

</details>

---

### Configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-translate).
sofisl pushed a commit that referenced this pull request Nov 17, 2022
sofisl pushed a commit that referenced this pull request Jan 10, 2023
* chore(deps): update dependency uuid to v9

* test: fix samples test

Co-authored-by: Alexander Fenster <github@fenster.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants