Skip to content

Commit 26d7f95

Browse files
Part 2 of porting over the all messages list from SI (#2346)
Co-authored-by: Phil Bastian <[email protected]>
1 parent 309fd7e commit 26d7f95

24 files changed

+625
-208
lines changed

src/Frontend/package-lock.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@tinyhttp/content-disposition": "^2.2.2",
2525
"@vue-flow/controls": "^1.1.2",
2626
"@vue-flow/core": "^1.42.5",
27+
"@vuepic/vue-datepicker": "^11.0.2",
2728
"bootstrap": "^5.3.5",
2829
"bootstrap-icons": "^1.11.3",
2930
"codemirror": "^6.0.1",
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

src/Frontend/src/components/FilterInput.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,25 @@ import { ref, watch } from "vue";
33
import debounce from "lodash/debounce";
44
55
const model = defineModel<string>({ required: true });
6-
const props = withDefaults(defineProps<{ placeholder?: string; ariaLabel?: string }>(), { placeholder: "Filter by name...", ariaLabel: "filter by name" });
6+
const props = withDefaults(defineProps<{ placeholder?: string; ariaLabel?: string }>(), { placeholder: "Filter by name...", ariaLabel: "Filter by name" });
77
const localInput = ref<string>(model.value);
88
99
const debounceUpdateModel = debounce((value: string) => {
1010
model.value = value;
1111
}, 600);
1212
13+
watch(model, (newValue) => {
14+
localInput.value = newValue;
15+
});
16+
1317
watch(localInput, (newValue) => {
1418
debounceUpdateModel(newValue);
1519
});
1620
</script>
1721

1822
<template>
1923
<div role="search" aria-label="filter" class="filter-input">
20-
<input type="search" :placeholder="props.placeholder" :aria-label="props.ariaLabel" class="form-control-static filter-input" v-model="localInput" />
24+
<input type="search" :placeholder="props.placeholder" :aria-label="props.ariaLabel" class="form-control filter-input" v-model="localInput" />
2125
</div>
2226
</template>
2327

@@ -34,7 +38,6 @@ watch(localInput, (newValue) => {
3438
3539
div.filter-input {
3640
position: relative;
37-
width: 280px;
3841
height: 36px;
3942
}
4043

0 commit comments

Comments
 (0)