- 21 Jan, 2020 1 commit
-
-
Robert Knight authored
Improve code style consistency by always putting the `export` keyword at the site of the var/function/class declaration where possible.
-
- 20 Jan, 2020 25 commits
-
-
Robert Knight authored
Convert remaining CommonJS modules to ES modules
-
Robert Knight authored
Following the conversion to an ES module, make `DEBOUNCE_WAIT` separate export rather than a property of the default export.
-
Robert Knight authored
These modules have default exports and are imported by CoffeeScript modules. Since we use CoffeeScript 1.x which doesn't support `import`/`export` syntax, we use destructuring to access the default export.
-
Robert Knight authored
This is necessary to support mocking the JS generated by the following CoffeeScript syntax: ``` { default: FooBar } = require("./foo-bar") ``` This will be used in CoffeeScript modules that import ES modules with default exports.
-
dependabot-preview[bot] authored
-
Robert Knight authored
Bump @sentry/browser from 5.11.0 to 5.11.1
-
dependabot-preview[bot] authored
-
Robert Knight authored
Bump terser from 4.5.1 to 4.6.3
-
Robert Knight authored
Bump sass from 1.24.4 to 1.25.0
-
Robert Knight authored
Bump core-js from 3.6.3 to 3.6.4
-
Robert Knight authored
Bump sinon from 8.0.4 to 8.1.0
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.0 to 7.8.3. - [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.8.0...v7.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.3 to 3.6.4. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.6.3...v3.6.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.601.0 to 2.606.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.601.0...v2.606.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [terser](https://github.com/terser/terser) from 4.5.1 to 4.6.3. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/compare/v4.5.1...v4.6.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.11.0 to 5.11.1. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/5.11.0...5.11.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.24.4 to 1.25.0. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.24.4...1.25.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.2 to 7.8.3. - [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.8.2...v7.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.8.0 to 7.8.3. - [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.8.0...v7.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.17.0 to 7.18.0. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.0.4 to 8.1.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md) - [Commits](https://github.com/sinonjs/sinon/compare/v8.0.4...v8.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Convert src/shared/{polyfills, test, settings.js} to ES modules
-
- 17 Jan, 2020 2 commits
-
-
Lyza Gardner authored
Add `permissions` util and remove permissions-init logic from components
-
Robert Knight authored
Convert all the modules under src/shared to ES modules except for those which: 1. Would have a default export if converted to an ES module AND 2. Are imported by a module still written in CoffeeScript in src/annotator/ For modules which meet these criteria there is some additional work required to make the tests for the CoffeeScript modules still work after the conversion.
-
- 16 Jan, 2020 12 commits
-
-
Lyza Danger Gardner authored
Migrate “modern” components away from using the `permissions` service and instead use the `permissions` util. Note: `permissions` service will hang around until the old `annotation` controller is gone fully
-
Lyza Danger Gardner authored
- Remove permissions init from `annotation`, `AnnotationOmega` - Add permissions init, via util and state, to `annotations` store module - Remove unused methods from `permissions` service
-
Lyza Danger Gardner authored
Copy functionality of `permissions` service minus `localStorage` dependency into a new util; add `isPrivate` method for convenience.
-
Lyza Gardner authored
Add an `align-items` rule to the focused-mode button
-
Lyza Gardner authored
Add `defaults` store module and `persistedDefaults` service
-
Lyza Danger Gardner authored
Add an alignment rule to CSS so that button text aligns vertical center in Firefox.
-
Lyza Danger Gardner authored
Add a new store module for managing state of client-side defaults and a new service for a) retrieving those values from where they were persisted on initialization and b) subscribing to the store to watch for changes on those defaults—and persisting those changes. Update the `permissions` service to get/set its default annotation privacy level through the store instead of directly through `localStorage`.
-
Robert Knight authored
Convert additional src/annotator/ modules to ES modules
-
Robert Knight authored
This converts all modules except those which: 1) Are written in CoffeeScript OR 2) Are written in JS AND have a default export AND are imported from a module written in CoffeeScript. This last case is a bit more complex to handle and needs a little investigation or a decision to punt it to after the CoffeeScript => JS conversion is complete
-
Robert Knight authored
Convert most modules in src/annotator to ES modules
-
Robert Knight authored
-
Robert Knight authored
In preparation for conversion to an ES module, hoist an import to the top of the file.
-