Skip to content

Commit 5c14ed9

Browse files
committed
UI: add new filters to command pages
1 parent 5a24d3d commit 5c14ed9

File tree

4 files changed

+631
-269
lines changed

4 files changed

+631
-269
lines changed

assets/css/index.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,6 +1631,39 @@ a[href*="#no-click"], img[src*="#no-click"] {
16311631
align-items: center !important;
16321632
}
16331633

1634+
/* Commands Accordion Styles */
1635+
.command-group {
1636+
transition: all 0.2s ease;
1637+
}
1638+
1639+
.group-header {
1640+
cursor: pointer;
1641+
user-select: none;
1642+
}
1643+
1644+
.group-header:focus {
1645+
outline: 2px solid #dc2626;
1646+
outline-offset: 2px;
1647+
}
1648+
1649+
.group-chevron {
1650+
flex-shrink: 0;
1651+
transition: transform 0.2s ease;
1652+
}
1653+
1654+
.group-content {
1655+
overflow: hidden;
1656+
transition: max-height 0.3s ease;
1657+
}
1658+
1659+
.command-item a {
1660+
text-decoration: none;
1661+
}
1662+
1663+
.command-item a:hover {
1664+
text-decoration: underline;
1665+
}
1666+
16341667
/* Utility Classes */
16351668
.agent-builder-hidden {
16361669
display: none !important;

data/command-groups.json

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"string": {
3+
"display": "String",
4+
"description": "Commands for working with string values",
5+
"order": 1
6+
},
7+
"hash": {
8+
"display": "Hash",
9+
"description": "Commands for working with hash data structures",
10+
"order": 2
11+
},
12+
"list": {
13+
"display": "List",
14+
"description": "Commands for working with list data structures",
15+
"order": 3
16+
},
17+
"set": {
18+
"display": "Set",
19+
"description": "Commands for working with set data structures",
20+
"order": 4
21+
},
22+
"sorted-set": {
23+
"display": "Sorted Set",
24+
"description": "Commands for working with sorted set data structures",
25+
"order": 5
26+
},
27+
"stream": {
28+
"display": "Stream",
29+
"description": "Commands for working with stream data structures",
30+
"order": 6
31+
},
32+
"bitmap": {
33+
"display": "Bitmap",
34+
"description": "Commands for working with bitmap operations on strings",
35+
"order": 7
36+
},
37+
"hyperloglog": {
38+
"display": "HyperLogLog",
39+
"description": "Commands for probabilistic cardinality estimation",
40+
"order": 8
41+
},
42+
"geo": {
43+
"display": "Geospatial",
44+
"description": "Commands for geospatial indexing and queries",
45+
"order": 9
46+
},
47+
"json": {
48+
"display": "JSON",
49+
"description": "Commands for working with JSON documents",
50+
"order": 10
51+
},
52+
"search": {
53+
"display": "Search",
54+
"description": "Commands for full-text search and vector similarity",
55+
"order": 11
56+
},
57+
"timeseries": {
58+
"display": "Time Series",
59+
"description": "Commands for time series data management",
60+
"order": 12
61+
},
62+
"bf": {
63+
"display": "Bloom Filter",
64+
"description": "Commands for probabilistic set membership testing",
65+
"order": 13
66+
},
67+
"cf": {
68+
"display": "Cuckoo Filter",
69+
"description": "Commands for space-efficient probabilistic data structures",
70+
"order": 14
71+
},
72+
"cms": {
73+
"display": "Count-Min Sketch",
74+
"description": "Commands for frequency estimation of events",
75+
"order": 15
76+
},
77+
"tdigest": {
78+
"display": "T-Digest",
79+
"description": "Commands for probabilistic quantile estimation",
80+
"order": 16
81+
},
82+
"topk": {
83+
"display": "Top-K",
84+
"description": "Commands for tracking top-k items",
85+
"order": 17
86+
},
87+
"suggestion": {
88+
"display": "Auto-Suggest",
89+
"description": "Commands for auto-completion suggestions",
90+
"order": 18
91+
},
92+
"pubsub": {
93+
"display": "Pub/Sub",
94+
"description": "Commands for publish/subscribe messaging",
95+
"order": 19
96+
},
97+
"transactions": {
98+
"display": "Transactions",
99+
"description": "Commands for executing atomic transaction blocks",
100+
"order": 20
101+
},
102+
"scripting": {
103+
"display": "Scripting and Functions",
104+
"description": "Commands for server-side scripting with Lua and functions",
105+
"order": 21
106+
},
107+
"connection": {
108+
"display": "Connection",
109+
"description": "Commands for managing client connections",
110+
"order": 22
111+
},
112+
"server": {
113+
"display": "Server",
114+
"description": "Commands for server administration and configuration",
115+
"order": 23
116+
},
117+
"cluster": {
118+
"display": "Cluster",
119+
"description": "Commands for Redis cluster management",
120+
"order": 24
121+
},
122+
"generic": {
123+
"display": "Generic",
124+
"description": "Commands that work across all data types",
125+
"order": 25
126+
},
127+
"vector_set": {
128+
"display": "Vector Set",
129+
"description": "Commands for vector similarity search",
130+
"order": 26
131+
}
132+
}
133+

0 commit comments

Comments
 (0)