Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdbfd7d6

Browse files
fix: add alert issues (#9318)
This PR fixes the issues of#9317#9314#9311
1 parent0a6ac9a commitdbfd7d6

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

‎web/src/components/alerts/AddAlert.vue‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,11 +392,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
392392

393393
</div>
394394
<div
395-
style="width:430px;height:320px;position:sticky;top:0"
395+
style="width:430px;height:100%;position:sticky;top:0"
396396
class=" col-2"
397397
>
398398
<preview-alert
399-
style="border:1pxsolid#ececec;height:300px;width:430px;"
399+
style="border:1pxsolid#ececec;height:100%;width:430px;"
400400
ref="previewAlertRef"
401401
:formData="formData"
402402
:query="previewQuery"
@@ -1539,6 +1539,13 @@ export default defineComponent({
15391539
// When user updated query and click on save
15401540
awaitnewPromise((resolve)=>setTimeout(resolve,500));
15411541
1542+
// Ensure all accordion sections are expanded before validation
1543+
this.expandState.alertSetup=true;
1544+
this.expandState.queryMode=true;
1545+
this.expandState.thresholds=true;
1546+
this.expandState.realTimeMode=true;
1547+
this.expandState.advancedSetup=true;
1548+
awaitnextTick();// Wait for DOM to update with all expanded sections
15421549
15431550
if (
15441551
this.formData.is_real_time=="false"&&

‎web/src/components/alerts/FilterGroup.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- Preview Section (only for root level)-->
33
<divv-if="depth === 0 && previewString"
4-
class="tw-mb-2 tw-p-2 tw-rounded tw-border"
4+
class="tw-mb-2 tw-p-2 tw-rounded tw-border tw-w-full"
55
:class="store.state.theme === 'dark' ? 'tw-bg-gray-800 tw-border-gray-700' : 'tw-bg-gray-50 tw-border-gray-300'">
66
<divclass="tw-flex tw-items-center tw-gap-1 tw-cursor-pointer tw-min-w-0"@click="showPreview = !showPreview">
77
<q-icon

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp