[zanata/zanata-platform] 2223da: chore(ZNTA-2119): add storybook info addon

GitHub noreply at github.com
Tue Aug 8 05:25:01 UTC 2017


  Branch: refs/heads/damason/storybook-addons-on/ZNTA-2119
  Home:   https://github.com/zanata/zanata-platform
  Commit: 2223da6dbe74f6ed0c0ea6c6ce5fd17866d5bd4c
      https://github.com/zanata/zanata-platform/commit/2223da6dbe74f6ed0c0ea6c6ce5fd17866d5bd4c
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/Button/Button.story.js
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  chore(ZNTA-2119): add storybook info addon

Includes example usage on editor <Button> component.


  Commit: 4c8fbd0db399dd36abe5d8226bffc5e35ecb92d2
      https://github.com/zanata/zanata-platform/commit/4c8fbd0db399dd36abe5d8226bffc5e35ecb92d2
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/Button/Button.story.js
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  chore(ZNTA-2119): add storybook host addon

Host addon allows positioning the element and providing a specific
size of context to display the component in, as well as a few other
decorations.


  Commit: 2367adf0d94e5a9f36ed86f288f4635d0f3792a0
      https://github.com/zanata/zanata-platform/commit/2367adf0d94e5a9f36ed86f288f4635d0f3792a0
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/.storybook-editor/addons.js
    M server/zanata-frontend/src/frontend/app/editor/components/Button/Button.story.js
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  chore(ZNTA-2119): add storybook knobs addon

Includes a button builder story that demonstrates use of the knobs
addon.


  Commit: bb2739066239cf872e6abd69f064ec840d5d88c3
      https://github.com/zanata/zanata-platform/commit/bb2739066239cf872e6abd69f064ec840d5d88c3
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/.storybook-editor/config.js
    A server/zanata-frontend/src/frontend/.storybook-editor/storyshots-editor.test.js
    A server/zanata-frontend/src/frontend/.storybook-editor/storyshots-util.js
    M server/zanata-frontend/src/frontend/.storybook-frontend/config.js
    A server/zanata-frontend/src/frontend/.storybook-frontend/storyshots-frontend.test.js
    A server/zanata-frontend/src/frontend/__mocks__/cssMock.js
    R server/zanata-frontend/src/frontend/__tests__/mock/cssMock.js
    M server/zanata-frontend/src/frontend/app/components/Icon/Icon.story.js
    M server/zanata-frontend/src/frontend/app/components/Modal/Modal.story.js
    M server/zanata-frontend/src/frontend/app/components/Notification/Notification.story.js
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/GlossarySearchInput/GlossarySearchInput.story.js
    M server/zanata-frontend/src/frontend/app/editor/components/GlossarySearchInput/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/GlossaryTerm/GlossaryTerm.story.js
    A server/zanata-frontend/src/frontend/jest.config.js
    R server/zanata-frontend/src/frontend/jest.config.json
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  chore(ZNTA-2119): add storyshots

This required several changes to jest and storybook config to have
the storyshots tests execute without errors.
It also includes some cleanup in some of the storybooks and components
that were generating errors or warnings in tests.


  Commit: ecd3f4787f569653b54c9a03ed529817395ebd19
      https://github.com/zanata/zanata-platform/commit/ecd3f4787f569653b54c9a03ed529817395ebd19
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    A server/zanata-frontend/src/frontend/.storybook-editor/__snapshots__/storyshots-editor.test.js.snap
    A server/zanata-frontend/src/frontend/.storybook-frontend/__snapshots__/storyshots-frontend.test.js.snap

  Log Message:
  -----------
  chore(ZNTA-2119): add initial component snapshots

Generated by storyshots.
Note that these are large files with snapshots for all the components
that have stories. This is not ideal, but there is a pull request in
progress for storyshots that will change this so that snapshots are
stored in the component directory, which will make more sense.
See: https://github.com/storybooks/storybook/pull/1584


  Commit: 6efa616cc1048a100bd6a09718207f6471840c43
      https://github.com/zanata/zanata-platform/commit/6efa616cc1048a100bd6a09718207f6471840c43
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    A server/zanata-frontend/src/frontend/__mocks__/mockAngularGettext.js
    R server/zanata-frontend/src/frontend/__tests__/mock/mockAngularGettext.js
    M server/zanata-frontend/src/frontend/app/editor/components/GlossarySearchInput/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/Pager/Pager.test.js
    M server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/TransUnitFilter.test.js

  Log Message:
  -----------
  chore(ZNTA-2119): clean up jest mocks


Compare: https://github.com/zanata/zanata-platform/compare/3a6e92aebd58...6efa616cc104


More information about the zanata-commits mailing list