diff --git a/frontend/src/components/explore/TagGapPanel.vue b/frontend/src/components/explore/TagGapPanel.vue new file mode 100644 index 0000000..f44546c --- /dev/null +++ b/frontend/src/components/explore/TagGapPanel.vue @@ -0,0 +1,159 @@ + + + Tag-coverage gaps + + Tags most of this cluster shares but some images lack. Apply to close the + gap across the stragglers. + + + + + Consensus ≥ {{ Math.round(threshold * 100) }}% + + + + + + + + + {{ error }} + + + Anchor on an image with visual neighbours to see gaps. + + + No gaps at this threshold — this cluster is consistently tagged. + + + + + + {{ g.name }} + + {{ g.present_count }}/{{ g.total }} + + + + + +{{ g.missing_image_ids.length - MISSING_PREVIEW }} + + Apply to {{ g.missing_image_ids.length }} missing + + + + + + + + diff --git a/frontend/src/components/modal/ImageMetaBar.vue b/frontend/src/components/modal/ImageMetaBar.vue new file mode 100644 index 0000000..b9629ad --- /dev/null +++ b/frontend/src/components/modal/ImageMetaBar.vue @@ -0,0 +1,96 @@ + + + + + + Dimensions{{ img.width }} × {{ img.height }} + + + Size{{ humanSize(img.size_bytes) }} + + + Type{{ shortType(img.mime) }} + + + + + + Download + + + + + + + + + + + + + + + + diff --git a/frontend/src/components/modal/ImageViewer.vue b/frontend/src/components/modal/ImageViewer.vue index b766665..7831206 100644 --- a/frontend/src/components/modal/ImageViewer.vue +++ b/frontend/src/components/modal/ImageViewer.vue @@ -73,6 +73,7 @@
+ Tags most of this cluster shares but some images lack. Apply to close the + gap across the stragglers. +
+ Anchor on an image with visual neighbours to see gaps. +
+ No gaps at this threshold — this cluster is consistently tagged. +