Commit Graph

854 Commits

Author SHA1 Message Date
Fredrik Adelöw 52c48ce1a7 Move inventory migrations into the plugin itself 2020-05-11 22:06:38 +02:00
Fredrik Adelöw d682714249 Implement location management 2020-05-11 20:10:44 +02:00
Nathan Calvank 8b2dd21fd0 Issue 660: CodeSnippet Reuseable component (#803)
* Initial CodeSnippet setup in Storybook

* Add support for line numbers

* Pseudo-code some basic tests and leverage useTheme hook

The test suite cannot currently be run, as the react-syntax-highlighter
appears to be using ESM, which are not supported by Jest out-of-the-box.

This should only require a simple Babel loader to remedy, but I want to
make sure first that I have not misconfigured something, as configuring
Babel is likely a notable scope increase for this relatively small
issue.

* Fix ESM Jest issue and update tests

It would be ideal to have snapshot tests to cover the lightmode vs
darkmode rendering. I started experimenting with directly testing the
styling, and it quickly became very sloppy.

* Provide more examples in stories

* Add showLineNumbers to PropType validation
2020-05-11 16:28:20 +02:00
Fredrik Adelöw 2955b4e862 Merge pull request #810 from spotify/freben/inventory1
Implement first knex database basics
2020-05-11 14:05:09 +02:00
Fredrik Adelöw 4b1d80b43a Implement first knex database basics 2020-05-11 13:55:00 +02:00
Patrik Oldsberg b1400b9896 packages/cli: remove cypress version override from app template 2020-05-11 11:23:33 +02:00
Nikita Nek Dudnik cae74aac85 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	packages/core/src/components/Table/Table.tsx
#	yarn.lock
2020-05-11 11:12:52 +02:00
Adil Alimbetov 6f0cb5de5d Updated colors for table in dark mode (#802)
* Updated colors for dark mode

* Updated type on useTheme

* Fixed code style

* Revert "Fixed code style"

This reverts commit 1969fce9a511e7f1b7390948b7b31ff13d4d9165.

* Changed hook position
2020-05-10 08:04:01 +02:00
Patrik Oldsberg 70195df296 Merge pull request #777 from spotify/rugvip/cleanup
packages/core: fix import and remove bonus code
2020-05-09 11:01:19 +02:00
Patrik Oldsberg fca586b704 Merge pull request #781 from spotify/rugvip/nodefault
packages/dev-utils: fix for default api factories being omitted
2020-05-08 20:28:17 +02:00
Patrik Oldsberg 0fc188d8a4 packages/dev-utils: fix for default api factories being omitted 2020-05-08 18:55:46 +02:00
Patrik Oldsberg 77d0e9a10f package/cli: remove src-relative imports from plugin:serve 2020-05-08 18:55:38 +02:00
Patrik Oldsberg 24cb7a7f9d Merge pull request #768 from spotify/rugvip/noremove
packages/cli: avoid removing empty lines in remove-plugin
2020-05-08 17:05:59 +02:00
Patrik Oldsberg 657834e485 packages/core: remove bonus file 2020-05-08 17:04:47 +02:00
Patrik Oldsberg c723fc33e5 packages/core: fix src-relative import 2020-05-08 17:04:31 +02:00
Nikita Nek Dudnik 520503b85c Fix tests failing on image import 2020-05-08 16:46:52 +02:00
Nikita Nek Dudnik f3c42578c4 Fix linting 2020-05-08 16:46:52 +02:00
Nikita Nek Dudnik d182818081 Fix linting 2020-05-08 16:46:52 +02:00
Patrik Oldsberg ad1e2fec2b Merge pull request #764 from spotify/rugvip/pdocs
packages/cli: update plugin template README to explain next steps and plugin:serve
2020-05-08 16:05:45 +02:00
Patrik Oldsberg 66d056a46c Merge pull request #763 from spotify/rugvip/pserve
packages/cli: update templates to include plugin:serve setup
2020-05-08 16:05:34 +02:00
Patrik Oldsberg fa7001007d Merge pull request #760 from spotify/rugvip/pdiff
plugins: added diff command to all plugins and templates
2020-05-08 16:05:24 +02:00
Ivan Shmidt 6de6c71eaf fix: pr fixes 2020-05-08 15:03:42 +02:00
Patrik Oldsberg 36b0dc849c packages/cli: avoid removing empty lines in remove-plugin 2020-05-08 15:00:14 +02:00
Patrik Oldsberg fca8b3211e packages/cli: update plugin template README to explain next steps and plugin:serve 2020-05-08 14:52:50 +02:00
Patrik Oldsberg 298c6979e7 Merge pull request #759 from spotify/rugvip/template-deps
packages/cli: update templates dependencies
2020-05-08 14:09:14 +02:00
Fredrik Adelöw 53b9c0766d Move the plugin init into their own files to keep index clean 2020-05-08 14:00:25 +02:00
Patrik Oldsberg c615ba09c4 packages/cli: update templates to include plugin:serve setup 2020-05-08 13:50:12 +02:00
Patrik Oldsberg 8fa65fc519 plugins: added diff command to all plugins and templates 2020-05-08 13:26:37 +02:00
Patrik Oldsberg bf4ad8d84f Merge pull request #758 from spotify/rugvip/diffcheck
packages/cli: make plugin:diff --check output all errors
2020-05-08 13:25:28 +02:00
Patrik Oldsberg 1afd6c7d92 packages/cli: update templates dependencies 2020-05-08 13:09:32 +02:00
Stefan Ålund 8b6d05abbf Adjust header label spacing (#756) 2020-05-08 13:07:36 +02:00
Patrik Oldsberg d568edb876 packages/cli: make plugin:diff --check output all errors 2020-05-08 13:02:29 +02:00
Ivan Shmidt bd461b94c9 Merge branch 'master' of github.com:spotify/backstage 2020-05-08 09:31:07 +02:00
dependabot-preview[bot] da53c87fb7 build(deps): bump fs-extra from 8.1.0 to 9.0.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/8.1.0...9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 06:14:49 +00:00
Ivan Shmidt b842989456 feat: total upgrade 2020-05-07 22:22:38 +02:00
Wesley Yee 2e475ff00a Fix: Add initial stepper step to step history (#740) 2020-05-07 10:42:55 -04:00
Stefan Ålund 5c8bd82aa1 Changed style of Table story (#733) 2020-05-07 10:49:26 +02:00
Ivan Shmidt 7b3dcff47c fix: authed, column sizes
Co-authored-by: Nikita Dudnik <nikdudnik@gmail.com>
2020-05-07 10:27:06 +02:00
Fredrik Adelöw c1dd24a100 OCD time: devDependencies consistently below dependencies :) 2020-05-07 08:46:10 +02:00
Bilawal Hameed 91101b05f0 Merge pull request #698 from spotify/bil/tech-radar-as-a-react-component
plugin(tech-radar): make configurable as a UI component or Backstage plugin
2020-05-06 20:59:24 +02:00
Stefan Ålund f9a9e8cea2 Simplify welcome screen (#728)
* Simplify welcome screen

* Delete non-used code

* Review comments
2020-05-06 17:25:38 +02:00
Ivan Shmidt bdb02f7de0 feat: make it work 2020-05-06 17:21:41 +02:00
Patrik Oldsberg 70040b22a7 drop support for src-relative imports 2020-05-06 16:48:55 +02:00
Ivan Shmidt 34d5a985a0 fix: types 2020-05-06 15:57:50 +02:00
Ivan Shmidt e88b290b9b Merge branch 'circleci-plugin' into master 2020-05-06 15:30:38 +02:00
Fredrik Adelöw 5961be5861 Simplify logger creation in tests 2020-05-06 13:30:58 +02:00
Sebastian Qvarfordt 425cf93c08 Replacing SortableTable and a few MUI tables with new Table component (#722)
* Befind work of replacing tables with new Table component

* Removed test plugins and fixed test

* Fixed lint issue

* Removed toolbar from lighthouse audit page

* Moved column out of auditstables render function, no no interation with useInterval
2020-05-06 12:58:34 +02:00
Ivan Shmidt 633f592f81 feat: move proxy to devserver 2020-05-06 10:32:18 +02:00
Jose Balanza Martinez 5b0e808204 Structured metadata list color fix and update to typescript DRAFT (#656)
* Fix Structure Metadata Table and change to .tsx

* Change StructuredMetadataTable to typescript

* Oops forgot to actually fix the font color

* Fixing some more type issues

* changed padding to theme.spacing()

* fixes some more types
2020-05-06 07:36:10 +02:00
Wesley Yee ddff830b04 Rewrite sequence component (#682)
* Rework sequence component to be more declarative and simple
* Renamed to SimpleStepper
2020-05-05 15:27:35 -04:00