Himanshu Mishra
8354d4a104
Set the initial Storybook theme to light ( #711 )
...
This fixes the inconsistency if user's OS/Browser theme is set to Dark mode.
2020-05-04 19:32:47 +02:00
Fredrik Adelöw
1d1589680d
Merge pull request #709 from spotify/freben/errors
...
[backend] use common error types
2020-05-04 16:49:35 +02:00
Fredrik Adelöw
9724084186
It's InputError then
2020-05-04 16:42:40 +02:00
Fredrik Adelöw
129991fcfd
Even denser errors
2020-05-04 16:34:17 +02:00
Fredrik Adelöw
e5529c249b
Better errors
2020-05-04 16:06:02 +02:00
Fredrik Adelöw
1b4b98cd05
Show stack in dev
2020-05-04 16:06:02 +02:00
Fredrik Adelöw
48b4a86a97
[backend] use common error types
2020-05-04 16:06:02 +02:00
Fredrik Adelöw
70e2a62155
Merge pull request #707 from spotify/freben/iteraaaaate
...
[inventory] move out inventory instantiation + renaming
2020-05-04 16:05:32 +02:00
Niklas Ek
8c65917914
Update Discord link in design docs, fix #672 ( #710 )
2020-05-04 12:15:22 +02:00
Fredrik Adelöw
7c6b7b9b94
[inventory] move out inventory instantiation + renaming
2020-05-04 11:22:37 +02:00
Sebastian Qvarfordt
190f11c8f7
Table component with filter and search ( #600 )
...
* Initial table component with storybook example
* Moved dependencies to package/core
* Removed dependency to @backstage/core from base package.json
* Clean up some examples and remove type from columns, replacing with property align instead
* Removed more unused stuff and added toggle for filter input
* Fixed some lint issues
* Added example with material-table
* Convert column array passed into MaterialTable Backstage component into MT column array. Allow multiple values in one cell
* Removed subheader from MT
* Nicer double value cell
* Added custom sorting to example
* Cleaned up stories a bit
* Setting field instead of customSort
* Improve styling. Still needs better theme integration
* Using more colors from theme
* Fixed typing issue
* Removed react-table implementation and cleaned up material-table implementation
* Fixed some type issues
* Fixed lint issues
2020-05-04 11:10:35 +02:00
Stefan Ålund
031a4356f1
[Storybook] Improve Status stories ( #699 )
...
* [Storybook] Imrove Status stories
* Remove duplicate classes
2020-05-04 11:09:30 +02:00
Himanshu Mishra
3b2aeae05a
Fix blinking animation bug for Status Running component ( #706 )
...
* Refer to keyframe as a material-ul variable
https://material-ui.com/guides/migration-v3/\#styles
* Update background color of Status
The background color should match with the theme's background color.
2020-05-04 06:34:08 +02:00
Patrik Oldsberg
c4e0e7ed26
Merge pull request #703 from spotify/rugvip/es2019
...
packages/cli: add lib ES2019 to common tsconfig
2020-05-03 15:58:34 +02:00
blam
cc8dbdfe5e
Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
...
* 'master' of github.com:spotify/backstage:
[Plugin] Explore features in Backstage (#696 )
[Storybook] Fix Storybook compilation warnings (#701 )
Make the inventory backend standalone runnable
2020-05-03 15:46:23 +02:00
blam
31c4785cc0
chore(scaffolder): Updating dependency graph to include docker api
2020-05-03 15:42:53 +02:00
Patrik Oldsberg
47d5d8da4f
packages/cli: add lib ES2019 to common tsconfig
2020-05-03 15:36:05 +02:00
Patrik Oldsberg
41d879931d
packages/cli: clearer plugin:diff output for package.json + fix
2020-05-03 15:28:06 +02:00
Stefan Ålund
7472e9a5c2
[Plugin] Explore features in Backstage ( #696 )
...
* Explore plugin
* Fixed styles and props
* Real conent
* Add Lighthouse and fix tests
* Add menu item
* Cleanup
* Change wording
* Update package.json
* Remove dead code
* Update yarn.lock
* Revert change to CODEOWNERS
* Reset yarn.lock to master
* Fix comments
2020-05-03 14:30:51 +02:00
Patrik Oldsberg
8e920cada8
packages/cli: add newline at the end of package.json during diff
2020-05-03 14:26:29 +02:00
Patrik Oldsberg
56ff5d7d97
packages/cli: add --check and --yes flags to plugin:diff
2020-05-03 14:25:36 +02:00
Patrik Oldsberg
7d02e1d15c
packages/cli: split diff command implementation into multiple files
2020-05-03 14:21:20 +02:00
Patrik Oldsberg
5e5bb5a523
packages/cli: make it possible to override prompt func in diff
2020-05-03 14:02:31 +02:00
Patrik Oldsberg
acb6212b49
packages/cli: add add handler for diff command to ensure files exist
2020-05-03 13:53:19 +02:00
Patrik Oldsberg
8ebb45e990
packages/cli: functional diff command with prompt for updates
2020-05-03 13:44:24 +02:00
Patrik Oldsberg
323f6b715a
packages/cli: separate handlers for different template files in diff
2020-05-03 12:04:17 +02:00
Conal Cosgrove
8a16cf7067
[Storybook] Fix Storybook compilation warnings ( #701 )
...
* separate type import/exports
* update prettier to v2.0
* add explicit type import/exports
2020-05-02 21:39:22 +02:00
Bilawal Hameed
d0e245ee3b
fix: some incorrectly formatted markdown
2020-05-02 15:05:41 +02:00
Bilawal Hameed
8c1fd6e7d1
fix: update app to use new Radar API
2020-05-02 14:45:49 +02:00
Bilawal Hameed
27aa58470a
fix: updated docs
2020-05-02 14:40:43 +02:00
Bilawal Hameed
a4c05f203f
fix: updated tests for RadarPage and RadarComponent
2020-05-02 14:40:31 +02:00
Bilawal Hameed
d04855e98a
fix: RadarPage uses RadarComponent under the hood
2020-05-02 14:40:12 +02:00
Bilawal Hameed
2c146cc86b
fix: rename loadSampleData to getSampleData
2020-05-02 14:39:31 +02:00
Bilawal Hameed
ef9e6ba6a8
feature: add RadarComponent and export as TechRadarComponent
2020-05-02 14:39:07 +02:00
Bilawal Hameed
e1f4cd0057
feature: split tech-radar api to component/plugin props
2020-05-02 14:37:37 +02:00
Patrik Oldsberg
c348444fa6
packages/cli: read template and target files for diffing
2020-05-02 12:16:32 +02:00
Fredrik Adelöw
8e0ebb66d9
Merge pull request #686 from spotify/freben/inventory-again
...
Make the inventory backend standalone runnable
2020-05-01 22:30:59 +02:00
Fredrik Adelöw
92feb76252
Make the inventory backend standalone runnable
...
And also make a proposed split of how the loggers are handled.
Now logs look like
```
{
"type": "incomingRequest",
"service": "backstage",
"timestamp": "2020-04-30T14:29:04.002Z",
"message": "...",
"level": "info"
}
```
for requests, and then if the plugin logs something properly
```
{
"type": "plugin",
"service": "backstage",
"plugin": "inventory",
"timestamp": "2020-04-30T14:29:04.002Z",
"message": "...",
"level": "info"
}
```
2020-05-01 21:59:20 +02:00
blam
d7bb95b87a
refactor: move to globby instead of glob library for nice promises and efficiency!
2020-05-01 18:27:43 +02:00
Patrik Oldsberg
4423aa9315
packages/cli: added basic logic for diff to parse out existing plugin state
2020-05-01 17:54:39 +02:00
Patrik Oldsberg
7f03d85d91
packages/cli: added placeholder plugin:diff command
2020-05-01 17:53:43 +02:00
Ben Lambert
cd156a44c1
Merge pull request #651 from spotify/blam/scaffolder
...
[Plugin] Start of the Scaffolder Plugin
2020-05-01 17:52:58 +02:00
blam
b17462af8b
chore(scaffolder): compiled is now .esm not .cjs
2020-05-01 17:35:34 +02:00
blam
fb71dc957c
Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
...
* 'master' of github.com:spotify/backstage:
packages/cli: added jest transform for .esm.js files
plugins/graphiql: use dynamic import to load graphiql
packages/cli: target modern browsers and switch output to module
packages/storybook: make local core imports resolve to core src
packages/storybook: use ts-loader for JS too
2020-05-01 17:19:55 +02:00
Patrik Oldsberg
38257822c2
Merge pull request #655 from spotify/rugvip/modernize
...
packages/cli: target modern browsers and switch output to module + dynamic graphiql import
2020-05-01 16:54:16 +02:00
Patrik Oldsberg
2068829f4f
packages/cli: added jest transform for .esm.js files
2020-05-01 15:55:48 +02:00
Patrik Oldsberg
85452a02b7
plugins/graphiql: use dynamic import to load graphiql
2020-05-01 15:55:48 +02:00
Patrik Oldsberg
b87d266c74
packages/cli: target modern browsers and switch output to module
2020-05-01 15:55:47 +02:00
Patrik Oldsberg
4c7a9784cc
Merge pull request #695 from spotify/rugvip/fmlsb
...
packages/storybook: use ts-loader for JS + resolve @backstage/core imports
2020-05-01 15:52:08 +02:00
Patrik Oldsberg
5448e54e94
packages/storybook: make local core imports resolve to core src
2020-05-01 15:28:08 +02:00