Commit Graph

10655 Commits

Author SHA1 Message Date
Adam Harvey d171e60c2c Prettier 2021-02-19 14:14:07 -05:00
Adam Harvey e488f05026 add changeset 2021-02-19 14:13:08 -05:00
Adam Harvey 38c8c8a538 Changing loading and error msg 2021-02-19 14:12:21 -05:00
Adam Harvey a45dd99b90 Remove unused deps 2021-02-19 13:28:54 -05:00
Oliver Sand e799e74d4e Fix OverflowTooltip cutting of the bottom of letters like "g" and "y"
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 18:03:14 +01:00
Oliver Sand 88f1f1b607 Truncate and show ellipsis with tooltip if content of createMetadataDescriptionColumn is too wide
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 17:52:58 +01:00
Oliver Sand 437bac5490 Make the description column in the catalog table use up as much space as possible before hiding overflowing text
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 17:52:58 +01:00
Oliver Sand d6593abe6f Remove columns from cards where it's duplicate information
Resolves #4553

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 17:52:58 +01:00
Fredrik Adelöw 6c09312dca Merge pull request #4580 from johnnyiller/techradar/issue-4493-description-popup
tech-radar: add description dialog box
2021-02-19 16:45:07 +01:00
Jeff Feng 0261f772c3 Added tip for viewing data in demo.backstage.io
Default view of demo.backstage.io is Owned/Starred software, so it looks like there is no data. Added tip to click "All" to see example software in the catalog. (Maybe default to "All" or add some to "Owned/Starred" in the future?)
2021-02-19 10:04:46 -05:00
Fredrik Adelöw 385cb44b3f Merge pull request #4586 from egnwd/feat/org-themed-ownership-card
Org: Themed ownership card
2021-02-19 15:48:18 +01:00
Fredrik Adelöw 2fe1588ae8 Merge pull request #4598 from lndbrg/patch-1
Add acast to adopters
2021-02-19 15:12:05 +01:00
Patrik Oldsberg 4a15d5da5e Merge pull request #4599 from backstage/rugvip/clarify
app-backend: clarify schema serialization troubleshooting steps
2021-02-19 14:28:57 +01:00
Patrik Oldsberg 1c06cb3126 app-backend: clarify schema serialization troubleshooting steps 2021-02-19 12:58:41 +01:00
Olle Lundberg 56544eac81 Add Olle and Lundberg to vocab 2021-02-19 12:43:04 +01:00
Olle Lundberg 085736eca3 Sort vocabulary file 2021-02-19 12:43:04 +01:00
Olle Lundberg 1a8e19486f Add acast to adopters 2021-02-19 12:43:04 +01:00
Fredrik Adelöw c368ae7eef Merge pull request #4595 from lndbrg/master
Recommend a safer find command
2021-02-19 11:50:31 +01:00
Fredrik Adelöw 82a6292e19 Merge pull request #4593 from backstage/dependabot/npm_and_yarn/roadiehq/backstage-plugin-github-pull-requests-0.7.6
chore(deps): bump @roadiehq/backstage-plugin-github-pull-requests from 0.6.3 to 0.7.6
2021-02-19 11:32:22 +01:00
Himanshu Mishra 75b63e92b0 Merge pull request #4587 from backstage/orkohunter/techdocs-fix-publishers-on-windows 2021-02-19 11:29:06 +01:00
Oliver Sand d8bce7cdc7 Merge pull request #4571 from SDA-SE/feat/domain-owner
Display the owner of the domain on the domain card
2021-02-19 11:07:09 +01:00
Himanshu Mishra 5851bd5d2b TechDocs: Use expect.assertions to make sure the error messages are checked 2021-02-19 11:06:27 +01:00
Himanshu Mishra 346a0feecf TechDocs: Fallback to ENTITY_DEFAULT_NAMESPACE when namespace is undefined 2021-02-19 10:58:53 +01:00
dependabot[bot] 798cbf6336 chore(deps): bump @roadiehq/backstage-plugin-github-pull-requests
Bumps [@roadiehq/backstage-plugin-github-pull-requests](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests) from 0.6.3 to 0.7.6.
- [Release notes](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests/releases)
- [Commits](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 09:51:31 +00:00
Johan Haals fe2a804742 Merge pull request #4547 from backstage/mob/scaffolder-frontend
Stateless scaffolding
2021-02-19 10:39:15 +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
Fredrik Adelöw 13d3eb6087 Merge pull request #4578 from backstage/freben/yarn-again
yarn.lock update
2021-02-19 10:08:48 +01:00
Johan Haals 10e08f9adb Merge branch 'master' into mob/scaffolder-frontend 2021-02-19 10:01:10 +01:00
Oliver Sand 347137ccf2 Display the owner of a domain on the domain card
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 09:57:47 +01:00
Oliver Sand 9615e68fb6 Forward link styling of EntityRefLink and EnriryRefLinks into the underling Link
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 09:57:47 +01:00
Oliver Sand 49f9b7346d Rename type of ItemCard to subtitle and allow to pass react nodes
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 09:57:47 +01:00
Olle Lundberg 79f7461709 Recommend a safer find command
Piping find to xargs is dangerous as xargs will interpret any characters
defined in $IFS (Input Field Separator), usually <space><tab><newline>,
as separators in its input. This might lead to unintented operations
on files if any of the input to xargs containts any of the characters
defined in $IFS, most often this happens if a file contains a space in
its name. The safest way to execute a find | xargs is to force find to
separate its output with null characters and tell xargs to read null
characters as the delimiter AND also tell xargs to put the argument to
the command its supposed to run in quotation marks:
   `find ... -print0 | xargs -I {} -0 rm -rf "{}"`
When running with GNU find you most likely also want to add
--no-run-if-empty or -r for short:
   `find ... -print0 | xargs -I {} -0 --no-run-if-empty rm -rf "{}"`
This stops the invocation of xargs if there is no input on stdin, this
is however not portable and will break on BSD/macOS, the portability is
not a concern in this case though as the find | xargs happens in docker.

As you can see this gets unwieldly fast and despite using every
precaution, it's still not safe. When xargs is run with -0 to treat null
characters as the delimiter for its input and a file has a null
character in its name, xargs will treat the null character in the file
name as a delimiter and xargs will exhibit the same behaviour as it did
with spaces in file names.

Ahhh, isn't Unix wonderful? Loose APIs defined as untyped strings...

There is a salvation though! Most find xargs pipes are unnecessary and
can be replaced with built in functionality in find, the -exec flag.
Now, -exec comes in 2 flavours, one that is terminated with \; (the most
commonly used) and one terminated with \+ (the one most people actually
want to use). \; spawns a new invocation per found entry, thus creating
some process creation overhead. \+ instead concatenates the found
entries as arguments to the program we want to run, resulting in less
overhead and usually a faster execution.
Since find is smart enough to be aware of what constitutes an entry
(i.e it doesn't treat the entries as just a bunch of random strings to
read from stdin) it makes the whole invocation of the program, rm in
this case, safe even if it contains characters defines in $IFS or null
characters.

And with this overly elaborate commit message I bring you this 1 line
change.
2021-02-19 09:57:32 +01:00
Fredrik Adelöw a06db97a2d Merge pull request #4479 from OscarDHdz/search-filter-for-templates
Search and Filter for Templates
2021-02-19 09:38:23 +01:00
Johan Haals c1c3184b38 create-app: add catalog-client dependency 2021-02-19 09:35:14 +01:00
Johan Haals c352ed59b5 Merge branch 'master' into mob/scaffolder-frontend 2021-02-19 09:26:51 +01:00
Tadashi Nemoto d66fa57802 Fix Japanese Good Morning(お早う -> おはよう) 2021-02-19 15:16:22 +09:00
Jonah Back e0f141d36e fix test after changing config schema 2021-02-18 19:37:58 -08:00
Jonah Back fd3214557c Fix ts error 2021-02-18 16:13:33 -08:00
Jeff Durand 9abacc8ebc need to export type as type 2021-02-19 00:10:33 +00:00
Jeff Durand 6262a56614 fixing based on review 2021-02-19 00:04:34 +00:00
Jonah Back a5ff1a1e0f Address review comments 2021-02-18 15:34:54 -08:00
Himanshu Mishra 1520308958 TechDocs/GCS: Improve test coverage by testing other two methods 2021-02-18 23:19:33 +01:00
Himanshu Mishra b032111f37 TechDocs: Clarify differences in sourceFile Path among publishers 2021-02-18 22:32:43 +01:00
Himanshu Mishra 1e4ddd71da TechDocs: Add changeset about publisher fix on windows 2021-02-18 22:21:38 +01:00
Himanshu Mishra 0084248dc0 TechDocs/Azure: mockFs inserts unexpected characters in windows path 2021-02-18 22:19:29 +01:00
Himanshu Mishra b0fc3549e6 TechDocs/Azure: Update mock library tests to work with Windows 2021-02-18 22:16:48 +01:00
Stefan Buck 6266ddd113 chore: remove app:diff command from cli 2021-02-18 22:12:46 +01:00
Elliot Greenwood e3bc5aad70 Add change set
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-18 21:05:25 +00:00
Elliot Greenwood b25530b34b Add storybook theming to local theme
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-18 21:05:24 +00:00
Elliot Greenwood 4aa9b100fb Allow for theming inside the OwnershipCard
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-18 21:05:24 +00:00