Commit Graph

1518 Commits

Author SHA1 Message Date
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
Patrik Oldsberg 47d5d8da4f packages/cli: add lib ES2019 to common tsconfig 2020-05-03 15:36:05 +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
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
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
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
Patrik Oldsberg db9d9f7f08 packages/storybook: use ts-loader for JS too 2020-05-01 15:28:08 +02:00
blam 3be8104c5b chore: woops wrong name here 2020-05-01 04:13:46 +02:00
blam 7a578fafb1 chore: trying to fix the lockfile hoping this works? 2020-05-01 04:02:14 +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
Emma Indal e953259871 404 page (#681)
* core: Implemented error page, closes #170

* Swap margin to padding

* more ui work

* Convert to TypeScript, functioncal components, use useStyles/makeStyles, clean up some styles and use components from material ui

* fixup

* Fix lint errors

* Remove unused theme consumer

* Decrease max size of image

* Remove BackstageTheme added by mistake on rebase

* Add space to text

* Use BackstageTheme type and change color from palette

* Add test

Co-authored-by: Ryan Pannell <ryan@osukl.com>
2020-04-30 21:12:51 +02:00
Fredrik Adelöw da7522b671 Merge pull request #676 from spotify/freben/backend-common
Add a backend-common package with common concerns such as logging
2020-04-30 14:35:58 +02:00
Patrik Oldsberg fe25dd9d4e Merge pull request #684 from spotify/rugvip/nema-widgets
packages/core: remove old widget related things
2020-04-30 14:13:15 +02:00
Patrik Oldsberg ae0d3994e9 packages/core: remove old widget related things 2020-04-30 12:23:30 +02:00
Fredrik Adelöw fd0d4150f0 Address comments 2020-04-30 10:53:49 +02:00
Patrik Oldsberg 3ae7021d9c Merge pull request #680 from K-Phoen/export-tabbed-card
Add TabbedCard and CardTab to the exported layouts components
2020-04-30 00:09:55 +02:00
Kévin Gomez 04db160996 Add TabbedCard and CardTab to the exported layouts components 2020-04-29 23:31:59 +02:00
Patrik Oldsberg ed8729a171 Merge pull request #654 from Koroeskohr/translate-sortabletable
Translate SortableTable to Typescript
2020-04-29 16:42:59 +02:00
Fredrik Adelöw 77d48d8794 Add a backend-common package with common concerns such as logging 2020-04-29 11:32:30 +02:00
Fredrik Adelöw a92f662d88 Merge pull request #670 from spotify/freben/backendlint
Move backend lint config to cli config
2020-04-29 11:24:27 +02:00
blam 89f29c65f9 Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  add adr log to repository (#665)
2020-04-29 11:04:48 +02:00
Fredrik Adelöw 69a3fa79e7 Move backend lint config to cli config 2020-04-29 11:01:40 +02:00
eywoon 9ccf3b0623 add adr log to repository (#665) 2020-04-29 10:25:44 +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 0922ed2a21 Merge pull request #671 from spotify/rugvip/bump-notice
yarn.lock: bump eslint-plugin-notice
2020-04-28 19:05:19 +02:00
Patrik Oldsberg 2f25856a02 yarn.lock: bump eslint-plugin-notice 2020-04-28 17:50:29 +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
Patrik Oldsberg 99f9c6863e packages/dev-utils: use doc comments + text fix in README 2020-04-28 14:06:20 +02:00
Ivan Shmidt 6d55420c6e darkMode: fix HorizontalScrollGrid (#666) (#668) 2020-04-28 13:53:40 +02:00
Stefan Ålund 421a826622 darkMode: fix bottom link (#664)
* darkMode: fix bottom link

* Remove custom styling
2020-04-28 11:10:10 +02:00
blam e104fb007c chore: remworking some files after PR comment 2020-04-28 01:06:29 +02:00
Stefan Ålund 516e105bd8 Add padding for all Stories (#663) 2020-04-27 22:00:05 +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