- 23 Jul, 2020 6 commits
-
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Add tests for `useRootThread`, using `threadAnnotations`
-
Lyza Danger Gardner authored
This functionality is now handled by a util
-
Lyza Danger Gardner authored
* Establish a `root-thread` utility that is pure and takes its state as a single argument; wrap with `memoize` and export * Create a memoized rootSelector in the `selection` module that composes the state needed by the `root-thead` utility * The `useRootThread` hook uses the selector and the `root-thread` util
-
Lyza Danger Gardner authored
Refactor root-thread usage by UI components to be via a preact hook
-
- 22 Jul, 2020 2 commits
-
-
Kyle Keating authored
- TagList - TagEditor - MarkdownEditor - Excerpt - AutocompleteList - AnnotationBody
-
Kyle Keating authored
Add SidebarStore type. This is an aggregation of the base ReduxStore + each one of our stores baked in. The fist store added here is simply the Activity store (as a first example) There are some assumptions when making store types: 1. It is assumed they are transformed in `createStore` where the selectors and actions are flattened. 2. Some meta data (namely, the init method, namespace and update method) are refactored or removed. These transformations are implied through the typing which explicitly ignores these methods and structure of the raw store before the transformation in create-store.
-
- 21 Jul, 2020 17 commits
-
-
Robert Knight authored
Bump codecov from 3.7.0 to 3.7.1
-
Robert Knight authored
Convert store selectors to receive local rather than root state
-
Robert Knight authored
Since selectors are attached to the `store` as methods, selectors from different modules are not allowed to have the same name.
-
Robert Knight authored
Make a clear distinction from variables which hold module-local state, called `state` elsewhere in the file.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
dependabot[bot] authored
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.0 to 3.7.1. - [Release notes](https://github.com/codecov/codecov-node/releases) - [Commits](https://github.com/codecov/codecov-node/compare/v3.7.0...v3.7.1) Signed-off-by: dependabot[bot] <support@github.com>
-
Robert Knight authored
Change store module selectors to receive the module's local state rather than the global/root state as the first argument. The majority of selectors only need access to the module's local state. Changing these selectors to receive the local rather than root state has benefits: - It avoids the need for the selectors to know about the structure of the root state. This can make future refactorings and re-use easier. - It is consistent with how state is accessed in the reducer functions - It will simplify typing selectors because the type of the `state` argument will be the same as the type of `state` returned by `init` and passed to `update` functions - It potentially enables automatic memoization of selectors based on the local state. ie. If the local state for a module has not changed as a result of an action, then none of the local selectors will need to be recomputed There are a small number of selectors that need access to state from multple modules. In future we may want to move these to some separate location but, as an incremental step, add support for "root selectors" to modules under a `rootSelectors` key. These selectors will still receive the root state as their first argument as before. This commit also adds missing tests for the `annotationExists` selector and the `route` module. See also https://hypothes-is.slack.com/archives/C1M8NH76X/p1595237570226700.
-
Robert Knight authored
Bump @sentry/browser from 5.19.1 to 5.19.2
-
Robert Knight authored
Bump fetch-mock from 9.10.3 to 9.10.4
-
Robert Knight authored
Bump preact from 10.4.5 to 10.4.6
-
Robert Knight authored
Bump typescript from 3.9.6 to 3.9.7
-
Robert Knight authored
[Security] Bump codecov from 3.7.0 to 3.7.1
-
- 20 Jul, 2020 15 commits
-
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.19.1 to 5.19.2. - [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.19.1...5.19.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.0 to 18.0.1. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.0.0...v18.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.0. - [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/v7.4.0...v7.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.713.0 to 2.715.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.713.0...v2.715.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [preact](https://github.com/preactjs/preact) from 10.4.5 to 10.4.6. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.4.5...10.4.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [enzyme-adapter-preact-pure](https://github.com/preactjs/enzyme-adapter-preact-pure) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/preactjs/enzyme-adapter-preact-pure/releases) - [Changelog](https://github.com/preactjs/enzyme-adapter-preact-pure/blob/master/CHANGELOG.md) - [Commits](https://github.com/preactjs/enzyme-adapter-preact-pure/compare/v2.2.0...v2.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [fetch-mock](https://github.com/wheresrhys/fetch-mock) from 9.10.3 to 9.10.4. - [Release notes](https://github.com/wheresrhys/fetch-mock/releases) - [Commits](https://github.com/wheresrhys/fetch-mock/compare/v9.10.3...v9.10.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.0 to 3.7.1. **This update includes a security fix.** - [Release notes](https://github.com/codecov/codecov-node/releases) - [Commits](https://github.com/codecov/codecov-node/compare/v3.7.0...v3.7.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Kyle Keating authored
-
Robert Knight authored
Refactor store annotations tests to use public store API
-
Lyza Danger Gardner authored
Do not render the only-me icon while an annotation is being edited, as the user can switch privacy settings in the editing mode, and those changes could be at odds with "only me."
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-