Commit Graph

86 Commits

Author SHA1 Message Date
Tomasz Szuba e8f026a300 Use esm exports from react-use library
Signed-off-by: Tomasz Szuba <tszuba@box.com>
2024-03-19 19:53:04 +00:00
blam ab185c688a chore: update usages of the customStyles to use classes instead
Signed-off-by: blam <ben@blam.sh>
2024-03-14 11:48:17 +01:00
Aditya Kumar 9f2df811c9 Added Material UI 4 import rule to plugins/bazaar
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2024-03-13 11:52:28 +05:30
Aditya Kumar b80043d2b5 Added Material UI 4 import rule to plugins/bazaar
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2024-03-13 11:15:43 +05:30
Aditya Kumar 4323feb76e Added Material UI 4 import rule to plugins/bazaar
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2024-03-13 11:09:11 +05:30
Aditya Kumar cb64381adf Added Material UI 4 import rule to plugins/bazaar
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2024-03-13 10:34:35 +05:30
Fredrik Adelöw 986dc26fe8 not public
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-22 09:04:05 +01:00
Fredrik Adelöw 5d796829bb lint for illegal role-to-role dependency chains
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-21 17:08:40 +01:00
Patrik Oldsberg 5dfbb920a4 Merge pull request #21096 from backstage/philipph/mui5-fix-menuitem
Remove `button` prop from used MaterialUI `MenuItem` component
2023-11-14 11:08:05 +01:00
Fredrik Adelöw 0c27e45bd9 Merge pull request #20834 from AmbrishRamachandiran/alertbazaar
Added alert popup whenever user link/unlink entity with project
2023-11-09 17:01:27 +01:00
Philipp Hugenroth 69ee8d75f4 Remove button prop
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-11-08 14:50:44 +01:00
Fredrik Adelöw 62b5922916 remove unnecessary usage of deprecated BackstageTheme
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-10-26 16:58:59 +02:00
AmbrishRamachandiran 4e66e37bd1 Added alert popup whenever user link/unlink entity with project
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-26 16:12:38 +05:30
Fredrik Adelöw 0e50a29b32 Merge pull request #20631 from AmbrishRamachandiran/bazaar-decending
Adding descending sort (Z-A) in a bazaar plugin
2023-10-25 13:53:50 +02:00
AmbrishRamachandiran 138eac62fd Name changes
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-18 17:21:00 +05:30
AmbrishRamachandiran 9f4ae86b0c Replaced the string compare logic with local compare
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-18 09:44:58 +05:30
AmbrishRamachandiran c5aad900e3 Adding decending sort in a bazaar plugin
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-17 11:13:16 +05:30
AmbrishRamachandiran b3acba9091 Added alert popup in the bazaar plugin
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-16 13:02:34 +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
Niklas Aronsson 1886befacf Bazaar: Set TablePagination as a div
The default component is a "td" which will cause DOM validation
warnings.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2023-05-04 15:11:34 +02:00
Niklas Aronsson bdb5c1ede1 Bazaar: Remove h4 from ItemCardHeader title props
Since the title will be wrapped by a h4 in the "ItemCardHeader" a
h4 will have a h4 element as child. And the following warning is
logged:

warning: validateDOMNesting(...): <h4> cannot appear as a child of <h4>.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2023-05-04 15:11:34 +02:00
GustavoAdrianGimenez ef155ba5e2 Fix docs disabled condition
Signed-off-by: GustavoAdrianGimenez <gustavoadriangimenez@gmail.com>
2023-04-08 11:59:52 -03:00
GustavoAdrianGimenez 91b7bde16f Fix disabled docs link comparission
Signed-off-by: GustavoAdrianGimenez <gustavoadriangimenez@gmail.com>
2023-04-07 12:14:55 -03:00
GustavoAdrianGimenez 75c0edbfd4 Add docs input and link in bazaar plugin
Signed-off-by: GustavoAdrianGimenez <gustavoadriangimenez@gmail.com>
2023-04-07 12:10:10 -03:00
Simon Chapman b8330e8b02 Add missing exports
Signed-off-by: Simon Chapman <sdcpublic@outlook.com>
2023-03-22 16:43:19 +00:00
Simon Chapman 96b868cd1c Bazaar ProjectPreview style override via HomePage
Signed-off-by: Simon Chapman <sdcpublic@outlook.com>
2023-03-22 16:43:10 +00:00
Brian Fletcher c995e3d939 export BazaarPageProps instead of HomePageProps
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-16 09:00:42 +00:00
Brian Fletcher 99d52523c7 add changeset and api report
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-13 16:24:58 +00:00
Brian Fletcher 35f7332d61 allow customization of bazaar title and subtitle
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-13 16:12:14 +00:00
Carlos Esteban Lopez Jaramillo a52566971c Merge branch 'master' into feat/BCKSTG-93-paragraphs
Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com>
2023-01-11 13:31:50 -05:00
Carlos Esteban Lopez 2bdd1f92c1 fix: Add paragraph prop for bottom margin
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:08:53 -05:00
Carlos Esteban Lopez e75f39e603 feat: Lint paragraphs except in test files & fix
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:08:53 -05: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
Niklas Aronsson 41d0b0a24a Bazaar: Added 'isBazaarAvailable' helper
The EntityBazaarInfoCard shows the bazaar data for components that
have a bazaar item linked. The isBazaarAvailable helper makes it
possible to only include the EntityBazaarInfoCard for components
that actually have a bazaar project linked.

