- 25 Mar, 2019 2 commits
-
-
Robert Knight authored
Bump @babel/core from 7.3.4 to 7.4.0
-
dependabot[bot] authored
Bumps [@babel/core](https://github.com/babel/babel) from 7.3.4 to 7.4.0. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.3.4...v7.4.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
- 19 Mar, 2019 1 commit
-
-
Robert Knight authored
Bump @octokit/rest from 16.17.0 to 16.19.0
-
- 18 Mar, 2019 13 commits
-
-
Robert Knight authored
Bump angular from 1.7.7 to 1.7.8
-
Robert Knight authored
Bump autoprefixer from 9.4.10 to 9.5.0
-
Robert Knight authored
Bump eslint from 5.15.1 to 5.15.2
-
dependabot[bot] authored
Bumps [angular](https://github.com/angular/angular.js) from 1.7.7 to 1.7.8. - [Release notes](https://github.com/angular/angular.js/releases) - [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular.js/compare/v1.7.7...v1.7.8) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
Robert Knight authored
Bump scroll-into-view from 1.9.3 to 1.9.4
-
Robert Knight authored
Bump angular-route from 1.7.7 to 1.7.8
-
Robert Knight authored
Bump angular-mocks from 1.7.7 to 1.7.8
-
dependabot[bot] authored
Bumps [angular-route](https://github.com/angular/angular.js) from 1.7.7 to 1.7.8. - [Release notes](https://github.com/angular/angular.js/releases) - [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular.js/compare/v1.7.7...v1.7.8) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [scroll-into-view](https://github.com/KoryNunn/scroll-into-view) from 1.9.3 to 1.9.4. - [Release notes](https://github.com/KoryNunn/scroll-into-view/releases) - [Commits](https://github.com/KoryNunn/scroll-into-view/commits) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [angular-mocks](https://github.com/angular/angular.js) from 1.7.7 to 1.7.8. - [Release notes](https://github.com/angular/angular.js/releases) - [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular.js/compare/v1.7.7...v1.7.8) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 16.17.0 to 16.19.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v16.17.0...v16.19.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.4.10 to 9.5.0. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/9.4.10...9.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 5.15.1 to 5.15.2. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v5.15.1...v5.15.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
- 15 Mar, 2019 3 commits
-
-
Hannah Stepanek authored
Add Currently Viewing, Featured, & My Groups sections to group drop down
-
Robert Knight authored
Replace $http with fetch in api service
-
Robert Knight authored
- Use `null` to indicate requests that fail in `expectCall` rather than 0/-1. - Use 200 as the response from `POST /api/annotations` in tests to match the real response code from h.
-
- 14 Mar, 2019 9 commits
-
-
Hannah Stepanek authored
-
dwolfe authored
* Add Currently Viewing, Featured Groups and My Groups sections * Remove leave group icon * Remove view group page link as there is no room for it in the UI and user’s are often clicking it accidentally. * Remove ability to select groups that are not scoped to the page.
-
Hannah Stepanek authored
-
dwolfe authored
Simplify selector list items Add active styles for toggle and list items Only apply active background to group selector toggle Refine dropdown toggle styles
-
Hannah Stepanek authored
-
dwolfe authored
-
Robert Knight authored
This was missed in 11ac0e25.
-
Robert Knight authored
-
Robert Knight authored
`fetch` may reject if executing the request fails, eg. due to a network-level error. Make sure that `store.apiRequestFinished` is called in this case and modify an existing test to simulate this behavior correctly. Also make some minor comment improvements.
-
- 13 Mar, 2019 7 commits
-
-
Robert Knight authored
This header allows the h web service to associate API requests with WebSocket clients, and thus avoid sending clients notifications about their own actions. This used to be set as a global header on all requests made with the `$http` service. Re-implement this header but only for API requests.
-
Robert Knight authored
Modify the Hypothesis API client to use `fetch` instead of $http. There is one change to the interface of the "api" service which is that failures no longer set a `response` property on the `Error` instance. This functionality was not being used elsewhere in the client.
-
Robert Knight authored
Move API activity state to store
-
Robert Knight authored
Replace $http with fetch in api-routes service
-
Robert Knight authored
Call `store.apiRequestStarted` and `store.apiRequestFinished` methods when API requests start and finish. This causes the loading spinner to correctly indicate whether API requests are in progress.
-
Robert Knight authored
Reflect the loading state of the app reported by `store.isLoading()` in the bar at the top of the UI, instead of querying `$http.pendingRequests`. This is part of the migration the Hypothesis API client away from AngularJS's $http to `fetch`.
-
Robert Knight authored
As part of the move away from AngularJS, we need to replace the current logic in the `<search-input>` component for determining whether any activity is happening in the app that should result in a loading indicator being shown. This commit adds a module to the store that holds activity-related state which can be used when rendering the UI.
-
- 12 Mar, 2019 5 commits
-
-
dwolfe authored
-
Robert Knight authored
As part of the migration away from AngularJS, replace use of the `$http` service with `fetch` when fetching API route information from the `/api/` route. This is part of #974.
-
Robert Knight authored
Replace $http with fetch in OAuthClient
-
Robert Knight authored
Fix Google Analytics event reporting
-
Robert Knight authored
Fix a race condition where events would not be reported if the analytics service was instantiated before Google Analytics had fully loaded. The main interface to Google Analytics, `window.ga`, is initially a simple function which just records commands in a buffer. When analytics.js loads it sends the buffered events and replaces `window.ga` with a function that sends new events immediately. The analytics service captured the value of `window.ga` at the time it was instantiated and did not use the replacement after GA loaded. As a result tracked events were just stored in a buffer and never send to GA. Fix this by removing the `GoogleAnalytics` wrapper class and always invoking the _current_ `window.ga` function. Also update the documentation of the service's methods and add pointers to relevant Google Analytics docs. Fixes #976
-