Commit Graph

348 Commits

Author SHA1 Message Date
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 c8fb4c153e backstage/theme: make colors private, access through theme instead 2020-04-14 18:45:47 +02: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
Patrik Oldsberg 43d3388238 packages/cli: fix scaffolded app main and types fields 2020-04-07 18:06:21 +02:00
Patrik Oldsberg 1275e43877 packages/cli: fix WelcomePage using old props in scaffolded app 2020-04-07 18:05:45 +02:00
Patrik Oldsberg 53fed5a17c backstage/cli: add common tsconfig 2020-04-07 18:05:21 +02:00
Patrik Oldsberg 29094608c2 packages/testUtils: renamed dir to test-utils 2020-04-07 17:22:50 +02:00
Patrik Oldsberg cc4d4a403e Merge pull request #504 from spotify/rugvip/nowrap
packages: no need to wrap plugin builds with build-cache
2020-04-07 17:22:37 +02:00
Paul Marbach 022e71575b fix: circular dependency came back 2020-04-07 10:56:19 -04:00
Patrik Oldsberg 27fd679b74 packages: no need to wrap plugin builds with build-cache 2020-04-07 16:33:41 +02:00
Paul Marbach 927f54129a extract test-utils as its own package for use with plugins, etc. 2020-04-07 10:09:37 -04:00
Patrik Oldsberg 3b9b16c952 v0.1.1-alpha.2 2020-04-07 13:25:23 +02:00
Patrik Oldsberg 814f9fa365 Merge pull request #492 from spotify/rugvip/nocls
packages/cli: avoid clearing screen in app-serve
2020-04-07 13:24:28 +02:00
Patrik Oldsberg bbcd7da0fa Merge pull request #490 from spotify/rugvip/with-cache
packages/cli: make plugin:build have built-in caching
2020-04-07 13:23:50 +02:00