Add generic resource store, start adding context cards

These cards are meant to be generic and can show an unlimited amount of
related context about a communication.
This commit is contained in:
Eli Ribble 2026-05-15 17:10:03 +00:00
parent c92d23792f
commit ffb981e40b
No known key found for this signature in database
7 changed files with 180 additions and 10 deletions

View file

@ -5,10 +5,10 @@
<FlyoverPoolCard :location="signal.location" :markers="[]" />
</div>
<div v-else-if="signal.type == 'publicreport nuisance' && signal.report">
<PublicReportCard :report="signal.report" />
<CardPublicReport :reportURI="signal.report.uri" />
</div>
<div v-else-if="signal.type == 'publicreport water' && signal.report">
<PublicReportCard :report="signal.report" />
<CardPublicReport :reportURI="signal.report.uri" />
</div>
<div v-else>
<p>No report or pool</p>
@ -17,7 +17,7 @@
<script setup lang="ts">
import FlyoverPoolCard from "@/components/FlyoverPoolCard.vue";
import PublicReportCard from "@/components/PublicReportCard.vue";
import CardPublicReport from "@/components/CardPublicReport.vue";
import TimeRelative from "@/components/TimeRelative.vue";
import { formatAddressShort } from "@/format";
import { Signal } from "@/type/api";