Skip to content

๐Ÿ—โ™ป๏ธ๐Ÿšฎ Refactor and clean up dev dashboard code#21125

Merged
rsimha merged 5 commits intoampproject:masterfrom
rsimha:2019-02-26-Bundle.js
Feb 27, 2019
Merged

๐Ÿ—โ™ป๏ธ๐Ÿšฎ Refactor and clean up dev dashboard code#21125
rsimha merged 5 commits intoampproject:masterfrom
rsimha:2019-02-26-Bundle.js

Conversation

@rsimha
Copy link
Copy Markdown
Contributor

@rsimha rsimha commented Feb 26, 2019

This PR does the following:

  • Switches from babel-plugin-transform-react-jsx to @babel/plugin-transform-react-jsx (part of the babel monorepo)
  • Changes the negative flag disable_dev_dashboard_cache to an opt-in flag enable_dev_dashboard_cache
  • Makes the output of gulp serve less noisy and more pretty
  • Moves the dev dashboard tests out of gulp test (they were unrelated) and into a new gulp dev-dashboard task
  • Uses concise logging on Travis for the dev dashboard tests
  • Modifies PR check to account for the new task (it doesn't need gulp build, and runs really fast, so it belongs in the Checks job)

@rsimha
Copy link
Copy Markdown
Contributor Author

rsimha commented Feb 26, 2019

/to @torch2424 @alanorozco @estherkim

@alanorozco
Copy link
Copy Markdown
Member

Thanks for doing this, the new testing command is also easier to remember!

Copy link
Copy Markdown
Contributor

@torch2424 torch2424 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for doing this! ๐Ÿ˜„

* Run all the dev dashboard tests
*/
function runDevDashboardTests() {
const mocha = new Mocha({reporter: isTravisBuild() ? 'dot' : 'spec'});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐ŸŽ‰

@rsimha
Copy link
Copy Markdown
Contributor Author

rsimha commented Feb 27, 2019

Comments addressed. Will let @estherkim review before merging. Will merge, and address any remaining comments from @estherkim in a follow up PR that's coming soon. :)

Copy link
Copy Markdown
Collaborator

@estherkim estherkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Belated LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants