Commit Graph

54 Commits

Author SHA1 Message Date
Patrik Oldsberg 10e5d6f8aa Remove NavItemBlueprint in favor of page-based nav discovery
Drop the deprecated NavItemBlueprint from the public API and migrate core
plugins to set title and icon on PageBlueprint instead. AppNav keeps
backward compatibility for legacy nav-item extensions via an internal
core.nav-item.target data ref.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-19 11:00:46 +02:00
Andre Wanlin bb7febddd6 Merge pull request #33252 from AdityaK60/devtools-bui-config
Migrate ConfigContent Component to Backstage UI
2026-04-30 07:02:45 -05:00
Asish Kumar b15ef55be1 devtools: refresh scheduled tasks after trigger or cancel
Closes #32861

Triggering or cancelling a scheduled task from the DevTools Scheduled
Tasks page previously left the table showing the pre-action state, so
users had to refresh the browser (which also reset the plugin selector)
to see the new status.

Switch `useScheduledTasks` to `useAsyncRetry` so it exposes a `refresh`
function, and call it after each trigger/cancel action in
`ScheduledTasksContent`. The refresh happens in a `finally` block so the
table also updates when the action itself fails, reflecting whatever the
backend ended up recording.

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
2026-04-24 02:47:49 +05:30
Aditya Kumar 79d88e534e Making suggested changes
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2026-04-08 09:15:21 +05:30
Aditya Kumar 4e265fec15 Merge branch 'master' into devtools-bui-config 2026-04-01 08:30:32 +05:30
Patrik Oldsberg aa22de55f4 fix: restore NFS header migration regressions
Restore page theming and header metadata for the migrated NFS pages so the new BUI headers preserve the same context and navigation as before. This also makes the DevTools landing tab deterministic and adds focused regression coverage for the scaffolder and TechDocs fixes.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 15:05:39 +01:00
Patrik Oldsberg f4a1edd2b0 Align NFS headers with existing BUI page patterns
Update migrated NFS pages to use the existing HeaderPage contract instead of extending Backstage UI, and move DevTools to real subpages with the legacy DevTools content blueprint removed.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 15:05:38 +01:00
Patrik Oldsberg aa29b508d1 Migrate NFS pages to HeaderPage
Always render the plugin header for page blueprints and move page-level actions into the Backstage UI header pattern for affected NFS pages.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 15:05:38 +01:00
Patrik Oldsberg ed8d9ce67c further NFS icon migration and alignment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-03-16 21:39:40 +01:00
Fredrik Adelöw 239c8dcfd2 cleanup
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-11 20:32:31 +01:00
Fredrik Adelöw 85f38c29d1 devtools: Add cancel task operation to scheduled tasks
Renames useTriggerScheduledTask to useScheduledTasksOperations and adds
cancelTask alongside triggerTask, with shared isLoading/error state. Adds
CancelScheduledTask type to devtools-common and cancelScheduledTask to the
DevToolsApi interface and client, hitting the existing scheduler cancel
endpoint. The ScheduledTasksContent UI now shows both trigger and cancel
buttons per task row.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-03-11 16:47:24 +01:00
Aditya Kumar 9e88f0ce40 made changes suggested by copilot
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2026-03-10 10:24:51 +05:30
Aditya Kumar 08c922e557 migrate ConfigContent component to Backstage UI
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
2026-03-10 09:53:18 +05:30
thomvaill afabb37104 fix(devtools): urlencode task IDs when calling trigger route
Signed-off-by: thomvaill <thomvaill@bluebricks.dev>
2026-02-26 16:50:57 +01:00
Patrik Oldsberg 018ca876d0 add plugin title and icons
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-17 11:55:34 +01:00
Yash Oswal f2612c20e5 fix(devtools): improve permission feedback in ScheduledTasksContent
Updated the `ScheduledTasksContent`  component to provide better visual
feedback when a user lacks permission to run a task. A new
`CreateNotAllowed` component displays a disabled block icon with a
tooltip instead of the default error behavior.

Signed-off-by: Yash Oswal <yoswal@redhat.com>
2026-01-23 13:00:32 +05:30
secustor 8cf3f520c9 remove unnecessary path from route key
Signed-off-by: secustor <sebastian@poxhofer.at>
2026-01-02 22:51:44 +01:00
secustor 5408b0dd26 implement Contents interface
Signed-off-by: secustor <sebastian@poxhofer.at>
2026-01-02 22:12:26 +01:00
secustor 5cf10cd702 Merge main
Signed-off-by: secustor <sebastian@poxhofer.at>
2026-01-02 20:58:22 +01:00
williamwu-mongodb c89d74b763 address feedback
Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>
2025-12-09 12:07:00 -08:00
secustor 9abc06d335 fix:linting issue
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-12-09 15:36:51 +01:00
secustor c8a5183169 Merge branch 'master' into feat/add-devtools-extension
Signed-off-by: secustor <sebastian@poxhofer.at>

