From 3f4b756fc6413ae9505e4195d01469b14b97a800 Mon Sep 17 00:00:00 2001
From: pyr0ball
Date: Mon, 11 May 2026 12:11:06 -0700
Subject: [PATCH] feat(find): surface time budget inline, always visible
(closes #131)
The time budget selector (hands-on and total time chips) was previously
gated behind the time_first_layout Settings preference. Removed the v-if
guard so both rows are always visible in the Find tab without requiring
a Settings change.
Added "No limit" clear buttons that appear next to the chip row when a
time limit is active, so users can reset a time filter in one tap without
needing to find the active chip and re-tap it.
The time_first_layout setting in Settings remains for users who want
control over the layout.
---
frontend/src/components/RecipesView.vue | 26 ++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/frontend/src/components/RecipesView.vue b/frontend/src/components/RecipesView.vue
index 7c6d0ad..416a5cc 100644
--- a/frontend/src/components/RecipesView.vue
+++ b/frontend/src/components/RecipesView.vue
@@ -147,9 +147,8 @@
Tap "Find recipes" again to apply.
-
-
-
@@ -1638,6 +1649,15 @@ details[open] .collapsible-summary::before {
border-color: var(--color-primary, #1a6b4a);
}
+.time-bucket-clear {
+ font-style: italic;
+ opacity: 0.7;
+}
+
+.time-bucket-clear:hover {
+ opacity: 1;
+}
+
@media (max-width: 480px) {
.time-row {
flex-direction: column;