mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
Deploy UI warning update (#4601)
* Deploy UI warning update * Harmonization icons --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
This commit is contained in:
@@ -533,7 +533,7 @@
|
||||
>
|
||||
{:else if notSet == true}
|
||||
<Alert type="error" title="Staging/Prod deploy not set up"
|
||||
>As an admin, go to "Workspace {'->'} Dev/Staging/Prod"</Alert
|
||||
>As an admin, go to Settings {'->'} Workspace {'->'} Deployment UI</Alert
|
||||
>
|
||||
{:else}
|
||||
<Alert type="info" title="Shareable page"
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
Eye,
|
||||
File,
|
||||
FileJson,
|
||||
FileUp,
|
||||
FolderOpen,
|
||||
GitFork,
|
||||
Globe,
|
||||
ChevronUpSquare,
|
||||
History,
|
||||
Pen,
|
||||
Share,
|
||||
@@ -162,7 +162,7 @@
|
||||
},
|
||||
{
|
||||
displayName: 'Move/Rename',
|
||||
icon: FileUp,
|
||||
icon: FolderOpen,
|
||||
action: () => {
|
||||
moveDrawer.openDrawer(path, summary, 'app')
|
||||
},
|
||||
@@ -173,7 +173,7 @@
|
||||
? [
|
||||
{
|
||||
displayName: 'Deploy to staging/prod',
|
||||
icon: Globe,
|
||||
icon: ChevronUpSquare,
|
||||
action: () => {
|
||||
deploymentDrawer.openDrawer(path, 'app')
|
||||
},
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
GitFork,
|
||||
Trash,
|
||||
List,
|
||||
FileUp,
|
||||
Globe,
|
||||
FolderOpen,
|
||||
ChevronUpSquare,
|
||||
Calendar,
|
||||
Share,
|
||||
Archive,
|
||||
@@ -179,7 +179,7 @@
|
||||
},
|
||||
{
|
||||
displayName: 'Move/Rename',
|
||||
icon: FileUp,
|
||||
icon: FolderOpen,
|
||||
action: () => {
|
||||
moveDrawer.openDrawer(path, flow.summary, 'flow')
|
||||
},
|
||||
@@ -197,7 +197,7 @@
|
||||
? [
|
||||
{
|
||||
displayName: 'Deploy to staging/prod',
|
||||
icon: Globe,
|
||||
icon: ChevronUpSquare,
|
||||
action: () => {
|
||||
deploymentDrawer.openDrawer(path, 'flow')
|
||||
},
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
import FileInput from '../fileInput/FileInput.svelte'
|
||||
import { goto } from '$lib/navigation'
|
||||
import type DeployWorkspaceDrawer from '$lib/components/DeployWorkspaceDrawer.svelte'
|
||||
import { FileUp, Globe, Pen, Share, Trash } from 'lucide-svelte'
|
||||
import { FolderOpen, Globe, Pen, Share, Trash } from 'lucide-svelte'
|
||||
import { isDeployable } from '$lib/utils_deployable'
|
||||
import { getDeployUiSettings } from '$lib/components/home/deploy_ui'
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
return [
|
||||
{
|
||||
displayName: 'Move/Rename',
|
||||
icon: FileUp,
|
||||
icon: FolderOpen,
|
||||
action: () => {
|
||||
moveDrawer.openDrawer(path, summary, 'raw_app')
|
||||
},
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
Code,
|
||||
Copy,
|
||||
Eye,
|
||||
FileUp,
|
||||
FolderOpen,
|
||||
ChevronUpSquare,
|
||||
GitFork,
|
||||
List,
|
||||
Pen,
|
||||
@@ -207,7 +208,7 @@
|
||||
},
|
||||
{
|
||||
displayName: 'Move/Rename',
|
||||
icon: FileUp,
|
||||
icon: FolderOpen,
|
||||
action: () => {
|
||||
moveDrawer.openDrawer(script.path, script.summary, 'script')
|
||||
},
|
||||
@@ -218,7 +219,7 @@
|
||||
? [
|
||||
{
|
||||
displayName: 'Deploy to staging/prod',
|
||||
icon: FileUp,
|
||||
icon: ChevronUpSquare,
|
||||
action: () => {
|
||||
deploymentDrawer.openDrawer(script.path, 'script')
|
||||
},
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
FolderOpen,
|
||||
Archive,
|
||||
Trash,
|
||||
Server,
|
||||
ChevronUpSquare,
|
||||
Share,
|
||||
Badge,
|
||||
Loader2,
|
||||
@@ -294,7 +294,7 @@
|
||||
menuItems.push({
|
||||
label: 'Deploy to staging/prod',
|
||||
onclick: () => deploymentDrawer.openDrawer(flow?.path ?? '', 'flow'),
|
||||
Icon: Server
|
||||
Icon: ChevronUpSquare
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
History,
|
||||
Loader2,
|
||||
Pen,
|
||||
Server,
|
||||
ChevronUpSquare,
|
||||
Share,
|
||||
Table2,
|
||||
Trash,
|
||||
@@ -407,7 +407,7 @@
|
||||
if (isDeployable('script', script?.path ?? '', deployUiSettings)) {
|
||||
menuItems.push({
|
||||
label: 'Deploy to staging/prod',
|
||||
Icon: Server,
|
||||
Icon: ChevronUpSquare,
|
||||
onclick: () => {
|
||||
deploymentDrawer.openDrawer(script?.path ?? '', 'script')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user