# Conflicts:
#	plugins/catalog-unprocessed-entities/package.json
#	plugins/devtools/report-alpha.api.md
#	plugins/devtools/src/alpha/plugin.tsx
#	yarn.lock
2025-12-09 13:45:01 +01:00
williamwu-mongodb 291bf9df13 feat: add scheduled tasks UI to devtools plugin
Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

remove circular dependency

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

remove another unused backend defaults dependency

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

revert package.json

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

revert the other package.json

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

modify yarn lock file

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

fix api report for type

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

fix bulid api reports

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback and fixes

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback and fixes

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

add changeset

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

rebase yarn.lock

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

fix import for task response type

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

fix lint

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

fix debounce import

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

add lodash

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

remove debounce logic

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

remove unused auth

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

readd back changeset

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

remove example app from changeset

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

Update plugins/devtools/src/components/Content/ScheduledTasksContent/ScheduledTasksContent.tsx

Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

Update .changeset/short-lizards-find.md

Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>

address feedback

Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>
2025-12-06 13:13:33 -08:00
Patrik Oldsberg 1c7ea4a3e8 plugins: remove unnecessary use of convertLegacyRouteRef(s)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 14:36:02 +01:00
Patrik Oldsberg d02db50b42 plugins: cleanup unnecessary use of compatWrapper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 12:56:54 +01:00
secustor 45c2618e1f implement change requests
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-10-22 22:32:29 +02:00
secustor 81242cb5d9 add missing export
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-10-03 13:16:03 +02:00
secustor eda37c161d implement suggestions
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-16 22:22:58 +02:00
secustor e405ca9b7a chore: fix api reports
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-03 18:43:36 +02:00
secustor be6cef5dab refactor: move blueprints to react package
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-03 18:21:53 +02:00
secustor f4d9086331 some simplification
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-03 17:57:03 +02:00
secustor 45c8149619 add prettier and remove volta references
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-03 17:43:22 +02:00
secustor 42d31b0a03 feat(devtools): working example
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-03 17:18:16 +02:00
secustor 1f95d7903d feat(devtools): add extension to allow providing tabs
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-03 17:07:02 +02:00
Patrik Oldsberg 147482b700 frontend-plugin-api: switch naming recommendation from define to defineParams
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 17:17:05 +02:00
Patrik Oldsberg e4ddf22854 frontend-plugin-api,catalog-react: remove default* prefix from blueprint params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 16:46:55 +02:00
Patrik Oldsberg f2f133ce8d update all usages of ApiBlueprint
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-07-28 22:27:13 +02:00
Patrik Oldsberg 18c64e9bd4 plugins: add info.packageJson loader for all plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-05-15 11:25:53 +02:00
Patrik Oldsberg fb58f20613 frontend-plugin-api: rename plugin ID option to pluginId
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-04-27 12:53:08 +02:00
Paul Schultz 2e26579e06 chore: update react imports
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-04-08 07:35:24 -05:00
blam 75e79518ea chore: some more migrations
Signed-off-by: blam <ben@blam.sh>
2024-08-15 16:24:20 +02:00
Patrik Oldsberg 9b356dcaac frontend-plugin-api: renamed createPlugin to createFrontendPlugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-14 16:01:25 +02:00
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
Andre Wanlin 1d6af04ad0 Refactored to removed items cover by fetchApi
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-02-18 09:19:04 -06:00
Andre Wanlin a0e33935a9 Updated to use fetchApi as per ADR013
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-02-18 08:56:32 -06:00
Patrik Oldsberg 086294bda1 Merge pull request #22384 from npiyush97/fix-19339
accessibility: fix a11y issue in devtools plugin
2024-01-22 19:33:20 +01:00
Patrik Oldsberg 2e248d0c46 Merge pull request #22041 from awanlin/topic/devtools-alpha-di
[DevTools] Added alpha support for the New Frontend System
2024-01-21 11:31:37 +01:00
npiyush97 c12a86ca91 fix a11y issue in devtools plugin
Signed-off-by: npiyush97 <npiyush35@gmail.com>
2024-01-19 20:46:06 +05:30
Andre Wanlin b89d8be689 Added alpha support for the New Frontend System
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-13 15:21:59 -06:00
Andre Wanlin 995d2809b8 Added new @backstage/no-top-level-mui4-imports rule
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-13 14:47:02 -06:00