Commit Graph

359 Commits

Author SHA1 Message Date
Marcus Eide 85752b4795 Revert "Add copyright notice to default-app template files"
This reverts commit fbc2048350.
2020-04-16 08:53:55 +02:00
Marcus Eide 300a891f71 Create new app in temp dir 2020-04-16 08:50:11 +02:00
Marcus Eide ce950bed7a Add exit() method to Task and use in create-app and create-plugin 2020-04-15 20:58:12 +02:00
Marcus Eide fbc2048350 Add copyright notice to default-app template files 2020-04-15 20:58:12 +02:00
Patrik Oldsberg 4f8193be60 Merge pull request #552 from spotify/rugvip/breakout-test-utils-core
package/test-utils: move some test utils to separate package so test-utils can depend on core
2020-04-15 20:21:09 +02:00
Patrik Oldsberg ba83156c08 packages/cli: fix app template referencing example-app 2020-04-15 18:44:50 +02:00
Patrik Oldsberg dd1ef4eda0 Merge pull request #548 from OrkoHunter/OrkoHunter/#536-show-story-source-code
Show code in storybook
2020-04-15 18:14:55 +02:00
Stefan Ålund ea61497c66 Add Status and SortableTable to Storybook (#540)
* Add Status component to Storybook

* Add SortableTable
2020-04-15 17:15:55 +02:00
Sebastian Qvarfordt 29239b1877 Added global decorator for storybook wrapping stories with the MUI theme (#556) 2020-04-15 17:08:03 +02:00
Patrik Oldsberg 1685fa1e9f packages/cli: update app template to reflect current package.jsons 2020-04-15 15:54:03 +02:00
Stefan Ålund ebe6fd5659 Dark mode has different sidebar (#537) 2020-04-15 11:51:46 +02:00
Sebastian Qvarfordt 2c251e94e0 TabbedCard component (#464)
* Initial typing for infocard component

* Changes as suggested in PR and rewrite of BottomLink to TypeScript

* Removed classes property from card because material-ui did not like classes.header being set

* Prettier

* Early TabbedCard component. WIP

* Refactored TabbedCard to be easier to use

* Fixed some typing issues and tests

* Fixed lint issues and changed lint rule. Do we want to keep it?

* Added controlled mode when value and onChange is set on TabbedCard

* Fixed typo

* Added a test and fixed the design to look like the mockups more

* Removed export of BottomLink from TabbedCard

* Added test for controlled state
2020-04-15 10:31:40 +02:00
Stefan Ålund fadffc6589 Port over WarningPanel component (#547)
* Port over WarningPanel component

* Create WarningPanel.test.js

* More stories and tests

* Simplified example message
2020-04-15 10:02:14 +02:00
Patrik Oldsberg 9cf2de0511 packages/test-utils: added simple test for app wrapper 2020-04-14 21:18:31 +02:00
Patrik Oldsberg eed736f2e8 package/test-utils: move some test utils to separate package so test-utils can depend on core 2020-04-14 19:50:05 +02:00
Patrik Oldsberg c8fb4c153e backstage/theme: make colors private, access through theme instead 2020-04-14 18:45:47 +02:00
Himanshu Mishra 045ce9ab6b Add storybook addon storysource which shows code of components in storybook 2020-04-14 09:08:48 +09:00
Himanshu Mishra 507504bb45 Remove old storybook configuration (#545)
In https://github.com/spotify/backstage/pull/371, storybook config was moved from packages/core to packages/story to avoid conflicts.
packages/core/.storybook was missed and not removed at the time. Now, we don't need this anymore.
2020-04-13 20:43:28 +02:00
Muhammad Rivki 6ca4626b78 fix(storybook): add aliases for @backstage/theme (#539) 2020-04-13 09:43:52 +02:00
Patrik Oldsberg a6167ce02a Merge pull request #509 from spotify/rugvip/logcollect
packages/test-utils: port logCollector to TypeScript + add tests
2020-04-12 13:21:56 +02:00
Fredrik Adelöw 75236eea72 Merge pull request #534 from OrkoHunter/OrkoHunter/#531-fix-error-on-safari
Fix build error on Safari | MediaQueryList.addEventListener not supported
2020-04-12 08:54:53 +02:00
Himanshu Mishra db92c693bf Fix broken tests due to MediaQueryList.addEventListener 2020-04-12 15:38:31 +09:00
Himanshu Mishra 4534399854 Fix build error on Safari
MediaQueryList.addEventListener is not support on Safari and hence the build fails.
Ref: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList
Closes https://github.com/spotify/backstage/issues/531
2020-04-12 15:27:39 +09:00
Patrik Oldsberg 4e26d21a85 packages/test-utils: split app wrappers and testing library utils out from index (#510) 2020-04-12 08:26:47 +02:00
Ben Lambert 2da0697582 Merge pull request #526 from spotify/feat/issues/523
Remove the default export from plugins
2020-04-10 17:19:02 +02:00
blam 72c98655f3 chore; fixing code review commenta and fix the import path 2020-04-10 01:38:35 +02:00
Patrik Oldsberg 3e1e356320 Merge pull request #528 from spotify/rugvip/lintfixes
package/cli: fix lint issues in scaffolded plugins
2020-04-09 15:51:27 +02:00
Patrik Oldsberg fc00bfec5a Merge pull request #527 from spotify/rugvip/notests
packages/cli: exclude tests from build
2020-04-09 15:51:20 +02:00
Patrik Oldsberg e55cdf70fd packages/cli: add missing theme dep to app template 2020-04-09 14:21:47 +02:00
Patrik Oldsberg e6b0df8c1f packages/cli: add root eslintrc for app template 2020-04-09 14:17:06 +02:00
Patrik Oldsberg 1788fe1fff packages/cli: remove notice plugin from eslint config 2020-04-09 14:15:47 +02:00
Patrik Oldsberg a42d95f6dd packages/cli: exclude tests from build 2020-04-09 13:36:45 +02:00
blam 6104ff9988 chore: missed one small part 2020-04-09 04:56:08 +02:00
blam e805eafa42 feat: update the templates to default to named exports for new plugins 2020-04-09 04:37:15 +02:00
blam 0feee2b1a9 feat: fixes #523. Remove the default export from plugins 2020-04-09 04:36:55 +02:00
Patrik Oldsberg 84340367c4 packages/cli: added some development docs to the readme (#521) 2020-04-08 22:28:02 +02:00
Paul Marbach f6d3c5ca4f test: update lint config to extend cli config explicitly for plugins 2020-04-08 12:20:20 -04:00
Paul Marbach 1d6765e044 thank you for the comments, @freben 2020-04-08 12:20:20 -04:00
Paul Marbach 06228b71e9 feat: implement Lighthouse plugin using lighthouse-audit-service 2020-04-08 11:21:20 -04:00
Patrik Oldsberg 56ab5e3296 v0.1.1-alpha.3 2020-04-08 15:16:27 +02:00
Patrik Oldsberg 891f49ae09 Merge pull request #516 from spotify/rugvip/relative
packages,plugins: make src-relative imports work everywhere
2020-04-08 14:52:59 +02:00
Raghunandan f5d0be0154 PLugin -> app 2020-04-08 11:59:26 +02:00
Patrik Oldsberg b0e7068578 packages/core: switch to more src-relative imports 2020-04-08 00:41:38 +02:00
Patrik Oldsberg 7ed9444de8 packages,plugins: make src-relative imports work everywhere 2020-04-08 00:41:37 +02:00
Patrik Oldsberg 7463309e58 packages/storybook: make src-relative imports work 2020-04-08 00:41:37 +02:00
Patrik Oldsberg 7a5a657820 Merge pull request #511 from spotify/rugvip/cba
fixes for create-app
2020-04-07 19:02:54 +02:00
Patrik Oldsberg 3bc25560f7 packages/cli: treat untracked input dirs as dirty 2020-04-07 18:39:08 +02:00
Patrik Oldsberg 83fb640207 packages/test-utils: add tests for logCollector 2020-04-07 18:20:15 +02:00
Patrik Oldsberg 742e94a754 packages/test-utils: port logCollector to TS 2020-04-07 18:19:34 +02:00
Patrik Oldsberg 89494ad4cd packages/cli: updated deps of scaffolded app plugin 2020-04-07 18:06:49 +02:00