- 04 Jun, 2019 1 commit
-
-
Hannah Stepanek authored
- Use now variable instead of walking the clock. - Use iso format instead of seconds. - Pass a Date object instead of an iso format to time.<methods>so the methods off the Date object can be mocked in order to avoid timezone specific tests. Since methods like getFullYear output the year in whatever timezone the operating system is set to, these methods must be mocked/mapped to their UTC equivalents when testing such as getUTCFullYear. - Remove offseting of time based on timezone as this is now covered by mocking the getFullYear method and not needed for the decayInterval as that only cares about time deltas.
-
- 23 Apr, 2019 3 commits
-
-
Robert Knight authored
A notable change is that the current time used to generate the relative timestamp is now stored as an explicit piece of state, rather than implicitly using the current time when calling `toFuzzyString`. This provides a clean way to trigger a re-render of timestamp periodically: an effect updates the "now" time, and that triggers a recalculation of the timestamp. The tests have also been revised to better capture the user-facing behavior of the component.
-
Robert Knight authored
Introduce a new approach to mocking modules in tests
-
Robert Knight authored
Remove fragment anchoring support
-
- 22 Apr, 2019 16 commits
-
-
Robert Knight authored
Bump @octokit/rest from 16.24.1 to 16.25.0
-
Robert Knight authored
Bump mocha from 6.1.3 to 6.1.4
-
Robert Knight authored
Bump sinon from 7.3.1 to 7.3.2
-
Robert Knight authored
Bump karma from 4.0.1 to 4.1.0
-
Robert Knight authored
Bump gulp from 4.0.0 to 4.0.1
-
Robert Knight authored
Bump babel-plugin-istanbul from 5.1.1 to 5.1.2
-
Robert Knight authored
Bump enzyme-adapter-preact-pure from 1.12.0 to 1.13.0
-
Robert Knight authored
Bump preact from 10.0.0-alpha.4 to 10.0.0-beta.0
-
dependabot[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 4.0.1 to 4.1.0. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v4.0.1...v4.1.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [enzyme-adapter-preact-pure](https://github.com/preactjs/enzyme-adapter-preact-pure) from 1.12.0 to 1.13.0. - [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/v1.12.0...v1.13.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 16.24.1 to 16.25.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v16.24.1...v16.25.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [sinon](https://github.com/sinonjs/sinon) from 7.3.1 to 7.3.2. - [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/v7.3.1...v7.3.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/istanbuljs/babel-plugin-istanbul/releases) - [Changelog](https://github.com/istanbuljs/babel-plugin-istanbul/blob/master/CHANGELOG.md) - [Commits](https://github.com/istanbuljs/babel-plugin-istanbul/compare/v5.1.1...v5.1.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [gulp](https://github.com/gulpjs/gulp) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/gulpjs/gulp/releases) - [Changelog](https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md) - [Commits](https://github.com/gulpjs/gulp/compare/v4.0.0...v4.0.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [preact](https://github.com/developit/preact) from 10.0.0-alpha.4 to 10.0.0-beta.0. - [Release notes](https://github.com/developit/preact/releases) - [Commits](https://github.com/developit/preact/compare/10.0.0-alpha.4...10.0.0-beta.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [mocha](https://github.com/mochajs/mocha) from 6.1.3 to 6.1.4. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.1.3...v6.1.4) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
- 20 Apr, 2019 8 commits
-
-
Hannah Stepanek authored
Handle illegal group link states
-
Hannah Stepanek authored
-
Hannah Stepanek authored
-
Hannah Stepanek authored
-
Hannah Stepanek authored
Previously the visibleThreadList state in thread-list did not get calculated in onInit because the method that did so was subscribed to after the 'changed' event was emitted. This issue was resolved by calling the method to calculate the state explicitly in onInit and only subscribing the event handler for changes that may occur after init.
-
Hannah Stepanek authored
-
Hannah Stepanek authored
-
Hannah Stepanek authored
-
- 19 Apr, 2019 1 commit
-
-
Robert Knight authored
Add sidebar-content-error react component
-
- 18 Apr, 2019 2 commits
-
-
Hannah Stepanek authored
-
Robert Knight authored
dom-anchor-fragment is shipped as a UMD module which causes problems on pages that declare a global function called `define` (see #479). While we could fix the module, fragment anchoring is not very useful at the moment. The client primarily anchors to the quote and uses other anchors only as an optimization. The Wikipedia baseline tests changed in this PR show how little value a fragment has on real websites. Therefore, just remove support for generating and using fragment selectors. This change should not cause anchoring regressions, as anchoring would only have succeeded previously if the quote selector matched. Now it will just fall through to anchoring using the range, position or quote selectors instead. Fixes #479
-
- 17 Apr, 2019 2 commits
-
-
Hannah Stepanek authored
Make group selectors more efficient
-
Robert Knight authored
Ensure that selectors for getting the "My groups", "Currently viewing groups" and "Featured groups" lists only recompute when the groups state changes. Previously they would have recomputed when _any_ part of the state changed. More generally, we should be using `createSelector` rather than `memoize` whenever we have a place in the app that needs to extract a subset of data from some larger structure and derive some data from that.
-
- 15 Apr, 2019 7 commits
-
-
Robert Knight authored
Bump @octokit/rest from 16.23.2 to 16.24.1
-
Robert Knight authored
Bump mocha from 6.1.2 to 6.1.3
-
Robert Knight authored
Bump prettier from 1.16.4 to 1.17.0
-
Robert Knight authored
Bump jquery from 3.3.1 to 3.4.0
-
Robert Knight authored
Bump enzyme-adapter-preact-pure from 1.10.4 to 1.12.0
-
dependabot[bot] authored
Bumps [enzyme-adapter-preact-pure](https://github.com/preactjs/enzyme-adapter-preact-pure) from 1.10.4 to 1.12.0. - [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/v1.10.4...v1.12.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.4.0. - [Release notes](https://github.com/jquery/jquery/releases) - [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.4.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-