Commit Graph

237 Commits

Author SHA1 Message Date
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 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 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 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
Marcus Eide ab4c5f35b0 Merge pull request #402 from spotify/eide/hack-cypress
Add e2e tests for App with Cypress
2020-03-30 08:56:54 +02:00
Stefan Ålund e970a57d31 Merge pull request #389 from mateusmarquezini/fix/306-header-text-color
Changed the header background color
2020-03-30 07:41:23 +02:00
Szymon Graczyk 9b7a8712fe Rewrite layout/Header to use TypeScript and hooks
* use makeStyles hook generator
* write fragments as components
* use types instead of PropTypes
2020-03-29 21:06:35 +02:00
Mateus Marquezini 3ce675857e #400 fixed spread usage 2020-03-29 12:40:14 -03:00
Mateus Marquezini b1a2eef8fd #400 Adding Information Card component to Storybook 2020-03-29 12:11:07 -03:00
Marcus Eide ec85cdd254 Add missing eslint plugin 2020-03-27 14:52:54 +01:00
Marcus Eide 990671df9b Add e2e test for app with cypress 2020-03-27 14:30:36 +01:00
Paul Marbach b0329a8261 fix: install @backstage/core when scaffolding a plugin 2020-03-27 09:26:31 -04:00
Marcus Eide a17f237b75 Add data-testid to buttons used by e2e tests 2020-03-27 13:44:37 +01:00