You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: misk-admin/api/misk-admin.api
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1001,7 +1001,7 @@ public final class misk/web/v2/DashboardIndexAccessBlock {
1001
1001
public final class misk/web/v2/DashboardIndexAction : misk/web/actions/WebAction {
1002
1002
public static final field Companion Lmisk/web/v2/DashboardIndexAction$Companion;
1003
1003
public fun <init> (Lmisk/scope/ActionScoped;Lmisk/web/v2/DashboardPageLayout;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lwisp/deployment/Deployment;)V
1004
-
public final fun get ()Ljava/lang/String;
1004
+
public final fun get (Ljava/lang/String;)Ljava/lang/String;
1005
1005
}
1006
1006
1007
1007
public final class misk/web/v2/DashboardIndexAction$Companion {
logger.info("Failed to load Misk-Web tab: ${dashboardTab.menuCategory} / ${dashboardTab.menuLabel}Responsse: $tabEntrypointJsResponse")
93
+
logger.info("Failed to load Misk-Web tab: ${dashboardTab.menuCategory} / ${dashboardTab.menuLabel}Response: $tabEntrypointJsResponse")
89
94
div("container mx-auto p-8") {
90
95
AlertError("Failed to load Misk-Web tab: ${dashboardTab.menuCategory} / ${dashboardTab.menuLabel}")
91
96
AlertInfo("In real environments, this is usually because of a web build failure in CI. Try checking CI logs and report this bug to your platform team. If the CI web build fails or is not run, the web assets will be missing from the Docker context when deployed and fail to load.")
AlertError("Failed to load tab: ${dashboardTab.menuCategory} / ${dashboardTab.menuLabel}")
121
+
if (iframeTab.iframePath =="/_tab/web-actions-v4/index.html") {
122
+
AlertInfo("In local development, this can be from not having your local dev server (ie. Webpack) running or not doing an initial local frontend build to generate the necessary web assets. Try running in your Terminal: \$ gradle :misk:misk-admin:web-actions:buildWebActionsTab.")
123
+
} else {
124
+
AlertInfo("In local development, this can be from not having your local dev server (ie. Webpack) running or not doing an initial local frontend build to generate the necessary web assets. Try running in your Terminal: \$ gradle buildMiskWeb OR \$ misk-web ci-build -e.")
125
+
}
126
+
}
127
+
}
128
+
} elseif (deployment.isReal) {
129
+
// If real environment, only check static resource action and show limited 404 message
130
+
val tabEntrypointJsResponse = staticResourceAction
logger.info("Failed to load tab: ${dashboardTab.menuCategory} / ${dashboardTab.menuLabel} Response: $tabEntrypointJsResponse")
134
+
div("container mx-auto p-8") {
135
+
AlertError("Failed to load tab: ${dashboardTab.menuCategory} / ${dashboardTab.menuLabel}")
136
+
AlertInfo("In real environments, this is usually because of a web build failure in CI. Try checking CI logs and report this bug to your platform team. If the CI web build fails or is not run, the web assets will be missing from the Docker context when deployed and fail to load.")
137
+
}
138
+
}
139
+
}
140
+
}
141
+
} else {
142
+
// If tab is not Misk-Web, show generic error message if src doesn't resolve
0 commit comments