Commit Graph
11390 Commits
Author SHA1 Message Date
Paul Kaplan 5637e09890 Merge pull request #569 from paulkaplan/shrink-default-zoom
Change default block zoom to 0.675 from 0.75
2017-07-26 16:29:59 -04:00
Paul Kaplan f93f768e7b Change default block zoom to 0.675 from 0.75 2017-07-26 15:55:46 -04:00
Paul Kaplan cecccee8fb Merge pull request #566 from paulkaplan/sound-ids
Use sound ID coming back from decodeSound
2017-07-26 09:00:16 -04:00
chrisgarrity fcc0f904b7 Merge pull request #558 from chrisgarrity/gh557-clean-up-build
localeData cleanup
2017-07-26 08:50:06 -04:00
Ken e9340697f2 Fix color conflict
the background was white and the font color was too - I changed it to be black instead
2017-07-26 11:47:18 +08:00
Paul Kaplan 8988d848f2 Make sound editor work also 2017-07-25 12:56:20 -04:00
Paul Kaplan 16c3248211 Use soundId coming back from decodeSound 2017-07-25 12:12:34 -04:00
Paul Kaplan 747924ae2a Merge pull request #541 from paulkaplan/sound-editor-initial
Initial sound editor area with playback and renaming
2017-07-24 15:02:42 -04:00
Paul Kaplan a3ad670108 Prevent rendering sound editor for non-existant sounds 2017-07-24 08:51:26 -04:00
Ken 44fa175d51 Replaced file with correct version 2017-07-24 12:44:44 +08:00
Ken 5b571b1460 Replacing file 2017-07-24 12:44:21 +08:00
chrisgarrity 0fe9a7ba45 localeData cleanup
move all locale data (react-intl/locale-data and gui messages) into locale.js. This also makes switching to an external node package easier because the package just needs to export the same thing as locale.js.
2017-07-21 13:02:49 -04:00
Paul Kaplan c9565f01ca Fix input prop handling 2017-07-21 10:08:33 -04:00
Paul Kaplan a5587a9258 Add tests for audio utils 2017-07-21 10:08:33 -04:00
Paul Kaplan 8e362e5528 Fix for eslint rules 2017-07-21 10:08:33 -04:00
Paul Kaplan 8288e9306c Refactor forms to use dumb styled components and HOCs 2017-07-21 10:08:33 -04:00
Paul Kaplan 1f7c6ad0d2 Move more logic to audio utils 2017-07-21 10:08:33 -04:00
Paul Kaplan 6155ddfc2e Update require, import and export syntax 2017-07-21 10:08:33 -04:00
Paul Kaplan 08e3a56cdf Refactor css to share styles for forms 2017-07-21 10:08:32 -04:00
Paul Kaplan e024a91351 Add sound editor panel with playback and renaming 2017-07-21 10:08:32 -04:00
Paul Kaplan e7166851d8 Separate rms calculation into utility to use for sound editor also 2017-07-21 10:08:32 -04:00
Paul Kaplan ca8b48b328 Make buffer player consume sample rate to allow for different sample rates 2017-07-21 10:08:32 -04:00
Paul Kaplan bc569e4fc6 Merge pull request #554 from paulkaplan/hotfix-reducer-import-errors
Fix reducer imports
2017-07-21 10:07:54 -04:00
Paul Kaplan 1998a7fecf Fix reducer imports 2017-07-21 09:56:08 -04:00
Paul Kaplan 788aec02e6 Merge pull request #552 from paulkaplan/eslint-import
Add import/export rules and fix lint errors
2017-07-21 09:43:23 -04:00
Ray Schamp 6c9c72dff8 Merge pull request #471 from LLK/greenkeeper/html-webpack-plugin-2.29.0
Update html-webpack-plugin to the latest version 🚀
2017-07-21 09:30:48 -04:00
Paul Kaplan f6cf7a5816 Update require to import for test files 2017-07-21 09:04:29 -04:00
Paul Kaplan e68b54812c Fix eslint-disable for unresolved messages line 2017-07-21 08:58:24 -04:00
Paul Kaplan 7e3ef0c48b Disable no-unresolved for locale-data line 2017-07-21 08:58:24 -04:00
Paul Kaplan 60f00edeed Add config for eslint import as well 2017-07-21 08:58:24 -04:00
Paul Kaplan 8a10c04f42 Add import/export rules and fix lint errors 2017-07-21 08:58:24 -04:00
Paul Kaplan 0b7012439c Merge pull request #452 from bogusred/feature/jest-setup
Feature/jest setup
2017-07-21 08:56:58 -04:00
Paul Kaplan 846eed5c66 Merge branch 'develop' into feature/jest-setup 2017-07-21 08:46:50 -04:00
chrisgarrity c68653a38e Merge pull request #551 from chrisgarrity/feature/gh511-language-selector
Add language selection widget to menubar
2017-07-20 09:53:16 -04:00
Paul Kaplan c11d90ec4b Merge branch 'develop' into feature/jest-setup 2017-07-20 08:39:00 -04:00
chrisgarrity 2dd3782746 handle messages better
Dynamic import didn’t do what we wanted, so just added `npm run i18n:msgs` to the start command. This is just temporary. Other changes as requested:
* exports in one place
* loc=> locale

