- 20 Jan, 2020 4 commits
-
-
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
-
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>
-
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 22 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.
-
Robert Knight authored
-
Robert Knight authored
This module has no tests :(
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
These were not converted in the previous commit as they were not top-level statements in the file.
-
Robert Knight authored
-
Robert Knight authored
Convert text highlighter to JS
-
Robert Knight authored
-
Robert Knight authored
Convert src/boot to ES modules
-
- 15 Jan, 2020 4 commits
-
-
Robert Knight authored
- Add missing parameter / return type docs - Update a Chrome bug tracker issue link
-
Robert Knight authored
Remove the highlighter implementation abstraction layer in src/annotator/highlighter since only one type of highlighter was ever implemented and convert the one implementation in src/annotator/highlighter/dom-wrap-highlighter/index.coffee to JS as src/annotator/highlighter.js.
-
Robert Knight authored
-
Robert Knight authored
Convert remaining sidebar files to ES modules
-
- 14 Jan, 2020 8 commits
-
-
Robert Knight authored
Use the convert-to-es-modules script to convert the remaining CommonJS/Node module files in src/sidebar/ to ES modules.
-
Lyza Gardner authored
Convert src/sidebar/directives to ES modules
-
Robert Knight authored
This directory is likely to go away soon as part of the Angular => Preact migration. Nevertheless, I used the convert-to-es-modules script on it to convert to ES modules so we can complete that migration first.
-
Robert Knight authored
This is mostly to make it easier for the convert-to-es-modules script to preserve comments when these modules are converted to ES modules. However it may also be useful for debugging.
-
Robert Knight authored
Convert src/sidebar/store to ES modules
-
Robert Knight authored
This import should be hoisted to the top level of the module but a naive change to do this did not work. I suspect this relates to the circular nature of the import, but it needs investigating. This change enables the code to continue working until then.
-
Robert Knight authored
`$imports` is now a separate named export rather than a property of the default export.
-
Robert Knight authored
After converting the module under test to an ES module the mocked functions are now properties of the default export rather than named exports.
-