Commit Graph

665 Commits

Author SHA1 Message Date
Patrik Oldsberg 275e7ba746 Merge pull request #10001 from backstage/rugvip/nouser
catalog-react: removed useOwnUser
2022-03-05 09:14:34 +01:00
Patrik Oldsberg 7a1dbe6ce9 techdocs: remove custom ownership handling
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-04 16:23:14 +01:00
Patrik Oldsberg fc6290a76d catalog-react: removed useOwnUser
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-04 16:03:51 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
Patrik Oldsberg 7af635f2af Merge branch 'master' into jhaals/dep-favoriteEntityTooltip 2022-03-03 14:23:35 +01:00
Fredrik Adelöw 899f196af5 update to use getEntityByRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-03 13:27:25 +01:00
Fredrik Adelöw 36aa63022b deprecate EntityName, introduce CompoundEntityRef
deprecate getEntityName, introduce getCompoundEntityRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-02 21:54:45 +01:00
blam c8222292bf chore: renamed formatEntityRefTitle to humanizeEnityRef
Signed-off-by: blam <ben@blam.sh>
2022-03-02 17:08:25 +01:00
Johan Haals f590d1681b core-plugin-api: Deprecate favoriteEntityTooltip and favoriteEntityIcon
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-02 15:48:17 +01:00
Patrik Oldsberg 303063a655 catalog-react: added MockStarredEntitiesApi + usage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 17:33:28 +01:00
Patrik Oldsberg c077b432b8 catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 13:52:46 +01:00
Johan Haals 31649fbd62 Merge pull request #9843 from backstage/dependabot/npm_and_yarn/react-text-truncate-0.18.0
chore(deps): bump react-text-truncate from 0.17.0 to 0.18.0
2022-02-28 10:35:19 +01:00
Camila Belo 78dab02156 feat(plugin-techdocs): add copy to clipboard feedback
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-28 09:54:04 +01:00
dependabot[bot] 64b430f80d chore(deps): bump react-text-truncate from 0.17.0 to 0.18.0
Bumps [react-text-truncate](https://github.com/ShinyChang/react-text-truncate) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/ShinyChang/react-text-truncate/releases)
- [Changelog](https://github.com/ShinyChang/React-Text-Truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ShinyChang/react-text-truncate/commits)

---
updated-dependencies:
- dependency-name: react-text-truncate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:11:12 +00:00
Emma Indal b67a5a6af9 Merge pull request #9730 from backstage/emmaindal/techdocs-api-report 2022-02-25 17:23:04 +01:00
Emma Indal 2f96848ee9 update tests for TechDocsIndexPage
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:52:29 +01:00
Emma Indal 69a5d47ff8 export TechDocsReaderPage as routable extension, do not export DefaultTechDocsHome as routable extension
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:24:51 +01:00
Emma Indal 8049538eb1 TechDocsIndexPage to fall back to DefaultTechDocsHome as LegacyTechDocsHome is deprecated
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:23:49 +01:00
Emma Indal d0c90c4f64 replace all TechDocsPage -> TechDocsReaderPage and TechDocsPageHeader -> TechDocsReaderPageHeader except in docs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:21:11 +01:00
Emma Indal 231d0dc8df update changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 12:09:26 +01:00
Eric Peterson 0c7c7aae2b Merge pull request #9789 from backstage/fix-plugin-techdocs-footer
[TechDocs]: Adjust footer copyright
2022-02-25 11:44:01 +01:00
Camila Belo 5b0f9a75fa fix(plugin-techdocs): remove both old and new footer copyright
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-25 10:58:28 +01:00
Emma Indal 2bd91261a6 unpack props inside fn
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:47 +01:00
Emma Indal ce2dcca3d1 do not plublicly export factories directly, but through tables
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:47 +01:00
Emma Indal e1a3d0df92 fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:46 +01:00
Emma Indal da29cb2998 Update LegacyTechDocsPage.tsx
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:46 +01:00
Emma Indal 98e974a994 export/import fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:46 +01:00
Emma Indal 071c1c1de0 api report clean ups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:46 +01:00
Emma Indal 88a1205329 export search components
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:46 +01:00
Emma Indal 0eb8b4ef49 rename index file
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:45 +01:00
Emma Indal 2fb1d5e622 TechDocs reader page header to follow new naming pattern
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:45 +01:00
Emma Indal fc9e664329 improve naming of techdocs reader page component, to avoid exporting two with same name
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:44 +01:00
Emma Indal 5a85ef7f3f improve project structure for home Table + Grid components
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:44 +01:00
Emma Indal 505adf271a move TechDocsSearch into search components
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:44 +01:00
Emma Indal 542b839631 change naming of DocsResultListItem -> TechDocsSearchResultListItem to follow pattern
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 10:38:43 +01:00
Eric Peterson 3d94a70270 Merge pull request #9791 from backstage/techdocs/fix-search
[TechDocs] Set entity filters as they change in TechDocsSearchBar
2022-02-25 10:35:10 +01:00
Eric Peterson 2491754cfc Clearer filter set, safer hook dependencies.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-02-25 10:10:42 +01:00
Eric Peterson 737a5fdf91 Update entity filter on entityName change.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-02-24 19:49:13 +01:00
Erik Larsson c5fda066b1 Collapse techdocs sidebar on small devices
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2022-02-24 19:46:24 +01:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Eric Peterson e007c4fd7c Merge pull request #9766 from backstage/techdocs-plugin-theme-tweaks
[TechDocs] Adjust reader search position
2022-02-23 18:51:17 +01:00
Fredrik Adelöw d63ecedf79 Merge pull request #9732 from backstage/jhaals/useOwnedEntities
catalog-react: Deprecate useOwnedEntities & useOwnUser
2022-02-23 17:14:06 +01:00
Camila Belo 74ff136e9c fix(plugin-techdocs): adjust reader search margins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-23 16:44:19 +01:00
Fredrik Adelöw 943401405d Merge pull request #9671 from backstage/freben/targetRef
add `EntityRelation.targetRef`
2022-02-23 15:20:32 +01:00
Fredrik Adelöw d0582b2d0f stitch targetRef and backwards compat inject it on read
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 09:38:40 +01:00
Johan Haals d4f67fa728 catalog-react: Deprecate useOwnedEntities & useOwnUser
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-22 16:19:45 +01:00
Patrik Oldsberg ed09ad8093 catalog-model: move LocationSpec to catalog-backend
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-21 18:53:13 +01:00
Eric Peterson 78e31e6b68 Merge pull request #9244 from jonathan-ash/techdocs-reader-custom-error-page
Added the option to supply a custom error page to TechDocsPage
2022-02-21 17:50:03 +01:00
Eric Peterson 3675e7120c Minor feedback
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-02-21 17:12:50 +01:00
Johan Haals b776ce5aab catalog-react: Rename useEntityListProvider hook to useEntityList
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-21 13:32:37 +01:00