Commit Graph

306 Commits

Author SHA1 Message Date
github-actions[bot] 844da89090 Version Packages 2021-03-25 17:46:13 +00:00
Eric Peterson 6db7ef3f93 Merge pull request #4968 from adrianke77/techdocs-if-outdated-serve-and-start-build
TechDocs: show outdated docs and asnyc build new
2021-03-25 11:15:01 +01:00
Oliver Sand ea9d977e7d Fix icons of admonitions
The fixes one display issue of #3558

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-25 08:45:19 +01:00
Chongyang Adrian, Ke 74e5042386 fix rebase clashes
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-03-25 11:00:04 +08:00
Chongyang Adrian, Ke aaeb7ecf3c TechDocs: show outdated docs and asnyc build new
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-03-25 10:26:11 +08:00
Chongyang Adrian, Ke 3139f83af5 improve small-screen rendering
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-03-24 14:57:51 +08:00
Chongyang Adrian, Ke 8c32fbb8c4 Add sticky sidebars and footer nav in Techdocs Reader
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-03-23 17:37:35 +08:00
Adrian Ke Chongyang 2aab54319e techdocs: reset scroll position on page navigate (#5018)
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>

Co-authored-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-03-22 16:42:49 +01:00
github-actions[bot] 718eea4f08 Version Packages 2021-03-18 12:31:44 +00:00
Himanshu Mishra e7baa0d2ed TechDocs: Separate backend and frontend config schema declarations
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-16 15:48:46 +01:00
Himanshu Mishra 78e1866688 Merge pull request #4894 from tudi2d/4825-techdocs-breadcrumbs 2021-03-15 12:30:41 +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 5bf51c3db2 Change link to static /docs
Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 14:54:41 +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
github-actions[bot] 0e120c5c66 Version Packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 13:45:44 +01:00
Fredrik Adelöw 702b837b8b Remove all dot-folder imports everywhere
We aren't supposed to import from '.' or '../..' etc; point to the actual node being imported instead. I did allow e.g. '../../bigfolder' however. Going all the way to the individual file could be done too, but is a matter of taste perhaps.

Also ran Organize Imports on all the touched files :)

No changeset since there are no functional changes at all - only the imports changed

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-10 13:43:59 +01:00
Ben Lambert 365a55372a Merge pull request #4868 from rbideau/4867-configure-aws-s3-endpoint
Add techdocs.publisher.awsS3.endpoint config option
2021-03-08 17:22:27 +01:00
Himanshu Mishra d661bece6a Merge pull request #4675 from egnwd/techdocs/header-links 2021-03-08 13:21:43 +00:00
r.bideau ca4a904f6b Add techdocs.publisher.awsS3.endpoint config option
Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
2021-03-08 13:56:32 +01:00
dependabot[bot] 63887ea84d chore(deps-dev): bump @types/node from 12.12.58 to 14.14.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.58 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 13:19:08 +01:00
Fredrik Adelöw 15065ede5e Merge pull request #4803 from backstage/freben/no-item-card
ItemCard: deprecate and replace with composable pieces
2021-03-05 09:35:31 +01:00
Himanshu Mishra ea3d406038 Merge pull request #4714 from erdoganoksuz/feature/OpenStackSwiftPublisher 2021-03-05 07:57:36 +00:00
Fredrik Adelöw 2089de76be ItemCard: deprecate and replace with composable pieces
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-04 19:27:24 +01:00
github-actions[bot] ff2ab4fade Version Packages 2021-03-04 13:11:10 +00:00
erdoganoksuz aa095e469f pull request feedbacks fix.
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 12:16:21 +03:00
Mert Can Bilgiç 54e711826f capp config type has changed
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:28 +03:00
erdoganoksuz de313a1c94 swift publisher
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:02 +03:00
Elliot Greenwood 83883a2ea3 Update plugins/techdocs/src/reader/components/TechDocsPageHeader.tsx
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-03-02 16:50:05 +00:00
Patrik Oldsberg 1a22f83c28 Merge pull request #4647 from backstage/dependabot/npm_and_yarn/testing-library/react-11.2.5
chore(deps): bump @testing-library/react from 10.4.3 to 11.2.5
2021-03-01 18:17:08 +01:00
Erik Larsson 52b5bc3e27 Remove credentials from xhr request. Add techdocs-backend changeset 2021-03-01 12:45:18 +01:00
Erik Larsson 74534a0f8c Move auth token to contrib 2021-03-01 12:29:59 +01:00
Erik Larsson afebbadd34 use token instead of idToken 2021-03-01 12:29:59 +01:00
Erik Larsson 813c6a4f20 add authorization to techdocs api requests 2021-03-01 12:29:58 +01:00
dependabot[bot] bcbff6d76f chore(deps): bump @testing-library/react from 10.4.3 to 11.2.5
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.3 to 11.2.5.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.4.3...v11.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 09:56:31 +01:00
Elliot Greenwood 04b2ecd23c Add link to owner from the techdocs header
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-23 23:56:23 +00:00
Elliot Greenwood 9a03faa997 Add namespace to the component links in the techdocs header
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-23 23:56:23 +00:00
github-actions[bot] 4ae0467c2f Version Packages 2021-02-23 10:31:40 +01:00
Fredrik Adelöw 6ba3a6d39f Merge pull request #4500 from backjo/feature/aws-assume-role
feat: add support for assuming role in plugins that use AWS
2021-02-22 08:32:52 +01:00
Fredrik Adelöw dedee41f57 Merge pull request #4572 from backstage/freben/attr
got rid of some attr and cleaned up a bit in techdocs schema
2021-02-19 10:10:04 +01:00
Jonah Back a5ff1a1e0f Address review comments 2021-02-18 15:34:54 -08:00
github-actions[bot] 4188c2ccb4 Version Packages 2021-02-18 13:23:19 +00:00
Fredrik Adelöw f37992797a got rid of some attr and cleaned up a bit in techdocs schema 2021-02-18 11:15:18 +01:00
Jonah Back 6a9e17dbdd Merge branch 'master' into feature/aws-assume-role 2021-02-16 22:59:25 -08:00
dependabot[bot] 6620965b4f chore(deps): bump sanitize-html from 1.27.0 to 2.3.2
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.0 to 2.3.2.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/commits/2.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 13:02:36 +00:00
Jonah Back 86c391d260 Make roleArn optional
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-11 12:27:37 -08:00
Jonah Back 2499f6cdef feat: add support for assuming role in plugins that use AWS
Signed-off-by: Jonah Back <jback@legalzoom.com>
2021-02-11 11:06:22 -08:00
github-actions[bot] aa49ca2284 Version Packages 2021-02-11 10:15:47 +00:00
Adam Harvey 6f90b912fc Merge branch 'master' of github.com:backstage/backstage into improve-errors 2021-02-08 11:48:19 -05:00
Adam Harvey d84cb8199d Switch to CodeSnippet component 2021-02-08 10:54:48 -05:00