Closes #15013

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-12-30 13:08:01 +01:00
Frida Jacobsson 08dd6725e5 Create 'large' and 'small' props
Signed-off-by: Frida Jacobsson <fridahelenajacobsson@gmail.com>
2022-12-18 17:37:15 +01:00
Frida Jacobsson 0bf734dbac Add soft cut to ProjectCard in Bazaar
Signed-off-by: Frida Jacobsson <fridahelenajacobsson@gmail.com>
2022-12-09 11:42:22 +01:00
Frida Jacobsson 312962da30 Add title as optional parameter
Signed-off-by: Frida Jacobsson <fridahelenajacobsson@gmail.com>
2022-11-30 10:39:09 +01:00
Frida Jacobsson 9b1891061c Replace name with title, and make card height adjustable
Signed-off-by: Frida Jacobsson <fridahelenajacobsson@gmail.com>
2022-11-27 16:40:39 +01:00
Frida Jacobsson 28b39e0e0e Changed style of BazaarOverviewCard
Change-Id: I3e4e62c35015a7f0c39c521e985652a44e4b9047
Signed-off-by: Frida Jacobsson <fridaja@axis.com>
2022-10-21 09:39:10 +02:00
Frida Jacobsson f7c2855d76 Create "BazaarOverviewCard" that can be added to Backstage homepage.
Change-Id: I6e2565360cb3f7af27f60a0336cd87a75b3018c3
Signed-off-by: Frida Jacobsson <fridaja@axis.com>
Signed-off-by: Frida Jacobsson <fridahelenajacobsson@gmail.com>
2022-10-10 08:35:57 +02:00
Niklas Aronsson c0352bbc69 Bazaar: Link to the member user catalog entity
If the optional user entity ref is available the link for a member will
point to the backstage catalog page for the user. Otherwise it will
default to the current "https://github.com/${displayName}".

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-10-04 14:23:12 +02:00
Niklas Aronsson 1dd12349d1 Bazaar plugin: Remove 'Router' as 'RoutedTabs' children
During the 'react-router-dom' upgrades the Bazaar routing broke. This
patch removes the wrapping 'Router' from the 'RouterTabs' children.

Opening the Bazaar plugin would result in the followin error:

"A <Route> is only ever to be used as the child of <Routes> element,
never rendered directly. Please wrap your <Route> in a <Routes>."

Also removed 'react-router-dom' as a peer dependency of the bazaar
plugin.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-09-10 17:54:13 +02:00
Niklas Aronsson 77abf50acf Baazar plugins: Fixed api warnings
"bazaar" and "baazar-backend" has been removed from the list of
"allowed warnings"."

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-07-15 12:43:44 +02:00
Marcus Crane 84c9e35a2f Exported SortView frontend component from the Bazaar plugin
Signed-off-by: Marcus Crane <marcus@utf9k.net>
2022-05-05 16:03:57 +12:00
Fredrik Adelöw 89f5cb7237 review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-22 19:58:27 +01:00
Naijith Gopal 68b4b16006 bazaar: use token for backend requests
Signed-off-by: Naijith Gopal <gnaijith78@gmail.com>
2022-03-22 19:51:36 +01:00
Fredrik Adelöw 410e592552 stop using EntityRef in bazaar
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 12:01:27 +01:00
Patrik Oldsberg 8a6950b822 bazaar: stop using catalogRouteRef
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:08 +01:00
Patrik Oldsberg 0988dc5238 switch out react-use imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-18 10:11:29 +01:00
Patrik Oldsberg 51fbedc445 plugins: migrate usage of deprecated IdentityApi methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:51:30 +01:00