Commit Graph

44870 Commits

Author SHA1 Message Date
blam 3748620277 feat: use OT metrics instead of prom-client
Signed-off-by: blam <ben@blam.sh>
2023-10-03 10:37:51 +02:00
blam 7184708a20 chore: tinker around a little bit
Signed-off-by: blam <ben@blam.sh>
2023-10-03 10:37:51 +02:00
blam 1ef5c2720d feat: turn on some simple monitoring with prometheus for now
Signed-off-by: blam <ben@blam.sh>
2023-10-03 10:37:51 +02:00
Fredrik Adelöw 3f4a44aef3 Merge pull request #20267 from vdizengremel/fix/deep-nested-relations-ownership-card
fix(#20232): load relations to get children of children
2023-10-03 09:46:49 +02:00
Fredrik Adelöw e875f3f257 Merge pull request #20242 from awanlin/topic/clarify-docker-node-and-debian-version
Clarified docker node and Debian version
2023-10-03 09:13:12 +02:00
Fredrik Adelöw 2fe23ff546 Merge pull request #20283 from alecjacobs5401/ajacobs/task-schedule-timing-upsert
fix(backend-tasks): prevent immediately triggering tasks out of band
2023-10-03 09:10:59 +02:00
Alec Jacobs 06451c88d1 test(backend-tasks): refine tests to be more explicit
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2023-10-02 12:15:52 -07:00
Alec Jacobs ddd76ac98d fix(backend-tasks): prevent immediately triggering tasks out of band
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2023-10-02 08:40:11 -07: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
vdizengremel ca3ab66bbe fix(#20232): handle circular relation
Signed-off-by: vdizengremel <victor.dizengremel@octo.com>
2023-10-02 14:11:28 +02:00
vdizengremel 88fa5516c3 fix(#20232): handle intermediate groups
Signed-off-by: vdizengremel <victor.dizengremel@octo.com>
2023-10-02 14:11:28 +02:00
vdizengremel ad97403fca fix(#20232): refacto test to facilitate maintenance and the add of new cases
Signed-off-by: vdizengremel <victor.dizengremel@octo.com>
2023-10-02 14:11:28 +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