- 20 Jul, 2020 6 commits
-
-
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
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Highlight state is relevant on an annotation-by-annotation basis but does not have any impact on whether an annotation is present or visible (at all) to the user, which is what `selection` state is for. At this time, remove highlight-state logic from thread-building as this is an extra complexity for something that isn't implemented in the UI anyway. In future, to re-implement highlight styling, query the `annotations` store state (perhaps add a `annotationIsHighlighted` selector for convenience).
-
Lyza Danger Gardner authored
-
- 17 Jul, 2020 7 commits
-
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Refactor the way that focus-mode configuration is represented in state and whittle down the API (selectors and actions) a little for clarity. Reduce the object depth for the focus-mode state. Use a single function to configure focus mode. Concede that user-focus is the only focus mode for now, and as such valid focus-mode configuration must contain a (valid) user object. Note: There is still some lingering inconsistency in the user identifiers provided by the LMS app. Canvas speedgrader uses app settings to configure focus mode (`js-config` object) and sets the `username` property of the `user` object to a username- formatted value (i.e. a username, no authority indicated). Non- Canvas graders do not configure focus mode via the settings, but instead dispatch RPC messages. These pass a `username` property whose value is formatted like a userId (`acct:<username>@authority>`) but it still provided via the `username` property. AFAIK, nobody/no service sends a `userid` property in the focus-mode user object, but we document that we do support it so I've left it extant until we figure this out.
-
Lyza Danger Gardner authored
- Use `Active` instead of `Focused` as it's easier to understand - Use `toggleFocusMode` instead of `setFocusModeFocused`
-
Lyza Danger Gardner authored
- Rename `enabled` to `configured`
-
Kyle Keating authored
-
Robert Knight authored
Bump lodash from 4.17.15 to 4.17.19
-
Robert Knight authored
Add a script to assist with prop-types => JSDoc conversion
-
- 16 Jul, 2020 2 commits
-
-
dependabot[bot] authored
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19) Signed-off-by: dependabot[bot] <support@github.com>
-
Lyza Danger Gardner authored
- Remove logic yanking user away from orphans tab when clearing a selection - Make sure all `selection` module actions use `setTab` when changing tab value - Simplify tab constants - Remove `sortKeysAvailable` from state and add selector instead
-
- 15 Jul, 2020 9 commits
-
-
Lyza Danger Gardner authored
- Use `createSelector` in a few places - Add utility function for creating "true-filled" maps from arrays - Rename `truthyKeys` => `trueKeys`
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Make internal `highlighted` property an object - Refactor `highlightAnnotations` action
-
Lyza Danger Gardner authored
- Rename `setCollapsed` to `setExpanded`, as that is more semantically accurate for what external users want, and refactor - Add `expandedMap` selector so users can retrieve the full map (not just truthy keys) - Update external users
-
Lyza Danger Gardner authored
- Rename adjectival form to `forcedVisible` (for variable references) - Refactor `setForce[d]Visible` action - Add selector `forcedVisibleAnnotations` - Do not access store state directly for `forcedVisible
-
Lyza Danger Gardner authored
Use utility function to derive "truthy" keys in internal maps
-
Lyza Danger Gardner authored
- Rename internal property, make it always an object (never null) - Add selector `selectedAnnotations` - Update external modules to use `selectedAnnotations` instead of `getSelectedAnnotationMap` because it is more semantic - Remove `getSelectedAnnotationMap` selector - Refactor and clean up `toggleAnnotations` action - Refactor and clean up `selectAnnotations` action
-
Lyza Danger Gardner authored
- Make internals of store state more consistent - Prevent duplicate entries - Allow for potential explicit `false` entries
-
Robert Knight authored
-
- 14 Jul, 2020 7 commits
-
-
Kyle Keating authored
-
Robert Knight authored
Bump whatwg-fetch from 3.1.0 to 3.2.0
-
Robert Knight authored
Bump puppeteer from 5.0.0 to 5.1.0
-
Robert Knight authored
Bump @sentry/browser from 5.19.0 to 5.19.1
-
Robert Knight authored
Bump autoprefixer from 9.8.4 to 9.8.5
-
Robert Knight authored
Bump katex from 0.11.1 to 0.12.0
-
Robert Knight authored
Bump sass from 1.26.9 to 1.26.10
-
- 13 Jul, 2020 9 commits
-
-
dependabot-preview[bot] authored
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.4 to 9.8.5. - [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.8.4...9.8.5) 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.706.0 to 2.713.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.706.0...v2.713.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.3 to 7.10.4. - [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.4/packages/babel-preset-env) 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.20.1 to 7.20.3. - [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.20.1...v7.20.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.19.0 to 5.19.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.19.0...5.19.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.0.0 to 5.1.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Commits](https://github.com/puppeteer/puppeteer/compare/v5.0.0...v5.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [whatwg-fetch](https://github.com/github/fetch) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/github/fetch/releases) - [Commits](https://github.com/github/fetch/compare/v3.1.0...v3.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.11.1 to 0.12.0. - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/master/CHANGELOG.md) - [Commits](https://github.com/KaTeX/KaTeX/compare/v0.11.1...v0.12.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-