Commit Graph

154 Commits

Author SHA1 Message Date
blam 26094f82e3 chore: prettier is now automagically enabled, and fixing some pr review comments 2020-05-05 10:22:27 +02:00
blam e3ab861038 chore: fixing eslint config so we can use some great optional?.chaining?.stuff 2020-05-04 20:54:59 +02:00
blam 1af6cbea8d feat(scaffolder): Bring up to date with the latest changes in the inventory service 2020-05-04 20:39:13 +02:00
blam ef210545c9 Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  Rename Scaffolder -> Create (#712)
  Set the initial Storybook theme to light (#711)
  It's InputError then
  Even denser errors
  Better errors
  Show stack in dev
  [backend] use common error types
  Update Discord link in design docs, fix #672 (#710)
  [inventory] move out inventory instantiation + renaming
  Table component with filter and search (#600)
  [Storybook] Improve Status stories (#699)
  Fix blinking animation bug for Status Running component (#706)
  packages/cli: add lib ES2019 to common tsconfig
2020-05-04 19:40:18 +02:00
Stefan Ålund 168db0fe9c Rename Scaffolder -> Create (#712)
* Rename Scaffolder -> Create

* Use Typography
2020-05-04 19:37:03 +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 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
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
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
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
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 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
blam 3be8104c5b chore: woops wrong name here 2020-05-01 04:13:46 +02:00
blam c795d6fbbf Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  404 page (#681)
  packages/core: remove old widget related things
  Address comments
  Add TabbedCard and CardTab to the exported layouts components
  Add a backend-common package with common concerns such as logging
  Move backend lint config to cli config
  Translate SortableTable to Typescript
2020-05-01 03:44:30 +02:00
Fredrik Adelöw 69a3fa79e7 Move backend lint config to cli config 2020-04-29 11:01:40 +02:00
blam 247e58689b Merge branch 'blam/scaffolder' of github.com:spotify/backstage into blam/scaffolder
* 'blam/scaffolder' of github.com:spotify/backstage: (34 commits)
  yarn.lock: bump eslint-plugin-notice
  packages/dev-utils: use doc comments + text fix in README
  darkMode: fix HorizontalScrollGrid (#666) (#668)
  darkMode: fix bottom link (#664)
  Add padding for all Stories (#663)
  Use useInterval() hook to refetch audit status in lighthouse plugin WIP (#623)
  run yarn install against master yarn.lock
  changed object to Partial type
  adjust getBBox polyfill logic
  re-ran yarn.lock
  added initial docs
  added tests for RadarPage
  re-ran yarn install
  add polyfill for SVGElement.prototype.getBBox (not supported in JSDOM)
  migrated RadarBubble to material-ui styles
  migrated RadarEntry to material-ui styles
  migrated RadarFooter to material-ui styles
  migrated RadarLegend to material-ui styles
  migrated RadarGrid to material-ui styles
  removed css modules from css
  ...
2020-04-28 22:55:04 +02:00
blam 62b917f41b chore(scaffolder): fixing linting issues in the repo 2020-04-28 22:53:59 +02:00
Ben Lambert 48d0c61f2a Merge branch 'master' into blam/scaffolder 2020-04-28 22:46:02 +02:00
blam 9635983e5a feat(scaffolder): adding some more stuff and some initial sample template 2020-04-28 22:38:34 +02:00
Patrik Oldsberg 49049665d4 Merge pull request #653 from spotify/rugvip/dev-utils
Add new dev-utils package with createDevApp() to simplify plugin dev setup
2020-04-28 16:20:30 +02:00
blam e104fb007c chore: remworking some files after PR comment 2020-04-28 01:06:29 +02:00
blam 96929febac chore(scaffolder) fixing likes 2020-04-27 18:02:46 +02:00
blam 5111ca4f90 chore(scaffolder): cleanup 2020-04-27 18:02:42 +02:00
blam c62c43d12f feat(scaffolder): working more on the scaffolder to make it nice 2020-04-27 18:02:35 +02:00
blam a86f111b97 feat(scaffolder): make the scaffolder repository a little more flexible so we can load from multiple sources 2020-04-27 18:02:24 +02:00
blam 142f57949d feat: using some of the latest work from @freben to align with the backend plugin strategy 2020-04-27 18:02:02 +02:00
Jose Balanza Martinez ea880db04a Use useInterval() hook to refetch audit status in lighthouse plugin WIP (#623)
* Fix error when using yarn lint

* Update logic for create app

* Add eslint-react-hooks

* Move common utils to utils.ts

* Add AuditListRow that refetches the audit

* Fixed Audit state using a react component

* Change AuditListRow to AuditRow

* Fixed some eslint-react-hooks warnings

* Change AuditListRow to AuditRow

* Merge

* Fixes tests in AuditListTable.test.tsx

* Refactored based on freben's review

* Remove eslint-plugin-react-hooks
2020-04-27 16:59:52 +02:00
Bilawal Hameed e7f25aa91b changed object to Partial type 2020-04-27 15:02:40 +02:00
Bilawal Hameed e9ba3895a9 adjust getBBox polyfill logic 2020-04-27 15:02:40 +02:00
Bilawal Hameed 9fdc99c3e8 added initial docs 2020-04-27 15:02:40 +02:00
Bilawal Hameed 4faf199f72 added tests for RadarPage 2020-04-27 15:02:40 +02:00
Bilawal Hameed e6af811771 add polyfill for SVGElement.prototype.getBBox (not supported in JSDOM) 2020-04-27 15:02:40 +02:00
Bilawal Hameed 521015ed26 migrated RadarBubble to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed 6b6d31a556 migrated RadarEntry to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed 60f4ca9797 migrated RadarFooter to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed d09c5332bf migrated RadarLegend to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed 1c3c6aa2a4 migrated RadarGrid to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed c521e175f9 removed css modules from css 2020-04-27 15:02:40 +02:00
Bilawal Hameed 54908acd59 fixed linting errors 2020-04-27 15:02:40 +02:00
Bilawal Hameed 02969e44e5 added example implementation 2020-04-27 15:02:39 +02:00
Bilawal Hameed cdcb414412 migrated tech radar from internal implementation 2020-04-27 15:02:39 +02:00
Bilawal Hameed 1660be5f84 added packages: d3-force, colors, prop-types 2020-04-27 15:02:39 +02:00
Bilawal Hameed 822701684b added skeleton 2020-04-27 15:02:39 +02:00
Fredrik Adelöw 6fdef8ac9b Address comments 2020-04-27 10:01:57 +02:00