question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update Google API client library to latest version that uses Idea Hub Beta API

See original GitHub issue

The plugin is currently connecting to the v1alpha version of the Idea Hub API. Before launch though, we should switch to the v1beta version which is supposed to be published soon. To do that, we’ll need to update the Google API client services library to a version where that is updated.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • The Google API client services library should be updated to at least v0.213.0.
  • There should be no changes to the Idea Hub API other than the URL changing to “v1beta”, plus the following:
    • The Idea Hub module should now also generally require a new https://www.googleapis.com/auth/ideahub.full OAuth scope, in addition to the existing *.readonly scope.

Implementation Brief

The API library version mentioned in the ACs isn’t released yet as of Wednesday, September 15, and it will most likely be released on Sunday, September 19. Let’s already move this issue to Execution Backlog, but engineering will be blocked until the library version release. Please check here to see if the release is out.

  • Update the Google API client services library to the latest version which should be at least v0.213.0 or greater.
  • Verify that the Idea Hub service in the newest version has idea activities functionality.
  • Verify that idea activities implemented in the Idea Hub class work with the newest version.

Test Coverage

  • N/A

Visual Regression Changes

  • N/A

QA Brief

  • Make sure all the idea hub functionalities work as expected and doesn’t throw any error (In UI or Console).

Changelog entry

  • Update Idea Hub API to use v1 beta.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
johnPhillipscommented, Sep 21, 2021

QA:eng

  • Tested the IH dashboard widget and all actions work as expected
  • Drafts created correctly, ideas pinned, unpinned and deleted correctly
  • No console errors in the above.

Assigning @wpdarren for a proper QA sweep.

0reactions
wpdarrencommented, Sep 21, 2021

QA Update: ✅

We will be completing E2E on Friday but I ran some sanity checks:

  • Could set up Idea Hub and confirmed the feature tour appears
  • Dismissed an idea and it was removed from the new ideas tab
  • Saved an idea and it appeared in the saved tab
  • Started a draft and it appeared in the drafts tab
  • Went to the posts screen and the feature tour appeared for the idea hub draft
  • Refreshed the Idea hub widget to make sure the same data appears.
  • Clicked through the tabs. Used pagination to move through pages.
  • Unsaved ideas and they went back to new ideas.
  • View draft link took me to the post editor.
  • Deleted drafts in posts and they went back to new ideas.
  • Correct number of ideas appeared in appropriate tabs. No number appears when zero results.
  • No errors appeared in the console when going through these actions.

Looking good! 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Supported Google APIs | API Client Library for .NET
To get started with the .NET client library, find the API you want to use and click the desired version number: APIs. AI...
Read more >
api - Go Packages
Package api is the root of the packages used to access Google Cloud Services. See https://godoc.org/google.golang.org/api for a full list of sub-packages.
Read more >
google-cloud - Hex.pm
Ad Exchange Buyer API II client library. Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction ...
Read more >
Client Libraries | Service Infrastructure Documentation
These autogenerated Google API Client Libraries are useful for calling the Service Management API. When you use these libraries, your apps benefit from ......
Read more >
googleapis_beta 5.0.0 | Dart Package - Pub.dev
Auto-generated client libraries for accessing Google APIs described through the API discovery service. More... Readme; Changelog · Installing · Versions ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found