Commit Graph

919 Commits

Author SHA1 Message Date
Patrik Oldsberg b6bc987362 github/workflows: run cli e2e tests on changes to core 2020-03-31 00:09:54 +02:00
Patrik Oldsberg f4d8425d19 cli/templates: fix InfoCard usage in plugin template 2020-03-31 00:09:39 +02:00
Patrik Oldsberg cc3120c35f Merge pull request #419 from sgraczyk/feature/407-header-waves
Rewrite layout/Header/Waves to use TypeScript
2020-03-30 22:59:28 +02:00
Szymon Graczyk 39f7fe277f Correct the import of PageTheme to use relative path 2020-03-30 22:36:04 +02:00
Szymon Graczyk 8782465459 Rewrite layout/Header/Waves to use TypeScript
* Add simple test looking for svg node
2020-03-30 22:36:04 +02:00
Stefan Ålund 7867c593b1 Merge pull request #406 from mateusmarquezini/feature/400-info-card-storybook
Adding "Information Card" component to Storybook
2020-03-30 21:47:14 +02:00
Mateus Marquezini ea4b85849c #400 code review changes 2020-03-30 15:09:38 -03:00
Stefan Ålund e13d6093ba Merge pull request #391 from spotify/bil/feature-flags
Add Feature Flags API 🎚
2020-03-30 20:07:15 +02:00
Mateus Marquezini 575a775e45 #400 code review changes 2020-03-30 11:55:44 -03:00
Fredrik Adelöw 0692663f9f Merge pull request #414 from spotify/freben/codeowners-again
[cli] CODEOWNERS: catch-all goes first, and paths are absolute
2020-03-30 15:23:03 +02:00
Mateus Marquezini f2ac43714b Merge branch 'master' into feature/400-info-card-storybook 2020-03-30 10:17:44 -03:00
Patrik Oldsberg 11b1a62003 Merge pull request #412 from spotify/rugvip/noapp
packages: rename @backstage/app to example-app
2020-03-30 15:13:42 +02:00
Fredrik Adelöw 301bd66919 [cli] CODEOWNERS: catch-all goes first, and paths are absolute 2020-03-30 14:51:52 +02:00
Stefan Ålund 08e03ce400 Merge pull request #408 from sgraczyk/feature/407-header
#407 Rewrite layout/Header to use TypeScript and hooks
2020-03-30 14:36:11 +02:00
Patrik Oldsberg dc363e43fc packages: rename @backstage/app to example-app 2020-03-30 12:46:49 +02:00
Bilawal Hameed 70252160e5 [core] change FeatureFlagState to {On,Off} 2020-03-30 12:29:54 +02:00
Bilawal Hameed d911da26d2 [core/api] changed loading pattern to be a static factory method 2020-03-30 12:07:38 +02:00
Bilawal Hameed 0ff31e486d [core/api] store single instance of UserFlags 2020-03-30 12:07:38 +02:00
Bilawal Hameed d2d8238330 [core/api] FeatureFlags.test.tsx - s/FeatureFlags/featureFlags/g 2020-03-30 12:07:38 +02:00
Bilawal Hameed aecaa4e497 [core/api/FeatureFlags] no validation on get + re-think forwarding output 2020-03-30 12:07:38 +02:00
Bilawal Hameed 70fa36ebb4 [core/api/AppBuilder] remove typescript exclamation mark 2020-03-30 12:07:38 +02:00
Bilawal Hameed 64a14b2191 [core/apis] adapted to build on existing data structures 2020-03-30 12:07:38 +02:00
Bilawal Hameed 6fa6373536 [core/apis] replaced FeatureFlagsContext with FeatureFlags.registeredFlags 2020-03-30 12:07:38 +02:00
Bilawal Hameed a8f304dbfb [docs/reference] updated to reflect React Hooks changes 2020-03-30 12:07:38 +02:00
Bilawal Hameed e78680fe03 [plugins/welcome] fixed ToggleFeatureFlagButton test 2020-03-30 12:07:38 +02:00
Bilawal Hameed c1f5b2abc9 [core/apis] switch to useFeatureFlag React Hook 2020-03-30 12:07:38 +02:00
Bilawal Hameed 5157904031 [core/api] s/registeredFeatureFlags/featureFlags/g 2020-03-30 12:07:38 +02:00
Bilawal Hameed 9aaad5d660 [core/api] add name validation in registerFeatureFlag 2020-03-30 12:07:38 +02:00
Bilawal Hameed 24f987b29b [core/api/app] split name validation into function 2020-03-30 12:07:38 +02:00
Bilawal Hameed 4e38f03221 [core/api] added tests for FeatureFlags.tsx 2020-03-30 12:07:38 +02:00
Bilawal Hameed abe68bc55b [core] fixed typescript issues 2020-03-30 12:07:38 +02:00
Bilawal Hameed 690bbb662d [plugins/welcome] split feature flag button into separate Component (with tests) 2020-03-30 12:07:38 +02:00
Bilawal Hameed b2438a22cb [core/apis] added pluginId to feature flag metadata 2020-03-30 12:07:38 +02:00
Bilawal Hameed 92d091dec8 [core/apis] consolidated methods to get/set 2020-03-30 12:07:38 +02:00
Bilawal Hameed 0b49bad43d [core/api] switch getItem from bool to enum 2020-03-30 12:07:38 +02:00
Bilawal Hameed 4969c6046b [core/apis] moved away from ts decorators 2020-03-30 12:07:38 +02:00
Bilawal Hameed b01e7dee58 [plugins/welcome] add feature flag demo 2020-03-30 12:07:38 +02:00
Bilawal Hameed 71072da838 [docs] updated to reflect both useApi and FeatureFlags object 2020-03-30 12:07:38 +02:00
Bilawal Hameed 758c12101e [core/api] added toggle method to FeatureFlags 2020-03-30 12:07:38 +02:00
Bilawal Hameed 85c3ce7d9a [core/api/app] added context for registered flags 2020-03-30 12:07:38 +02:00
Bilawal Hameed 7ba4f4ca2d [plugins/welcome/WelcomePage] add featureFlags via useApi 2020-03-30 12:07:38 +02:00
Bilawal Hameed c86387ea09 [core] added typescript decorators (experimental) 2020-03-30 12:07:38 +02:00
Bilawal Hameed b865bdd472 [core] fix bad imports 2020-03-30 12:07:38 +02:00
Bilawal Hameed 10a7102f4c [core/api/app] Set FeatureFlags class to static 2020-03-30 12:07:38 +02:00
Bilawal Hameed 3e6d2ce730 [core/api/app] add FeatureFlags API implementation 2020-03-30 12:07:37 +02:00
Bilawal Hameed 817c476050 [docs] updated with typescript definitions + code sample 2020-03-30 12:07:37 +02:00
Bilawal Hameed 79654e477e [core/apis/definitions] added featureFlags definition 2020-03-30 12:07:37 +02:00
Bilawal Hameed e6a88a5dc0 [core/AppBuilder] collect list of registered feature flags 2020-03-30 12:07:37 +02:00
Bilawal Hameed 45d7e2736f [core/api/plugins] added featureFlags.registerFeatureFlag 2020-03-30 12:07:37 +02:00
Bilawal Hameed 8145ba8b94 [docs] added skeleton 2020-03-30 12:07:37 +02:00