alpha
Login
or
Join now
atpota.to
/
cred.blue
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix routing
author
damedotblog
date
1 year ago
(Apr 1, 2025, 7:35 PM -0400)
commit
b1dd810b
b1dd810bc6d8609f5a75fcaaf223dcb737b171c4
parent
885a1ee0
885a1ee06108fcd60c4999823e4076bf75badfbb
+22
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
components
CollectionsFeed
CollectionsFeed.js
+22
-1
src/components/CollectionsFeed/CollectionsFeed.js
Reviewed
···
39
39
setLoading(true);
40
40
setError('');
41
41
42
42
+
// Update URL with the username
43
43
+
if (userHandle !== username) {
44
44
+
navigate(`/collections-feed/${encodeURIComponent(userHandle)}`);
45
45
+
}
46
46
+
42
47
// Resolve handle to DID
43
48
const userDid = await resolveHandleToDid(userHandle);
44
49
setDid(userDid);
···
223
228
<p className="intro-text">
224
229
Enter a Bluesky handle to see their AT Protocol collection records in chronological order.
225
230
</p>
226
226
-
<SearchBar onSearch={loadUserData} />
231
231
+
<div className="search-bar-container">
232
232
+
<form className="search-bar" onSubmit={(e) => {
233
233
+
e.preventDefault();
234
234
+
if (handle.trim() !== "") {
235
235
+
loadUserData(handle.trim());
236
236
+
}
237
237
+
}} role="search">
238
238
+
<input
239
239
+
type="text"
240
240
+
placeholder="(e.g. user.bsky.social)"
241
241
+
value={handle}
242
242
+
onChange={(e) => setHandle(e.target.value)}
243
243
+
required
244
244
+
/>
245
245
+
<button type="submit">Search</button>
246
246
+
</form>
247
247
+
</div>
227
248
</div>
228
249
) : (
229
250
<>