[UI] Hover instance (#12038)

* Add new user setting

* Implement hover-card for RenderInstance

* Allow override when calling RenderInstance

* Simplify

* Add link icon

* Adjust logic

* Simplify logic

* update playwright

Ref: https://github.com/microsoft/playwright/issues/40998
This commit is contained in:
Oliver
2026-05-30 23:00:52 +10:00
committed by GitHub
parent d2bec03d93
commit 5832718637
6 changed files with 107 additions and 6 deletions
@@ -10,6 +10,7 @@ export interface ModelInformationInterface {
url_detail?: string;
api_endpoint: ApiEndpoints;
admin_url?: string;
pk_field?: string;
supports_barcode?: boolean;
icon: keyof InvenTreeIconType;
}
+1
View File
@@ -15,6 +15,7 @@ export interface InstanceRenderInterface {
link?: boolean;
navigate?: any;
showSecondary?: boolean;
showHover?: boolean;
extra?: Record<string, any>;
}