Commit Graph

446 Commits

Author SHA1 Message Date
Mike Lewis 5bab4fe2a5 scaffolder: merge default field extensions with custom field extensions
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-08-12 17:44:24 +01: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
Fredrik Adelöw c6af335602 Merge pull request #6723 from backstage/mob/entity-name-picker
Add EntityNamePicker component to validate entity names in templates
2021-08-09 15:29:19 +02:00
Patrik Oldsberg 362ea5a728 app,create-app: fix index path redirect
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-07 14:47:04 +02:00
Patrik Oldsberg 9f8f8dd6b4 app,create-app: remove / prefixes in sidebar items
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-07 14:19:11 +02:00
Himanshu Mishra fbbc9aafc2 example-app: add an example of adding a custom Scaffolder field extension
This is useful to visualize what it takes to add a new custom Scaffolder field extension.

Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-08-05 16:09:51 +01:00
Mike Lewis b6d5c2a35b Include EntityNamePickerFieldExtension in example app
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-08-05 16:09:51 +01:00
blam 63844ee6e0 chore; fixing up the search stuff
Signed-off-by: blam <ben@blam.sh>
2021-08-02 14:23:43 +02:00
Emma Indal c31fd98a4f remove changes to components
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-08-02 14:22:59 +02:00
Emma Indal da97e50580 move default styles into components instead of searchpage
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-08-02 14:22:58 +02:00
Nicolas Torres 39ab9a4150 Updates changeset and adds EntityProcessingErrorsPanel to entitypage
Signed-off-by: Nicolas Torres <nicolast@backbase.com>
2021-07-27 11:24:28 +02:00
Nicolas Torres 128e57e077 Merge remote-tracking branch 'upstream/master' into feature/show-catalog-errors
Signed-off-by: Nicolas Torres <nicolast@backbase.com>
2021-07-22 19:21:17 +02:00
Nicolas Torres 5b98e2ba31 Shows entity processing errors
Signed-off-by: Nicolas Torres <nicolast@backbase.com>
2021-07-22 18:57:54 +02:00
Philipp Hugenroth 2316beb6b3 Set height of page to 100vh
- Add SidebarScroll Wrapper

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-06-29 12:59:43 +02:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
blam 14770c4f3a chore: tidy up the app and fix tsc warnings
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:22:26 +02:00
blam 34900b0ca6 chore: removing the test usages in the app, and fixing the typings
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 128279fc4f feat: finishing up some other use cases and re-writing some logic with some more tests
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam d7f0b0bed6 chore: working through beginning API
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 765632fac7 feat: introduce collection of feature flags and make FlatRoutes treat feature flags as first class citizens
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
Eric Peterson 5c9c34dee9 Merge pull request #5927 from backstage/iameap/search-alpha-release
[Search] Initial, Alpha Release
2021-06-09 19:21:15 +02:00
yafanasiev 9bdd2cca89 fix: add missing token on job list call to Github API
Signed-off-by: yafanasiev <y.afanasiev@easygenerator.com>
2021-06-06 14:13:32 +03:00
Eric Peterson 66507c5830 <SearchFilterNext /> -> <SearchFilter />, with deprecation warning.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 18:11:40 +02:00
Eric Peterson 094ec9cdb8 <SearchBarNext /> -> <SearchBar />, with deprecation warning.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 18:06:45 +02:00
Eric Peterson 42b3615b04 <SearchResultNext /> -> <SearchResult />, with deprecation warning.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 18:00:47 +02:00
Eric Peterson ab548091ed <SearchPageNext /> -> <SearchPage />, with upgrade instructions and deprecation warnings.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-04 17:41:34 +02:00
Camila Belo 6b8d6ccd13 refactor(plugins/search): make components more stylable
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Camila Belo 8f3994141b Set default value for SearchBar as zero
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Emma Indal c8284149c2 composability refactoring
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:05 +02:00
Emma Indal 720fd2f360 prettier
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal b6a633ca31 it's 2021
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Emma Indal 578028c9a6 consistent composability between result list items and filters
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Eric Peterson 94e13c8892 Making Search page composable.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-03 16:28:04 +02:00
Johan Haals c023c72230 Catalog: Wrap EntityOrphanWarning in EntitySwitch
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-19 09:36:42 +02:00
Johan Haals fce24d462c catalog: Display orphanWarning, fix grid spacing
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-18 11:28:02 +02:00
Fredrik Adelöw 19a56f024b Merge pull request #5361 from jmgrimes/catalog-model-system-resources-and-component-dependencies-cards
Added system resources and component dependencies (components/resources) cards
2021-05-17 22:16:39 +02:00
Jonah Grimes 38df6b64f3 Added explicit variant='gridItem' to entity has dependencies cards.
Signed-off-by: Jonah Grimes <jgrimes@appriss.com>
2021-05-06 08:17:12 -04:00
Jonah Grimes 35965ab248 added EntityHasResourcesCard to system overview page, added dependencies page to display dependency components and dependency resources to service and website page layout
Signed-off-by: Jonah Grimes <jgrimes@appriss.com>
2021-05-06 08:17:11 -04:00
Marcus Eide 44fc883189 Merge branch 'master' into eide/shortcut-plugin 2021-04-30 14:12:10 +02:00
Marcus Eide a4c5361c0e Use storageApi.forBucket and add back a default implementation in the plugin
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-30 09:42:08 +02:00
Marcus Eide f8eb7cacc7 Provide implementation of the api in the app instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-22 10:33:40 +02:00
alde e7d2fb93f0 Create code-coverage plugin
In order to use this plugin, you must set the
`backstage.io/code-coverage` annotation on your entity.

```yaml
backstage.io/code-coverage: enabled
```

There's a feature to only include files that are in SCM in the coverage
report, this is helpful to not count generated files for example. To
enable this set the `backstage.io/code-coverage` annotation to
`scm-only`.

```yaml
backstage.io/code-coverage: scm-only
```

The backend plugin provides API endpoints for submitting code-coverage
reports. Currently jacoco and cobertura are supported. These reports
are normalized to a json format that is stored in the database.

```json
// curl -X POST -H "Content-Type:text/xml" -d @cobertura.xml "localhost:7000/api/code-coverage/Component/default/entity-name?coverageType=cobertura"
{
    "links": [
        {
            "href": "http://localhost:7000/api/code-coverage/Component/default/entity-name",
            "rel": "coverage"
        }
    ]
}
```

It also provides some additional API endpoints:
* Viewing the latest report
* Viewing a more condensed history of code coverage values
* Retrieving file contents from source-control, used by the UI

Provides a graph of code coverage change over time, as well as a file
view where you can see the highlighted lines.

Co-authored-by: nissayeva <natashaaay@gmail.com>
Signed-off-by: alde <r.dybeck@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:18 +02:00
Marcus Eide f9a100f39c Remove unintentional export in plugins.ts
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-20 16:32:51 +02:00
Marcus Eide 7812b6ac3c Add new shortcut plugin
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-20 15:07:18 +02:00
Patrik Oldsberg cbfa75bf69 Merge pull request #5351 from backstage/rugvip/plugin-detective
core: allow plugins to be discovered through the react tree
2021-04-16 10:42:30 +02:00
Adam Harvey 670acd88ee Move diagram to system page
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-04-15 21:05:26 -04:00
Patrik Oldsberg 46b7f84c89 example-app: remove explicit plugin imports and some unused plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-15 19:15:16 +02:00
Jussi Hallila 77f13cb4ca Update roadie plugins to newer versions
* Enable plugins in entity page
* Change plugin imports to use new named exports

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-12 15:19:42 +02:00