Commit Graph

295 Commits

Author SHA1 Message Date
Eric Peterson c781f49fc4 Merge pull request #7435 from backstage/codemod/extension-names
Add names to all core extensions provided by plugins
2021-10-05 16:21:43 +02:00
Alex Rybchenko 7c5351791e updated tests
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2021-10-05 11:31:58 +02:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Emma Indal dcd3e1d968 update api report and prop on Reader component in EntityPageDocs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-30 12:40:48 +02:00
Emma Indal 1f73801d05 replace entityId with entityRef
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-30 12:21:10 +02:00
Eric Peterson 16b5b3d11a Clean up API report, export types.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-09-30 10:27:06 +02:00
Emma Indal 5098f4a7c9 use legacy techdocs page as fallback
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-29 20:06:36 +02:00
Emma Indal 145999f827 bring back not found
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-29 19:30:33 +02:00
Emma Indal a1cc051415 export components
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-29 19:11:27 +02:00
Emma Indal 776f625b9c TechDocsPage children to be both render function and plain component
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-29 19:11:27 +02:00
Emma Indal 0549587ebf TechDocsPage to accept children and withSearch prop
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-29 19:10:15 +02:00
Emma Indal 9bf6fe97cb add tests for TechDocsPage with custom header
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-29 19:10:15 +02:00
Patrik Oldsberg cbc0a83184 Merge pull request #5675 from ayshiff/feature/techdocs-e2e
Feature/techdocs e2e
2021-09-29 13:46:13 +02:00
Fredrik Adelöw 92c3d6dc04 Merge pull request #7356 from backstage/dependabot/npm_and_yarn/testing-library/react-hooks-7.0.2
build(deps): bump @testing-library/react-hooks from 3.4.2 to 7.0.2
2021-09-28 15:25:56 +02:00
Fredrik Adelöw f5e6961bc8 slow down there fella
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-28 14:09:12 +02:00
Patrik Oldsberg 1c43d2c25c Merge pull request #7331 from johanhammar/fix-copy-documentation-link-to-clipboard
fix(techdocs): fix copy documentation link to clipboard url
2021-09-28 13:21:37 +02:00
Patrik Oldsberg e4ecdb48a2 techdocs: format TechDocsPage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-28 11:39:31 +02:00
Patrik Oldsberg 174c574311 Merge branch 'master' into feature/techdocs-e2e
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-28 11:12:31 +02:00
Johan Hammar 3df2e8532b fix(techdocs): fix copy documentation link to clipboard url
Signed-off-by: Johan Hammar <johan.hammar@gmail.com>
2021-09-26 16:31:38 +02:00
Andre Wanlin 0f74a2f479 Add check for TechDocs annotation on entity
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-25 10:11:42 -05:00
Oliver Sand be13dfe61a Make techdocs context search bar width adjust on smaller screens
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-16 12:23:00 +02:00
Patrik Oldsberg d0d78ebc7c Merge pull request #7181 from backstage/rugvip/descriptions
Add package descriptions + separate table for plugins in API reference
2021-09-15 17:25:27 +02:00
Jussi Hallila 9fb0503c15 Tweak lowecasing, export Optios type
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-09-15 15:31:03 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Jussi Hallila 44aac03eb7 Update tech docs search filters to be aware when to use legacy paths and when not.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-09-07 15:55:02 +02:00
Ruben Lindström 7f00902d97 Search Bar Home Page Component (#7013)
feat: add search bar home page component
2021-09-03 14:50:14 +02:00
Aurelio Saraiva d288ffc77a fixed typo camelcase
Signed-off-by: Aurelio Saraiva <aureliosaraiva@gmail.com>
2021-08-31 09:51:07 -03:00
Aurelio Saraiva 37b29bd5a5 Merge branch 'master' into techdoc_title 2021-08-30 18:17:19 -03:00
Jussi Hallila 30ed662a35 Implement in-context search bar for tech docs. (#6651)
* Implement in-context search bar for tech docs

* Add in-context search functionality to tech docs
* Use the existing backend search functionality with tech docs specific filters
* Use material-ui autocomplete to display 10 first search results
* Add tests

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Remove context and replace it with `withSearch` prop.

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Bump search-common devp to latest

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Rename types file to not conflict with hardcoded types.d.ts.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-08-27 12:21:48 +02:00
Fredrik Adelöw 3c14f71b08 Merge pull request #6880 from kuangp/fix/feedbackUrl
fix(techdocs): generate correct feedback urls for GitHub
2021-08-25 15:26:34 +02:00
Phil Kuang 90c68a2ca8 fix(techdocs): generate correct feedback urls for GitHub
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-19 11:12:36 -04:00
Aurelio Saraiva 60169a761d renamed function to customTitle
Signed-off-by: Aurelio Saraiva <aureliosaraiva@gmail.com>
2021-08-18 19:34:16 -03:00
Aurelio Saraiva ce02607532 added title
Signed-off-by: Aurelio Saraiva <aureliosaraiva@gmail.com>
2021-08-18 19:02:04 -03:00
Eric Peterson 787bc08262 Finish TechDocs migration to composability API.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-08-12 14:38:26 +02:00
Eric Peterson 52547371fb Merge branch 'master' into techdocs-common/case-sensitive-migration
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-08-12 11:27:43 +02:00
Phil Kuang 80582cbec4 feat(techdocs): implement composable home page
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-10 10:03:26 -04:00
Phil Kuang 10ef115554 refactor(EntityListDocsTable): support custom columns and actions
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-10 10:03:25 -04:00
Phil Kuang a440d3b389 refactor(techdocs): rework TechDocsHome to use EntityListProvider
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-10 10:03:24 -04:00
Eric Peterson add5ee5d97 Use lower-case links within techdocs plugin; allow legacy behavior with config.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-08-10 13:38:07 +02:00
Patrik Oldsberg 8a3e465910 techdocs: switch to xhr-based event source polyfill
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-10 10:03:01 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Ben Lambert 71ca123f24 Merge pull request #6698 from adrianke77/fix-techdocs-feedback-link-breaking-with-Git-subgroups-in-path
fix Techdocs feedback link breaking with Gitlab subgroups in path
2021-08-04 13:05:10 +02:00
Adrian Ke 1d65bd490d fix Techdocs feedback link breaking with Git subgroups in path
Signed-off-by: Adrian Ke <adrian.ke@grabtaxi.com>
2021-08-04 10:34:59 +08:00
Ben Lambert 8f5befa35e Merge pull request #6691 from Patil2099/master
Fix All Material UI Warnings
2021-08-03 20:18:56 +02:00
Pankaj Patil d56c390e8f Fix All Material UI Warnings
Signed-off-by: Pankaj Patil <pankaj.patil2099@hotmail.com>
2021-08-03 21:49:08 +05:30
Camila Belo db58cf06c2 fix(techdocs-plugin): apply review suggestions
- strict regex scope to avoid security issues
- add techdocs prefix to the changeset file

Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-08-03 08:56:01 +02:00
Camila Belo b24a18e406 fix(techdocs-plugin): do not sanitize safe head links
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-08-03 08:44:48 +02:00
Phil Kuang 11c370af20 feat(catalog-backend): support filtering on property existence
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-07-25 10:40:51 -04:00
Eric Peterson 59e2987eb0 Forbid style tags, per existing test.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-21 16:32:14 +02:00
Eric Peterson 106ac9aa35 Clean up unneeded tag/attr allow lists.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-21 15:39:03 +02:00