Commit Graph

11534 Commits

Author SHA1 Message Date
nliesenfeld 1f98a6ff82 Add changeset
Signed-off-by: nliesenfeld <nliesenfeld@spotify.com>
2021-03-12 10:36:23 -05:00
nliesenfeld bb848ac5e8 Don't list the cluster if there are no resources deployed there
Signed-off-by: nliesenfeld <nliesenfeld@spotify.com>
2021-03-12 10:32:06 -05:00
Himanshu Mishra 4344ef8be8 Merge pull request #4935 from backstage/orkohunter/techdocs-rebuild-on-mixed-setup 2021-03-12 16:14:01 +01:00
Patrik Oldsberg 19be64f5ea todo: added index test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 16:00:19 +01:00
Patrik Oldsberg f5cfded56a todo-backend: add router tests + tweaks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 15:56:18 +01:00
tudi2d 50be5c09aa Add rootRouteRef to test app options to fix component tests
Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 15:30:39 +01:00
tudi2d 634577d887 Change hardcoded docs link to use route reference
- Specify Changelog

Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 14:54:45 +01:00
tudi2d 83bfc98a39 Add changeset & sign off
Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 14:54:43 +01:00
tudi2d 5bf51c3db2 Change link to static /docs
Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 14:54:41 +01:00
erdoganoksuz b7a061077f prettier
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:35:25 +03:00
erdoganoksuz 6af831266e Merge branch 'master' into bug-fix/locale-case 2021-03-12 15:33:51 +03:00
erdoganoksuz 5a52272043 prettier
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:33:15 +03:00
Patrik Oldsberg 96d862bd1e todo-backend: add TodoReaderService tests + tweaks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 13:29:55 +01:00
erdoganoksuz cd3395835d prettier
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:16:11 +03:00
erdoganoksuz 196d8ec327 prettier
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:14:17 +03:00
erdoganoksuz 9ca0e40094 locale added all case conversion
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:06:01 +03:00
Patrik Oldsberg b2f1ac111b todo-backend: add index test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 11:57:44 +01:00
Patrik Oldsberg 9393f7dfe7 todo-backend: add tests for TodoScmReader and make constructor public
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 11:50:13 +01:00
Himanshu Mishra 8fdb4d8e00 techdocs: backend responds with an error if publisher type is not supported
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 11:40:12 +01:00
Himanshu Mishra 2dd8cef6fc docs/techdocs: Add doc string about etag in Metadata type
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 11:34:39 +01:00
Himanshu Mishra 75941ca364 techdocs: techdocs_metadata.json could be missing, ignore the error
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 11:30:00 +01:00
Himanshu Mishra a6067fe42d techdocs: Add missing await when checking for existing docs
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 11:23:35 +01:00
Patrik Oldsberg da6bce39e4 todo-backend: added comment parser tests and tweaks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 11:06:03 +01:00
Himanshu Mishra 37189b54ab Merge pull request #4933 from backstage/orkohunter/docs-techdocs-faq-about-annotation
docs: Add TechDocs FAQ about annotation value when using external build
2021-03-12 10:40:53 +01:00
Himanshu Mishra 11242ac41e Apply suggestions from code review
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 08:55:17 +01:00
Fredrik Adelöw 75ae6f6559 Merge pull request #4936 from backstage/dependabot/npm_and_yarn/ora-5.3.0
chore(deps): bump ora from 4.0.4 to 5.3.0
2021-03-12 07:46:08 +01:00
Fredrik Adelöw 83af2bc799 Merge pull request #4937 from backstage/dependabot/npm_and_yarn/testing-library/user-event-12.8.3
chore(deps): bump @testing-library/user-event from 12.0.7 to 12.8.3
2021-03-12 07:43:24 +01:00
Fredrik Adelöw 2cfdb35d96 Merge pull request #4938 from backstage/dependabot/npm_and_yarn/react-hot-loader-4.13.0
chore(deps): bump react-hot-loader from 4.12.21 to 4.13.0
2021-03-12 07:42:24 +01:00
dependabot[bot] f7504fd789 chore(deps-dev): bump @types/js-yaml from 3.12.5 to 4.0.0
Bumps [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml) from 3.12.5 to 4.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 04:20:02 +00:00
dependabot[bot] fbb590df2d chore(deps): bump react-hot-loader from 4.12.21 to 4.13.0
Bumps [react-hot-loader](https://github.com/gaearon/react-hot-loader) from 4.12.21 to 4.13.0.
- [Release notes](https://github.com/gaearon/react-hot-loader/releases)
- [Changelog](https://github.com/gaearon/react-hot-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gaearon/react-hot-loader/commits/v4.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 04:19:09 +00:00
dependabot[bot] 48eb091c7a chore(deps): bump @testing-library/user-event from 12.0.7 to 12.8.3
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.0.7 to 12.8.3.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.0.7...v12.8.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 04:17:18 +00:00
dependabot[bot] 79e8614f88 chore(deps): bump ora from 4.0.4 to 5.3.0
Bumps [ora](https://github.com/sindresorhus/ora) from 4.0.4 to 5.3.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v4.0.4...v5.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 04:06:06 +00:00
Himanshu Mishra 784d39894a techdocs: Replace res.send with res.json
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 01:32:59 +01:00
Himanshu Mishra df905636ff techdocs: Missing type updates in tests
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 01:29:04 +01:00
Himanshu Mishra 424742dc1f techdocs: Add changeset
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 01:17:59 +01:00
Himanshu Mishra cf1b10f651 techdocs: When builder is set to local
1. Do not check for updates if a check has been done in last 60 seconds
2. Use stored etag from techdocs_metadata.json instead of in-memory storage
3. Enable re-building docs when in a mix of basic and recommended setup i.e. local builder with external storage

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 01:11:08 +01:00
Himanshu Mishra 5190e8d80a techdocs: Add etag as techdocs metadata type
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 00:58:41 +01:00
Patrik Oldsberg 6231a9a0d4 todo,todo-backend: add support for filtering
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-12 00:49:40 +01:00
Patrik Oldsberg c07728eec8 todo,todo-backend: add tag field to TodoItems
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 23:37:41 +01:00
Himanshu Mishra c1de2a809a docs: Add TechDocs FAQ about annotation value when using external build and storage
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-11 23:28:13 +01:00
Fredrik Adelöw e07b41751e Merge pull request #4922 from mclarke47/k8s-add-custom-hook-tests
add kubernetes custom hook tests
2021-03-11 22:01:18 +01:00
Patrik Oldsberg 378f77b4f6 todo: add format intro and examples to README
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 21:34:07 +01:00
Patrik Oldsberg fd45472213 todo-backend: add support for configuring the default parser
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 21:23:17 +01:00
Patrik Oldsberg ebeb76822a todo: sync package versions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 20:31:18 +01:00
Nir Gazit 24badb4879 Fixed project slug handling
Signed-off-by: Nir Gazit <nir.gzt@gmail.com>
2021-03-11 21:01:44 +02:00
Nir Gazit e8b2ed9cc6 Changed the way project slug is handled in Jenkins plugin
Signed-off-by: Nir Gazit <nir.gzt@gmail.com>
2021-03-11 20:52:25 +02:00
Patrik Oldsberg 51da6891e0 todo,todo-backend: use @backstage/errors
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 19:39:34 +01:00
Patrik Oldsberg e1d3fcf1c0 todo-backend: review suggestions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 19:39:34 +01:00
Patrik Oldsberg 0d7db68595 Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 19:39:33 +01:00
Emma Indal c8b54c3702 TechDocs Homepage (#4401)
* add tabs to homepage

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add new overview content component

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add new owned content component

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add test for owned content component

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add test for overview content

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* document name to link and change copy to clipboard link

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* rename changeset file

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix types

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move home components out from reader dir to its own dir

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/techdocs/src/reader/components/OverviewContent.tsx

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* enable search in table

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add docs icon to core icons

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add example TechDocs support button config

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use isOwnerOff and useOwnUser to see documents that are owned via group membership

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* cleanup imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* leave techdocs support config out of this PR

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* prettieeeeeer

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* copy paste useOwnUser hook over to techdocs plugin

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete unused package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-11 19:23:32 +01:00