[zanata/zanata-platform] 53c1e1: feat(ZNTA-1927): add settings panel with enter key...

GitHub noreply at github.com
Fri Sep 15 07:52:43 UTC 2017


  Branch: refs/heads/damason/settings/ZNTA-1927
  Home:   https://github.com/zanata/zanata-platform
  Commit: 53c1e105608242d3f8ef1d4633ff8d6acb8026ea
      https://github.com/zanata/zanata-platform/commit/53c1e105608242d3f8ef1d4633ff8d6acb8026ea
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/.babelrc
    A server/zanata-frontend/src/frontend/.flowconfig
    M server/zanata-frontend/src/frontend/app/editor/actions/action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/header-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/header-actions.js
    M server/zanata-frontend/src/frontend/app/editor/actions/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/Pager/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/SettingOption/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/SettingsOptions/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js
    M server/zanata-frontend/src/frontend/app/editor/containers/KeyShortcutCheatSheet/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/KeyShortcutDispatcher.js
    M server/zanata-frontend/src/frontend/app/editor/containers/Root/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/Sidebar/index.css
    M server/zanata-frontend/src/frontend/app/editor/containers/Sidebar/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/SidebarContent.js
    M server/zanata-frontend/src/frontend/app/editor/containers/SidebarSettings.js
    A server/zanata-frontend/src/frontend/app/editor/containers/TranslationInfoPanel/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/settings-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/settings-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/ui-reducer.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/addon-actions_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/addon-info_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/addon-knobs_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/addon-storyshots_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/addons_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/channels_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/@storybook/react_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/autoprefixer-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-core_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-eslint_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-jest_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-plugin-lodash_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-plugin-react-intl_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-polyfill_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-preset-es2015_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-preset-flow_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-preset-react-hmre_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-preset-react_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/babel-preset-stage-0_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/chart.js_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/classnames_v2.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/cli-color_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/combokeys_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/css-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/csso-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/defined_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-config-standard-react_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-config-standard_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-config-zanata_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-plugin-no-console-log_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-plugin-promise_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-plugin-react_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint-plugin-standard_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/eslint_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/extract-text-webpack-plugin_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/fake-zanata-server_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/faucet_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/file-saver_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/flow-bin_v0.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/fs-extra_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/history_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/immutability-helper_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/intl_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/isomorphic-fetch_v2.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/jest-cli_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/jest_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/js-beautify_v1.6.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/less-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/less_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/lodash_v4.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/moment-range_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/moment_v2.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/normalize.css_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/normalizr_v2.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-bem-linter_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-calc_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-color-function_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-css-variables_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-custom-media_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-custom-properties_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-esplit_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-import_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-npm_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/postcss-vars_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/prop-types_v15.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-autosuggest_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-bootstrap_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-chartjs-2_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-date-range_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-draggable_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-helmet_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-intl_v2.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-list_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-loading_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-lorem-component_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-overlays_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-redux_v5.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-router-redux_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-router_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-select_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-sidebar_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-sortable-hoc_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-split-pane_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-styleguidist_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-test-renderer_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-textarea-autosize_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/react-transform-hmr_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux-actions_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux-api-middleware_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux-logger_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux-sac_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux-thunk_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux-watch_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/redux_v3.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/reselect_v3.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/storybook-host_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/style-loader_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-components-button-group_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-components-button_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-components-grid_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-utils-display_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-utils-layout_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-utils-position_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-utils-size_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/suitcss-utils-text_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/svg-sprite_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/text-diff_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/webfontloader_v1.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/webpack-dev-server_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/webpack-merge_vx.x.x.js
    A server/zanata-frontend/src/frontend/flow-typed/npm/webpack_vx.x.x.js
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  feat(ZNTA-1927): add settings panel with enter key setting option

Also enables Flow for type-checking (since there were several changes
that were a pain to keep track of without it), and refactors some of
the files I needed to work with - closer to the ideal structure the
app should be using.


  Commit: 7bf3b19e83a8fb8a59fc1c458be4cf132563a2c3
      https://github.com/zanata/zanata-platform/commit/7bf3b19e83a8fb8a59fc1c458be4cf132563a2c3
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/GlossarySearchInput/index.js

  Log Message:
  -----------
  fix(editor): prevent error when GlossarySearchInput is not yet bound

This was a subtle bug, triggered when switching between different
fix(editor): prevent error when GlossarySearchInput is not yet bound


Compare: https://github.com/zanata/zanata-platform/compare/c88925de3a13...7bf3b19e83a8


More information about the zanata-commits mailing list