aboutsummaryrefslogtreecommitdiff
path: root/src/components/icon
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-05 17:13:03 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-05 17:23:39 +1100
commit442c0bbffc5c372c7ec3510914968f75ab6e4a4f (patch)
treebc3ae52ec3954ce574961bce9d64f2d02516d18b /src/components/icon
parenta3b13e700d8d65e27c1d90960b6ab6292e433c2c (diff)
Add partially-complete search modal
For now, use placeholder code for jumping to a search result. Add db index for case-insensitive event title searching. Make type=info requests accept title instead of ID (for looking up a searched-for title). Make EventInfo contain an Event field (for showing info in search suggestions). Add titleToEvent map in App, for use by SearchModal to look up searched-for titles. Add keyboard shortcuts to open/close search and info modals.
Diffstat (limited to 'src/components/icon')
-rw-r--r--src/components/icon/InfoIcon.vue8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/icon/InfoIcon.vue b/src/components/icon/InfoIcon.vue
new file mode 100644
index 0000000..47a14cd
--- /dev/null
+++ b/src/components/icon/InfoIcon.vue
@@ -0,0 +1,8 @@
+<template>
+<svg viewBox="0 0 24 24" fill="none"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+ <circle cx="12" cy="12" r="10"/>
+ <line x1="12" y1="16" x2="12" y2="12"/>
+ <line x1="12" y1="8" x2="12.01" y2="8"/>
+</svg>
+</template>