Commit Graph

44858 Commits

Author SHA1 Message Date
Alex Crome 76bad23a8c Microsoft authentication doc clafications
* Add API Permissions to the app registration setup
* Encouraged re-use of an existing app registration over creating a new one.
* Moved the `Adding the provider to the Backstage front end` higher up so it's not so easily missed

Updated the microsoft authentication document to include details on adding API Permissions.
At more relaxed companies, these permissiosn will be silently added to this list the first time they're requested, however in more locked down companies, a directory admin will need to consent to these permissions before users can use them.

Also slighlty reworked the docs to encourate re-using any existing app registration.  This includes renaming the `AUTH_MICROSOFT_*` variables to match the `AZURE_*` ones used throughout other azure integrations.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-10-18 23:14:26 +01:00
Patrik Oldsberg 0507326be6 Merge pull request #20316 from sennyeya/aramis-spotify
update my organization to Spotify
2023-10-02 17:06:52 +02:00
Patrik Oldsberg 91dcf4894c Merge pull request #20279 from backstage/rugvip/starred
catalog: update new alpha setup to include starred entities API
2023-10-02 16:59:15 +02:00
Patrik Oldsberg b5e810eb0b Merge pull request #20020 from backstage/home-page-visit-components-0
[Homepage] Create Top/Recently Visited components
2023-10-02 16:49:00 +02:00
Patrik Oldsberg 4ed0fd2c07 Merge pull request #20313 from backstage/rugvip/e2e-fix
e2e: update stderr filtering, only log filtered lines
2023-10-02 16:12:20 +02:00
Fredrik Adelöw c8f10dbeda Merge pull request #20291 from backstage/freben/catalog-tweak
Deprecated LocationEntityProcessor, added doc comments
2023-10-02 16:11:08 +02:00
Aramis Sennyey 8e15e6a0f7 update organization for sennyeya
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-10-02 09:55:30 -04:00
Fredrik Adelöw 468871dbc0 Merge pull request #19867 from drodil/missing_resource_icon
fix: add missing resource and template app icons
2023-10-02 14:57:13 +02:00
Ben Lambert 252855c803 Merge pull request #20285 from backstage/blam/blogpost
blog: added new adopter blog post
2023-10-02 14:43:34 +02:00
Patrik Oldsberg b57db090f0 Merge pull request #20258 from backstage/camilaibs/create-techdocs-search-result-item-extension
[DI] Create `TechDocs` search result item extension
2023-10-02 14:20:00 +02:00
Patrik Oldsberg ee31c4224e e2e: update stderr filtering, only log filtered lines
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-02 14:19:07 +02:00
Camila Belo e10a5eaae5 fix(home): annotate getVisitName as internal utility
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-02 13:25:43 +02:00
Camila Belo d65cb238e8 fix(home): changeset version
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-02 13:24:22 +02:00
Renan Mendes Carvalho 0c927cab64 feature(app): Adds TopVisited and RecentlyVisited to homepage
This patch adds TopVisited and RecentlyVisited to the homepage example
accessible in http://localhost:3000/home when running yarn dev

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho 14db0dd105 feature(plugins/home): Improves title resolution
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho 7a8b0b4cf3 refactoring(plugins/home): Separate TopVisited and RecentlyVisited
This patch separates the two components to be easier to import them
in the customizable homepage.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho f4cb351de2 fix(plugins/home): Get name for catalog entities fallback to title
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho 5514040b44 rename(plugins/home): VisitsStorageApi and VisitsWebStorageApi
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
Co-authored-by: Avantika Iyer <chick157@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho baa8af646c refactor(plugins/home): Implementations depend only on StorageApi
This patch removes the VisitsApiFactory, promotes CoreStorageVisitsApi
to the main implementation and LocalStorageVisitsApi starts to rely
on WebStorage.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho 72f3ea7042 refactor(plugins/home): Remove any type
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho f997f771da changeset(plugins/home): Adds new Top/Recently Visited components
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho a1a7885ca4 feature(plugins/home): Add support for the != operator
This patch adds support for the != operator on the VisitsApi filterBy
option.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:57 +02:00
Renan Mendes Carvalho bc93253806 refactor(plugins/home): Keep api-report concise.
This patch remove parameter destructuring to simplify api-report
reads.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 64caa4bf20 refactoring(plugins/home): Remove unnecessary injection
This patch removes the injection of localStorage and randomUUID.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 6c93a6799e refactor(plugins/home): Simplify VisitsApi method names
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho c30e715a2b feature(home-plugin): Add default implementation to plugin.ts
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho b53d3537dd feature(home-plugin): Use static methods on Api classes
Confirming with the style guide:
7.Keep constructors private, prefer static factory methods for creating instances.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 6cfcf8a4a7 feature(home-plugin): Adds user scope to storage calls
This patch adds the userEntityRef to the storage key ensuring they are
scoped per user.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho c485469098 feature(home-plugin): VisitApi implementation backed by StorageApi
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 5d671e6220 feature(home-plugin): Create reference implementation (localStorage)
This is a reference implementation using local storage.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho a84cac67ca feature(plugins/home): Remove DoNotTrack functionality
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 09a7f8f285 refactoring(plugins/home): Don't export getToEntityRef
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho c0700220c9 feature(home-plugin): Creates the <VisitListener/> component
This patch creates the <VisitListener/> component to be used on the
app to register user visits enabling the homepage Recently Visited and
Top Visited experience (<VisitedByType/>) to be functional.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho cac684376e refactor(home): Change parameters on saveVisit
Result of a feedback on:
https://github.com/backstage/backstage/pull/19645#discussion_r1313865318

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 6d30b374a0 fix(home): Use luxon instead of date-fns
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:56 +02:00
Renan Mendes Carvalho 160761b049 feature(home-plugin): Rename component to VisitedByType
This renaming is to enable Top Visited and Recently Visited to be
served by the same component. This is to reduce code duplication.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:55 +02:00
Renan Mendes Carvalho 46aa692057 feature(home-plugin): Recently Visited presentation use cases
This patch adds all the presentation use cases for Recently Visited.
Handling loading, few items, custom list sizes etc.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:55 +02:00
Renan Mendes Carvalho ec7fce2d41 feature(home-plugin): Bootstrap <RecentlyVisited/> skeleton.
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-10-02 13:17:55 +02:00
Renan Mendes Carvalho be5853235a doc(home-plugin): Adds documentation on <HomePageVisitedByType/> usage (#19688)
* doc(home-plugin): Adds documentation on <HomePageVisitedByType/> usage

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>

* Update plugins/home/README.md

Co-authored-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com>
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>

* Update plugins/home/README.md

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>

---------

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
Co-authored-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
2023-10-02 13:17:55 +02:00
Lee Mills a6abdc783a Merge pull request #20218 from backstage/propse-new-sponsor
Propsing new end user sponsor & moving myself to emeritus status
2023-10-02 12:12:56 +01:00
Patrik Oldsberg b20dadf0f0 catalog: update new alpha setup to include starred entities API
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-02 12:05:07 +02:00
Patrik Oldsberg 625d991f3a Merge pull request #20298 from backstage/rugvip/windev
backend-next: fixes for development on Windows
2023-10-02 11:02:40 +02:00
Patrik Oldsberg b0ca06e347 Merge pull request #20262 from backstage/camilaibs/create-explore-search-result-item-extension
[DI] Create `Explore` search result item extension
2023-10-02 10:58:31 +02:00
Patrik Oldsberg 7d2cda8569 Merge pull request #20243 from backstage/camilaibs/create-adr-search-result-item-extension
[DI] Create `ADR` search result item extension
2023-10-02 10:58:19 +02:00
Fredrik Adelöw 057e40abc4 Merge pull request #20297 from backstage/renovate/graphql-ws-5.x-lockfile
fix(deps): update dependency graphql-ws to v5.14.1
2023-10-02 10:55:21 +02:00
Fredrik Adelöw 0c3f29416f Merge pull request #20296 from backstage/renovate/cron-2.x-lockfile
fix(deps): update dependency cron to v2.4.4
2023-10-02 10:54:44 +02:00
Fredrik Adelöw 73bcdaacc0 Merge pull request #20293 from backstage/renovate/react-text-truncate-0.x-lockfile
fix(deps): update dependency @types/react-text-truncate to v0.14.2
2023-10-02 10:50:01 +02:00
Fredrik Adelöw 3d45cd5ddd Merge pull request #20290 from backstage/renovate/react-sparklines-1.x-lockfile
fix(deps): update dependency @types/react-sparklines to v1.7.3
2023-10-02 10:49:22 +02:00
Fredrik Adelöw 7d504c7679 Merge pull request #20289 from backstage/renovate/passport-1.x-lockfile
fix(deps): update dependency @types/passport to v1.0.13
2023-10-02 10:48:17 +02:00
blam f062a60986 chore: make pretty
Signed-off-by: blam <ben@blam.sh>
2023-10-02 10:06:26 +02:00