Commit Graph

47223 Commits

Author SHA1 Message Date
parmar-abhinav f8727ad228 Add examples for publish:github:pull-request scaffolder action
Signed-off-by: parmar-abhinav <abhi171b010@gmail.com>
2023-10-20 19:36:29 +05:30
Sydney Achinger 5bbe4f943a Merge branch 'master' of https://github.com/backstage/backstage into techdocs/navigation-bugfix 2023-10-20 09:47:09 -04:00
Sydney Achinger 96bd67dbed Add tests for navigation scrolling logic in TechDocsReaderPageContent
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com>
2023-10-20 09:09:46 -04:00
Patrik Oldsberg 6cfa3f847b Merge pull request #20667 from backstage/rugvip/app-graph
frontend-app-api: refactor app extension management into graph
2023-10-20 14:35:41 +02:00
Patrik Oldsberg 7cd34392f5 cli: fix backend start hanging
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 14:26:06 +02:00
blam 57d0c77b37 chore: revert comments
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:55 +02:00
blam 57f765f727 wip: move
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:55 +02:00
blam 1a5ecd034a chore: refactor and remove cjs
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:55 +02:00
blam 788eb72840 chore: fix
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam 2dddc5de00 chore: add changeset
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam b4e21496d7 feat: simplfy even further!
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam 6436c5ac6f chore: cleanup
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam 2d5ec21f5c chore: remove needless optional chaining
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam a2cdb7c22e chore: add a comment
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam a665f954a0 chore: don't need templating here
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam 78561f8a29 chore: remove svgr support
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam e53067c4d8 chore: fix yarn.lock dirt
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam 5c0e295c2a chore: fix ejs
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam e7b7373d34 chore: tidying up a little more and removing superfluous config
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam f93f44e926 chore: fixing typings
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam f014a14c83 chore: remove superfluous dependency
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam e14cbf563d chore: added chantgeset
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:54 +02:00
blam cf3fe0510f chore: initial version of vite
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:53 +02:00
blam 107431b803 feat: reworking html to work without messing about
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:53 +02:00
blam 605c0d171b chore: more small work
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:53 +02:00
blam b3989e18a1 chore: some little trickery
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:53 +02:00
blam 0e6fc26cbf chore: some more vite work
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:53 +02:00
blam 5c5a5a8207 feat: work on enable vite
Signed-off-by: blam <ben@blam.sh>
2023-10-20 14:03:53 +02:00
Patrik Oldsberg c7d8f66518 Merge pull request #20703 from backstage/rugvip/search-fix
search-react: fix search bar race
2023-10-20 13:41:05 +02:00
Josh Uvi 8bdaf184ec Merge branch 'backstage:master' into code-coverage 2023-10-20 12:37:29 +01:00
Josh Uvi 11f671eaa9 Added support for new backend system
Signed-off-by: Josh Uvi <joshuauvbiekpahor@gmail.com>
2023-10-20 12:22:09 +01:00
Josh Uvi ec779d4d8c added new backend system package to code-coverage-backend
Signed-off-by: Josh Uvi <joshuauvbiekpahor@gmail.com>
2023-10-20 12:16:40 +01:00
Patrik Oldsberg 940466e0fd Merge pull request #20686 from backstage/mob/entity-pages
catalog: initial entity page implementation for the new frontend system
2023-10-20 13:10:38 +02:00
Patrik Oldsberg f75caf9f3d search-react: fix search bar race
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 12:59:43 +02:00
Patrik Oldsberg ddcec7735e Merge pull request #20701 from backstage/rugvip/fix
cli: fix package detection breaking if package.json is not available
2023-10-20 12:17:00 +02:00
Patrik Oldsberg 6bf7561d3c cli: fix package detection breaking if package.json is not available
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 11:42:19 +02:00
zcmander 48a61bfdca techdocs: fix buildLogTransport-related memory leak
Signed-off-by: zcmander <zcmander@gmail.com>
2023-10-20 11:23:16 +03:00
Camila Belo a9611d4251 fix(catalog-react): make entity content routable
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-20 10:13:16 +02:00
Patrik Oldsberg 0bf6ebda88 catalog,catalog-react,techdocs: extract experimental entity page implementation from app-next
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 09:41:23 +02:00
Patrik Oldsberg c82fc7e672 catalog: split alpha entry point into multiple modules
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 09:41:23 +02:00
Patrik Oldsberg b34e8bf3a3 app-next: initial entity page implementation with cards and content
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 09:41:23 +02:00
Patrik Oldsberg 39cd2d7a1f starting point for entity page extension API
Co-authored-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
Co-authored-by: Vincenzo Scamporlino <vinzscam@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Rickard Dybeck <r.dybeck@gmail.com>
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Jack Palmer <UsainBloot@users.noreply.github.com>
Co-authored-by: Elon Jefferson <Edje-C@users.noreply.github.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-20 09:41:23 +02:00
Alex Crome 243c655a68 Updated Azure Active Directory to Entra ID
Microsoft have renamed Azure Active Directory to Entra ID.  https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/new-name .  This PR updates references to AAD to refer to Entra ID.

