-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cubeviz spectral extraction live-previews (#2733)
* migrate temp disabling live-previews from lcviz * live-preview mark in cubeviz spectral extraction * changelog entry
- Loading branch information
Showing
7 changed files
with
155 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template> | ||
<v-alert v-if="previews_temp_disabled && show_live_preview" type='warning' style="margin-left: -12px; margin-right: -12px"> | ||
Live-updating is temporarily disabled (last update took {{previews_last_time}}s) | ||
<v-row justify='center'> | ||
<j-tooltip tooltipcontent='hide live preview (can be re-enabled from the settings section in the plugin).' span_style="width: 100%"> | ||
<v-btn style='width: 100%' @click="() => {$emit('update:show_live_preview', false); $emit('disable_previews')}"> | ||
disable previews | ||
</v-btn> | ||
</j-tooltip> | ||
</v-row> | ||
<v-row justify='center'> | ||
<j-tooltip tooltipcontent='manually update live-previews based on current plugin inputs.' span_style="width: 100%"> | ||
<v-btn style='width: 100%' @click="$emit('update:previews_temp_disabled', false)"> | ||
update preview | ||
</v-btn> | ||
</j-tooltip> | ||
</v-row> | ||
</v-alert> | ||
</template> | ||
|
||
<script> | ||
module.exports = { | ||
props: ['previews_temp_disabled', 'show_live_preview', 'previews_last_time'] | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters