Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
fuko
/
trytanstackdb.com
Pull requests
fuko
trytanstackdb.com
Public
Synced with GitHub
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
Animate the api request panel
#31
Send to my agent
Merged
fuko
merged 2 commits into
main
from
refs/pull/31/head
·
merged by
fuko
11 months ago
View on GitHub
Conversation
3
Commits
2
Files changed
4
Impact
Showing
4 changed files
with
77 additions
and
39 deletions
(loading 1).
x
0 of 4 viewed, 4 left
Files
Hide whitespace
Unified
Split
75 additions and 37 deletions
+75
-37
src/components/ApiRequestsPanel.tsx
Modified
Diff
Before/After
Viewed
src/components/ApiRequestsPanel.tsx
View file
@@ -1,16 +1,19 @@
1
-
import
{ useLiveQuery }
from
"@tanstack/react-db"
;
1
+
import
{ eq, useLiveQuery }
from
"@tanstack/react-db"
;
2
2
import
{
3
3
ChevronDownIcon
,
4
4
ChevronRightIcon
,
5
5
LoaderIcon
,
6
6
Trash2Icon
,
7
7
}
from
"lucide-react"
;
8
+
import
{ motion }
from
"motion/react"
;
8
9
import
{ useState }
from
"react"
;
9
10
import
{
10
11
type
ApiRequest
,
11
12
apiRequestsCollection,
12
13
}
from
"@/collections/apiRequests"
;
14
+
import
{ userPreferencesCollection }
from
"@/collections/UserPreferences"
;
13
15
import
{ cn }
from
"@/lib/utils"
;
16
+
import
{
USER_PLACEHOLDER
}
from
"@/utils/USER_PLACEHOLDER_CONSTANT"
;
14
17
import
{
Badge
}
from
"./ui/badge"
;
15
18
import
{
Button
}
from
"./ui/button"
;
16
19
import
{
Show all 3 lines
@@ -20,6 +23,9 @@
20
23
}
from
"./ui/collapsible"
;
21
24
import
{
ScrollArea
}
from
"./ui/scroll-area"
;
22
25
26
+
const
API_PANEL_WIDTH
=
"24rem"
;
Home
Search
Explore
Menu