* On each documentation page, I include `formerly Azure Active Directory` in the first non heading reference to Entra ID.  This will help anyone unfaimiliar withthe  name change, and will also mean the page continues to show up in search results if people search for the old name.
* I didn't correct references in file names, as this would cause broken links.  If we have a way of redirecting those to new urls I can look at doign that, but if not, I think it's better to leave existing links working.
* There were a few references to AAD in release notes for older versions - I left these alone as the product naming was correct at the time of the release notes.
* LDAP provider still has references to "Active Directory" as these reference to the on premise Active Directory, not Azure Active Directory

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-19 23:11:35 +01:00
Alex Crome 3979524c74 Add domain_hint support to Entra ID login
When a user is logged in to multiple microsoft accounts, there can be be a little bit of friction in the Entra login process as users will be asked to select the account to login with.

Scenarios in which a user may have multiple microsoft accounts

1. Someone logged in to your work Entra ID account, and a personal microsoft account
2. A consultant who has an Entra ID account at both their employer, as well as the company they're contracted out to.
3. A user has a regular account, as well as one or more high priviliged accounts.

When a domain hint is provided, Entra will filter out all the accounts which don't belong to the tenant specified on the `domain_hint`.
In many cases, this will filter to a single account, avoiding the need to select an account at all (e.g. scenario 1 & 2).
This won't always happen (e.g. scenario 3).
Additionally in the case a tenant has been configured to federate authentication elsewhere (e.g. to an on premise AD FS), setting the domain hint means entra can send the user straight to the federated authentication soruce, removing further steps

If backstage is allowign authentication from multiple tenants, this field should be left blank.

For more details, see https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/home-realm-discovery-policy

99% of the time, this value should be the same as the tenantId, so we could get rid of hte domain hint, and set it to the same value as the tenant id automatically.
We'd need to provide a config option (e.g. `isMultiTenant: true`) to opt out of this.
For those edge cases, this would be a breaking change.

I decided to go with specifying the `domain_hint` seperatly for now just in case my assumptions are wrong and there are more cases wher ehte `domain_hint` will get in the way.
We can always make this the default behaviour later on.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-19 23:01:14 +01:00
Patrik Oldsberg bae9015f2b Merge pull request #20683 from backstage/mob/routed-tabs-fix
core-components: make RoutedTabs not explode when rendering without tabs
2023-10-19 20:51:59 +02:00
Patrik Oldsberg bdb4fbf83f Merge pull request #20689 from kuangp/fix/config-loader
fix(configLoader): properly resolve targets into absolute paths
2023-10-19 20:45:34 +02:00
Patrik Oldsberg 8fed4d5e75 Merge pull request #20688 from backstage/rugvip/wait
search: more reliable wait in test
2023-10-19 20:35:34 +02:00
Phil Kuang 22ca64f117 fix(configLoader): properly resolve targets into absolute paths
Signed-off-by: Phil Kuang <pkuang@factset.com>
2023-10-19 13:57:38 -04:00
Patrik Oldsberg 1f0b6b1e48 search: more reliable wait in test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-19 19:06:01 +02:00
Patrik Oldsberg acc1b37a23 Merge pull request #20687 from backstage/rugvip/schema
frontend-app-api: fix configuration schema
2023-10-19 18:59:19 +02:00