Commit Graph

1175 Commits

Author SHA1 Message Date
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 38e35dad65 Merge pull request #544 from spotify/rugvip/private-colors
backstage/theme: make colors private, access through theme instead
2020-04-14 21:23:13 +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
Fredrik Adelöw 2b29780daf Merge pull request #533 from OrkoHunter/doc-typo-update-in-faq
DOC: Some updates to documentation
2020-04-11 21:40:21 +02:00
Himanshu Mishra 049f3803d5 DOC: createPlugin and router reference docs are now here 2020-04-12 03:09:07 +09:00
Himanshu Mishra d8db08a522 DOC: Update couple typos in docs/FAQ.md
* open soure -> open source
* forbenchmarking -> for benchmarking
2020-04-12 02:37:26 +09: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
Kat Zhou 9b56cc20c6 adding header (#519) 2020-04-09 09:15:09 +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 0d27c0dfda chore: need to fix the import on the tests 2020-04-09 04:37:06 +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 27d95244ca Merge pull request #461 from spotify/lighthouse-plugin
Add plugin for lighthouse-audit-service
2020-04-08 14:56:37 -04: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 05ddedb0ad Merge pull request #520 from spotify/rugvip/release
Release v0.1.1-alpha.3
2020-04-08 15:38:26 +02:00
Patrik Oldsberg 56ab5e3296 v0.1.1-alpha.3 2020-04-08 15:16:27 +02:00
Kat Zhou 84de6789d0 Merge pull request #513 from spotify/katz95-patch-1
Update design.md
2020-04-08 15:11:10 +02:00
Kat Zhou 9504dd7cfd Merge pull request #517 from spotify/katz95-patch-2
header for design.md
2020-04-08 15:10:59 +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
Patrik Oldsberg aa289e43e0 Merge pull request #518 from spotify/change-to-app
Plugin -> app
2020-04-08 13:12:08 +02:00
Raghunandan f5d0be0154 PLugin -> app 2020-04-08 11:59:26 +02:00
Kat Zhou b7545fa562 header for design.md 2020-04-08 09:37:47 +02:00
Patrik Oldsberg b0e7068578 packages/core: switch to more src-relative imports 2020-04-08 00:41:38 +02:00
Patrik Oldsberg b7814caa5d plugins: use src-relative imports 2020-04-08 00:41:37 +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
Kat Zhou 2519ad4dd2 Update design.md 2020-04-07 23:01:27 +02:00
Patrik Oldsberg 28dacb05fe Merge pull request #501 from spotify/stefanalund-patch-1
Link to Design from README
2020-04-07 21:00:56 +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 bbc3d94f54 Merge pull request #512 from spotify/rugvip/dirty
packages/cli: treat untracked input dirs as dirty
2020-04-07 19:02:32 +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