Skip to content

Commit 2d4ffd4

Browse files
authored
Merge pull request #97 from SrashtiChauhan/enhancement/modern-insights-search-ui
enhancement(insights): modernize task journey search experience (NSOC'26)
2 parents 1f319b0 + 43d5640 commit 2d4ffd4

1 file changed

Lines changed: 35 additions & 3 deletions

File tree

‎frontend/app/components/Tasks-comp/TaskHistoryTable.tsx‎

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,34 @@ export default function TaskHistoryTable({ rows, query, onQueryChange }: TaskHis
2222
<h3 className="font-headline-md text-[20px] text-on-surface font-bold">Journey History</h3>
2323

2424
<div className="flex items-center gap-6">
25-
<div className="flex items-center rounded-xl border border-outline-variant bg-surface px-3 h-11 transition focus-within:border-primary">
25+
<div
26+
className="
27+
group
28+
flex items-center gap-2
29+
h-12 px-4
30+
rounded-2xl
31+
border border-white/20
32+
bg-white/70
33+
backdrop-blur-md
34+
shadow-sm
35+
hover:shadow-lg
36+
hover:-translate-y-[1px]
37+
focus-within:scale-[1.01]
38+
focus-within:shadow-lg
39+
transition-all duration-300 ease-out
40+
focus-within:ring-4
41+
focus-within:ring-primary/20
42+
focus-within:border-primary
43+
"
44+
>
2645
<span
27-
className="material-symbols-outlined text-outline text-[18px]"
46+
className="
47+
material-symbols-outlined
48+
text-slate-400
49+
text-[20px]
50+
transition-all duration-300
51+
group-focus-within:text-primary
52+
"
2853
aria-hidden="true"
2954
>
3055
search
@@ -45,7 +70,14 @@ export default function TaskHistoryTable({ rows, query, onQueryChange }: TaskHis
4570
<button
4671
type="button"
4772
onClick={() => onQueryChange("")}
48-
className="text-outline hover:text-primary transition-colors"
73+
className="
74+
text-slate-400
75+
hover:text-primary
76+
hover:scale-110
77+
active:scale-95
78+
transition-all duration-200
79+
"
80+
aria-label="Clear search"
4981
>
5082
✕
5183
</button>

0 commit comments

Comments
 (0)