mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix: try fix install jobs being bricked/improve tracing (#6890)
* fix: try fix install jobs being bricked/improve tracing * fix: rev cmts --------- Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
:progress-current="progressItem.progressCurrent"
|
||||
:progress-total="progressItem.progressTotal"
|
||||
:actions="progressItem.buttons"
|
||||
:dismissible="progressItem.dismissible"
|
||||
@dismiss="handleProgressItemDismiss(item, progressItem)"
|
||||
@action="(index) => handleProgressItemAction(progressItem, index)"
|
||||
/>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</template>
|
||||
</template>
|
||||
</p>
|
||||
<ButtonStyled size="small" type="transparent" circular>
|
||||
<ButtonStyled v-if="dismissible" size="small" type="transparent" circular>
|
||||
<button
|
||||
type="button"
|
||||
class="notification-toast-dismiss"
|
||||
@@ -96,7 +96,7 @@
|
||||
{{ entityLabel }}
|
||||
</p>
|
||||
<div class="col-start-2 row-start-1 justify-self-end">
|
||||
<ButtonStyled size="small" type="transparent" circular>
|
||||
<ButtonStyled v-if="dismissible" size="small" type="transparent" circular>
|
||||
<button
|
||||
type="button"
|
||||
class="notification-toast-dismiss"
|
||||
@@ -213,6 +213,7 @@ const props = withDefaults(
|
||||
progressCurrent?: number
|
||||
progressTotal?: number
|
||||
actions?: PopupNotificationButton[]
|
||||
dismissible?: boolean
|
||||
}>(),
|
||||
{
|
||||
actionLoading: null,
|
||||
@@ -224,6 +225,7 @@ const props = withDefaults(
|
||||
showProgress: true,
|
||||
wrapText: false,
|
||||
progressType: 'percentage',
|
||||
dismissible: true,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ export interface PopupNotificationProgressItem {
|
||||
progressType?: PopupNotificationProgressType
|
||||
progressCurrent?: number
|
||||
progressTotal?: number
|
||||
dismissible?: boolean
|
||||
onDismiss?: () => void | Promise<void>
|
||||
buttons?: PopupNotificationButton[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user