Also fixed use of require for localeData to use dynamic import (this one works), so the babelrc changes are needed, otherwise import as a function is not recognized.
2017-07-19 17:06:56 -04:00
Paul Kaplan c73f2e0171 Merge pull request #534 from LLK/greenkeeper/react-modal-2.2.2
Update react-modal to the latest version 🚀
2017-07-19 13:12:58 -04:00
chrisgarrity af69737590 Add language selection widget to menubar
Added language-selector component and container. Replaced lib/intl.jsx with reducers/intl.js and added updateIntl to handle language changes.

Moved languages.json into src
2017-07-19 12:19:29 -04:00
Paul Kaplan 19a007ab62 Update package.json 2017-07-19 11:12:07 -04:00
Paul Kaplan 65a94643a0 Update package.json 2017-07-19 11:11:54 -04:00
Paul Kaplan a6c2e0df6c Merge branch 'develop' into greenkeeper/react-modal-2.2.2 2017-07-19 08:48:51 -04:00
chrisgarrity 400c79dab1 Merge pull request #547 from chrisgarrity/integrate-intl-redux
Integrate intl redux
2017-07-18 10:07:26 -04:00
chrisgarrity 1225d38763 Integrate react-intl with redux
Using react-intl-redux package.

This just sets up the default English. Language switching in another PR. Requires locale/messages.json to exist, `{}` is ok.
2017-07-18 10:00:22 -04:00
chrisgarrity 52346ee784 Merge pull request #521 from chrisgarrity/gh510-combine-translations
Gh509 combine translations
2017-07-18 09:51:28 -04:00
chrisgarrity caa3f7e343 Documentation 2017-07-18 09:47:59 -04:00
chrisgarrity 0d4fcf1165 Generate messages json from available translations
Generate `locale/messages.json` from available languages in `translations`.  If there are no translations for a given language (from `languages.json`) it just skips it, react-intl will use the default english strings.

Just using English, French and Spanish for testing right now.
2017-07-18 09:47:58 -04:00
Paul Kaplan 85b499289d Merge branch 'develop' into greenkeeper/react-modal-2.2.2 2017-07-17 15:27:07 -04:00
chrisgarrity 9d91faa572 Merge pull request #515 from chrisgarrity/gh507-generate-l10n
Gh507 generate l10n
2017-07-17 14:27:08 -04:00
chrisgarrity 7e64c8972e Generate i18n source separate from build step
Generating the localization source to update the translation system (transifex) is really separate from building. When building we want to be using the current state of translations from transifex, and the english default strings are not needed.

Uses the babel-cli to run the babel-plugin-react-intl separately from  webpack.
2017-07-17 09:16:35 -04:00
chrisgarrity ba53b1c720 Parameterize script
Making the script easier to reuse later.
2017-07-17 09:16:35 -04:00