Commit Graph

1108 Commits

Author SHA1 Message Date
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
Patrik Oldsberg 88a6b3d7c4 Merge pull request #411 from spotify/rugvip/storyploy
github/workflows: move storybook deploy to separate workflow
2020-03-30 11:17:53 +02:00
Patrik Oldsberg 93bbbcd5ee github/workflows: move storybook deploy to separate workflow 2020-03-30 11:07:56 +02:00
Stefan Ålund fa71f87ffd Merge pull request #367 from mikqi/ci/deploy-storybook
ci: add new jobs for deploy storybook
2020-03-30 09:51:56 +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
Muhammad Rivki 0d25dc3f9b Merge branch 'master' of github.com:mikqi/backstage into ci/deploy-storybook 2020-03-30 13:19:17 +07: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
Stefan Ålund ac0ddb277f Merge pull request #404 from asoorm/patch-1
document how to override the default port
2020-03-29 23:07:45 +02:00
Ahmet Soormally 9235807f14 document how to override the default port
Port 3000 is a common port in the development environment.

This documents how you can start backstage with a different port to the default.

Moved section for development environment to own page within docs in order to keep README small.
2020-03-29 21:59:46 +01: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