Commit Graph

27 Commits

Author SHA1 Message Date
Patrik Oldsberg 70040b22a7 drop support for src-relative imports 2020-05-06 16:48:55 +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
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 6ab99a2052 plugins/graphiql: move dev and test utils to devDependencies 2020-04-26 17:26:49 +02:00
Patrik Oldsberg b81ebe7e72 packages/dev-utils: refactor to be more like createApp 2020-04-26 17:26:48 +02:00
Patrik Oldsberg 53c0d19e8d plugins/graphiql: use dev-utils to set up dev serve 2020-04-26 14:19:20 +02:00
Patrik Oldsberg 0e78bc1935 plugins/graphiql: fix GraphiQLBrowser tests 2020-04-25 16:51:22 +02:00
Patrik Oldsberg 7897d3488c plugins/graphiql: update tests for GraphiQLPage + fixes 2020-04-25 16:51:22 +02:00
Patrik Oldsberg 24e6178392 plugins/graphiql: Fix typo in README
Co-Authored-By: Himanshu Mishra <himanshu@orkohunter.net>
2020-04-25 16:51:22 +02:00
Patrik Oldsberg f1b7dc8b31 plugins/graphiql: add publishing config 2020-04-25 16:51:18 +02:00
Patrik Oldsberg 3063bd07bf plugins/graphiql: update README 2020-04-25 14:37:50 +02:00
Patrik Oldsberg d8b4a26a76 plugins/graphiql: rename GraphQLBrowser to GraphQLEndpoints and simplify method names 2020-04-25 14:34:32 +02:00
Patrik Oldsberg f75ff200a4 plugins/graphiql: make tabs a bit more visible 2020-04-25 13:23:42 +02:00
Patrik Oldsberg c73872d012 plugins/graphiql: separate GraphiQLBrowser component and load endpoints from api 2020-04-25 12:56:53 +02:00
Patrik Oldsberg 0f63f63fcc plugins/graphiql: added supply graphql browsing api in dev wrapper 2020-04-25 12:56:53 +02:00
Patrik Oldsberg 2a253d2556 plugins/graphiql: update tsconfig for plugin serve 2020-04-25 12:56:53 +02:00
Patrik Oldsberg 95341965ac plugins/graphiql: added graphql browsing api 2020-04-25 12:56:52 +02:00
Patrik Oldsberg 3734aeab62 plugins/graphiql: more tests for StorageBucket and fix removeItem 2020-04-25 12:56:52 +02:00
Patrik Oldsberg c8ef790e1b plugins/graphiql: fix page test 2020-04-25 12:56:52 +02:00
Patrik Oldsberg 7ec8e0d0c2 plugins/graphiql: add tests for StorageBucket + minor fix 2020-04-25 12:56:48 +02:00
Patrik Oldsberg 9d080a4dce plugins/graphiql: add storage buckets to separate storage for different endpoints 2020-04-25 12:56:29 +02:00
Patrik Oldsberg dceff8dd2f plugins/graphiql: add global style override to fix top bar layout issue 2020-04-25 12:56:29 +02:00
Patrik Oldsberg c119eb9a9a plugins/graphiql: switch graphiql version to next, with TS support 2020-04-25 12:56:29 +02:00
Patrik Oldsberg 10b6fd5bcb plugins/graphiql: replace example page with minimal graphiql page 2020-04-25 12:56:28 +02:00
Patrik Oldsberg a2491cb378 plugins/graphiql: added plugin serve 2020-04-25 12:56:28 +02:00
Patrik Oldsberg 9b0d1f5e7b plugins: create new graphiql plugin 2020-04-25 12:56:27 +02:00