Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/render perf #64

Merged
merged 5 commits into from
Nov 13, 2017
Merged

Feature/render perf #64

merged 5 commits into from
Nov 13, 2017

Conversation

adamgruber
Copy link
Owner

This PR changes the way rendering suites is handled. Instead of observing a computed property in the store, the ReportBody now observes an array that is updated as a side effect of filtering. This accomplishes two things:

  • Toggle rendering is no longer held up by suite rendering
  • Allows for the display of a Loader while suites are being filtered

@adamgruber adamgruber merged commit 3cff3b4 into 3.0 Nov 13, 2017
@adamgruber adamgruber deleted the feature/render-perf branch November 13, 2017 21:40
adamgruber added a commit that referenced this pull request Nov 30, 2017
* Feature/trim data (#43)

* types: remove properties to match new trim data structure

* components: derive properties from update suite data structure

* lib: nicely stringify json data for saving to file

* Feature/flexbox (#46)

* nav menu: update to use flexbox

* suite: update to use flexbox

* test: update to use flexbox

* navbar/report: use flexbox, remove unnecessary width props

* quick-summary: update to use flexbox

* store: remove unused props

* update tests

* Fix lint (#49)

* Fix ESLint violations

* Fix stylelint deprecation warning

* Feature/perf (#51)

* Duration: extend from PureComponent

* Icon: convert to class and extend from PureComponent

* Test: extend from PureComponent / only render body when in expanded state

* Suite: convert to class / implement shouldComponentUpdate

* eslint: update react rules for PureComponents

* enable transform-react-constant-elements for production

* remove unnecessary looping and lodash dependency from reportStore

* Feature/functional tests (#52)

* add functional tests

* remove babel-runtime from functional tests

* add info about development

* Feature/improve options handling (#59)

* export yargs options directly

* Add saveJson option

* Replace getBaseConfig method with getMergedOptions

This incorporates options handling which was previously part of the reporter.

* Update tests

* Feature/react16 (#62)

* Update react/enzyme deps

* Simplify test scripts

* Configure adapter for Enzyme

* Update failing tests

* Feature/loader (#54)

* 2.2.2 [ci skip]

* Add ReportBody and Loader components

* Add isLoading prop and toggleIsLoading method to store

* Wire up new ReportBody component

* Fix broken test

* Feature/html option (#63)

* options: add saveHtml

* lib: implement saveHtml option

* Feature/long text (#67)

* Add test case for long suite/test title

* Fix CSS issue with test icon and long test title

* Fix test lint

* Feature/render perf (#64)

* Separate Loader into its own component

* Loader: make an observer of reportStore.isLoading

* Replace computed suites property with observable filteredSuites

- Remove the computed suites property
- Add new filteredSuites observable array
- Add updateFilteredSuites method

* ReportBody: remove loader; add reaction function; call updateFilteredSuites on mount

* Report: add Loader component

* Update deps (#68)

* Update webpack and loader deps

* Add string replace loader and add VERSION property to store

* Update postcss plugins and fix style calculations

* Update stylelint deps and rules

* Update deps

* Update cross-env and fix npm scripts

* Update test deps

* Eslint: Update deps and fix new lint issues

* Update normalize.css and remove opinionate.css

* jsdom: bump minor version

* Footer version (#69)

* Footer: display package version

* Bump version to 3.0.0

* Update documentation (#70)

* changelog: change links from releases to compare

* Update README

* changelog: update with release notes for 3.0

* Create global reference to store as marge (#71)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant