Commit Graph

35 Commits

Author SHA1 Message Date
PIYUSH NEGI d9362942e4 Update EntityAdrContent.tsx
Signed-off-by: PIYUSH NEGI <43876655+npiyush97@users.noreply.github.com>
2023-07-11 09:37:04 +05:30
npiyush97 a86315d99e added changes regarding ui and fix version range
Signed-off-by: npiyush97 <npiyush35@gmail.com>
2023-07-04 14:52:54 +05:30
npiyush97 2b4513abb7 fix-18413
Signed-off-by: npiyush97 <npiyush35@gmail.com>
2023-06-28 18:59:28 +05:30
blam 018553e29f chore: remove cross-fetch dep from plugins
Signed-off-by: blam <ben@blam.sh>
2023-06-13 16:25:53 +02:00
Brian Phillips 3656c99897 Parse and display MADR v3 front matter correctly
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2023-05-24 17:06:20 -05:00
Axel Koehler b12cd5dc22 feat(plugins/adr): render SupportButton only if config is set
Signed-off-by: Axel Koehler <axel@staffbase.com>
2023-05-08 15:52:34 +02:00
Thomas Cardonne a221836330 feat(plugin-adr): use fetchApi instead of raw fetch
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
2023-04-07 11:41:53 +02:00
Andy Ladjadj 79c2dd6d54 Update plugins/adr/src/components/EntityAdrContent/EntityAdrContent.tsx
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 16:52:53 +01:00
Andy Ladjadj 668b5733b1 fix(plugins/adr): replace url record by the path
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:46 +01:00
Andy Ladjadj f66fb122ff feat(plugins/adr): render subdirectories in list
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:45 +01:00
Andy Ladjadj 77aa3a4d47 fix(plugins/adr): use path attribute to fetch file instead of name
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
2023-03-24 13:46:10 +01:00
Adam Harvey ac87cddad6 chore: Improve API Reference package description
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2023-03-17 22:18:42 -04:00
Patrik Oldsberg 50696fd5cb Merge pull request #16029 from dweber019/feat/adr-navigation
Improve navigation of adr plugin
2023-02-14 13:32:19 +01:00
David Weber 0a32911d8a feat: improve navigation of adr plugin
Signed-off-by: David Weber <david.weber@w3tec.ch>
2023-02-06 19:37:53 +01:00
Phil Kuang ec34b535c0 feat(AdrSearchResultListItem): support displaying icon & hook up extensions
Signed-off-by: Phil Kuang <pkuang@factset.com>
2023-02-01 15:06:16 -05:00
Kiss Miklos 456b53b6ec do not show error when annotation is missing
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2023-01-17 02:15:56 +01:00
Carlos Esteban Lopez 1daac71e74 fix: Apply linter <span> rule
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:07:40 -05:00
Robert Bunning 54baecbd1a Implement caching via response etags for adr backend
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-23 16:26:33 -05:00
Robert Bunning 42ecf54e48 Export api types
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-23 13:32:18 -05:00
Robert Bunning 654e8ac5af Added api for adr plugin
Switched to using an AdrApi and removed the fetchers for adr reading.

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-23 13:11:49 -05:00
Robert Bunning b267b6c045 Adjusted dependencies
Changed @types imports to be dev dependencies. Changed import of DiscoveryApi to remove reference to @backstage/plugin-permission-common

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-23 10:07:05 -05:00
Robert Bunning 5b6a1920cd Changed endpoint names
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-23 09:24:53 -05:00
Robert Bunning 39b54c6dd0 Fixed missing hyphen in param tag
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-21 12:44:16 -05:00
Robert Bunning 4b08032f84 Addressed linter warnings
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-21 11:04:29 -05:00
Robert Bunning fd19425ebe Added tests
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-20 14:58:57 -05:00
Robert Bunning 99fea85ddf Updated documentation
Added comments to exports. Updated READMEs for the adr-backend and adr plugins.

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-19 11:24:03 -05:00
Robert Bunning fc1d240190 Add UrlReader support for adr plugin
The adr-backend plugin has been expanded with api endpoints that use url readers to read adr docs. This allows the adr frontend plugin to work with sites other than github, such as Azure DevOps. Created the concept of an AdrFileFetcher, which is used for retrieving adr file listings and content. EntityAdrContent and AdrReader have an optional prop to specify an override of the AdrFileFetcher to be used. By default, it uses the octokit fetcher for the octokit service.

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
2022-12-19 08:22:04 -05:00
Jonathan Sundquist 81e945d052 move link outside of ternary
Signed-off-by: Jonathan Sundquist <jonathan.sundquist@factset.com>
2022-11-15 09:24:28 -06:00
Jonathan Sundquist a19cffbeed fix(search): update to only link title in search results
Signed-off-by: Jonathan Sundquist <jonathan.sundquist@factset.com>
2022-11-14 10:16:44 -06:00
Phil Kuang b489de83b1 fix(ADRs): handle trailing slashes and collator errors
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-08-23 10:26:58 -04:00
Fredrik Adelöw c8bb0ff8ce just some 🧹 api cleaning
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 13:30:02 +02:00
Phil Kuang bfc7c50a09 feat(adrs): display associated entity in AdrSearchResultListItem
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-08-09 09:04:32 -04:00
Phil Kuang 7d47e7e512 feat(adrs): track discover event and result rank in AdrSearchResultListItem
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-06-15 12:34:29 -04:00
Phil Kuang a6458a120b feat(adrs): add highlighting to AdrSearchResultListItem
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-05-18 14:23:50 -04:00
Phil Kuang e73075a301 feat(ADR): implement ADR plugin
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-26 10:29:38 -04:00