Commit Graph

465 Commits

Author SHA1 Message Date
github-actions[bot] 45a681aa6a Version Packages 2021-09-02 10:41:57 +00: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
github-actions[bot] e7130884a0 Version Packages 2021-08-26 11:25:27 +00: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
Eric Peterson 30c0801e96 Merge pull request #6709 from backstage/techdocs-common/case-sensitive-migration
[TechDocs] Beta!
2021-08-25 13:06:31 +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
github-actions[bot] 6f4c73ece4 Version Packages 2021-08-19 12:20:01 +00: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 0d48fccb46 Merge branch 'master' into techdocs-common/case-sensitive-migration
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-08-12 16:28:40 +02: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
github-actions[bot] c734d6995a Version Packages 2021-08-12 08:21:56 +00: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
Himanshu Mishra 0f6c44d39e Merge pull request #6697 from backstage/mob/bump-prettier-in-create-app 2021-08-06 09:39:01 +02:00
Patrik Oldsberg 990cc3bacb packages: switch @types/react dependency to use *
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-05 12:33:48 +02:00
github-actions[bot] 326cbd7408 Version Packages 2021-08-05 00:24:56 +00: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
github-actions[bot] 32b48219ce Version Packages 2021-07-29 10:32:54 +00:00
Ben Lambert 9148b7fdcb Merge pull request #6444 from kuangp/feat/catalogFilter
feat(catalog-backend): support filtering on property existance
2021-07-29 10:29:26 +02:00
blam b05210593d chore: bump the version of material-ui core to 4.12.2
Signed-off-by: blam <ben@blam.sh>
2021-07-27 23:44:43 +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 e1f02fb2a2 Merge pull request #6551 from backstage/iameap/dompurify
[TechDocs] Use "secure by default" sanitization library
2021-07-24 23:52:53 +02:00
github-actions[bot] f51fcaeba2 Version Packages 2021-07-22 10:52:38 +00: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 3789b66040 Remove sanitize-html library in favor of DOMPurify
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-21 15:40:07 +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
Eric Peterson d80be05359 Move sanitize transformer out of its special dir
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-21 15:38:45 +02:00
Eric Peterson 16218839ba MVP DOMPurify Swap over sanitize-html
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-21 15:37:36 +02:00
Eric Peterson cdc223c1b7 Merge pull request #6492 from SDA-SE/feat/techdocs-async-transformer
[TechDocs] Refactor the techdocs transformers to return `Promise`s and await all transformations
2021-07-21 15:15:53 +02:00
Eric Peterson 3b50bd9548 Merge pull request #6375 from RoadieHQ/gh4568-tech-docs-collator
Implement DefaultTechDocsCollator
2021-07-21 15:01:48 +02:00
Dominik Henneke af46ffabfd Merge remote-tracking branch 'upstream/master' into feat/techdocs-async-transformer 2021-07-21 14:00:11 +02:00
Eric Peterson 17b6919001 Merge pull request #6491 from SDA-SE/feat/techdocs-reduce-rerender
[TechDocs] Only update the path when the content is updated
2021-07-21 13:52:48 +02:00
Dominik Henneke 445440a408 Make sure all old transformations are cancelled when the hook dependencies changed
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-21 13:52:29 +02:00
Dominik Henneke 7d67750eae Merge remote-tracking branch 'upstream/master' into feat/techdocs-async-transformer 2021-07-21 12:43:50 +02:00
Dominik Henneke 391c4d9b45 Merge remote-tracking branch 'upstream/master' into feat/techdocs-reduce-rerender 2021-07-19 17:11:07 +02:00
Philipp Hugenroth 280c0c60be Merge branch 'master' into entity-page-responsiveness 2021-07-19 11:10:43 +02:00
Philipp Hugenroth c642324708 Legacy option for overflow wrap & update changeset bump
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-07-19 11:06:28 +02:00