Italo Matos
d66e2f0b8a
remove comment and move logic to method
2025-12-19 12:33:00 -03:00
Italo Matos
e23b871172
Fix: Maintain search input focus after form submission
...
Problem:
When pressing Enter in the search input field, focus was lost after
the form was submitted and the Turbo Frame updated with search results.
This forced users to click back into the field to continue interacting
with the search.
Solution:
Added a turbo:frame-load event listener in the bar controller's
showModalAndSubmit method that automatically restores focus to the
search input after the Turbo Frame finishes loading the results.
The listener uses {once: true} to auto-cleanup after execution.
2025-12-16 12:25:25 -03:00
Jason Zimdars
0c05694a3c
This seems to have caused the unwanted effect of not focusing the field in Mobile Safari
...
Looks like it regressed in
https://github.com/basecamp/fizzy/commit/250935530f86eb628d6b54ec6b7212dac9e76f8b .
Let's see if we can get focus in Safari without sacrificing select in
other browsers by simply moving the nextFrame() call
2025-11-24 17:48:02 -06:00
Andy Smith
d61bff7321
Ability to close search when input is empty
2025-11-21 15:17:17 -06:00
Andy Smith
250935530f
Better focus and clearing when searching
2025-11-21 14:32:10 -06:00
Jorge Manrubia
b76ff27b96
Keep the last search in place
...
https://app.box-car.com/5986089/cards/2703
2025-11-03 09:25:46 +01:00
Jorge Manrubia
9317a82570
Remove Fizzy Ask
...
Since we are not going to ship it
2025-10-27 14:45:30 +01:00
Jorge Manrubia
1b6b82a6cc
Redirect to cards when searching by card id
2025-09-30 13:52:27 +02:00
Andy Smith
8954aeb88e
Add reset button for search
2025-09-19 14:23:08 -05:00
Stanko Krtalić
c1c13bf010
Fix search layout for non-staff users ( #1053 )
2025-09-09 13:47:28 +02:00
Stanko K.R.
56152c77f3
Focus the input field when Fizzy bar gets triggered
2025-08-22 07:33:26 +02:00
Stanko K.R.
8b21b5a570
Fix search
2025-08-22 07:33:26 +02:00
Stanko K.R.
59a488eb9c
Render inputs inline & results in a turbo frame
2025-08-22 07:33:26 +02:00
Stanko K.R.
ceb81c7a86
Fix race condition that causes a missing outlet error
2025-08-22 07:33:26 +02:00
Stanko K.R.
30f0079fc2
Extract isInput into a helper
2025-08-22 07:33:26 +02:00
Stanko K.R.
dcffe706a3
Make hotkeys activate only when not using inputs
2025-08-22 07:33:26 +02:00
Stanko K.R.
a580a0ddbf
Fix navigation bugs
2025-08-22 07:33:26 +02:00
Stanko K.R.
761aa9e2b3
Move conversation initialization to a method
2025-08-22 07:33:26 +02:00
Stanko K.R.
9a6fc1f54a
Create bar controller
2025-08-22 07:33:00 +02:00