tangled
alpha
login
or
join now
whey.party
/
red-dwarf
82
fork
atom
an independent Bluesky client using Constellation, PDS Queries, and other services
reddwarf.app
frontend
spa
bluesky
reddwarf
microcosm
client
app
82
fork
atom
overview
issues
25
pulls
pipelines
Polls view all votes placeholder button
whey.party
1 month ago
83364cef
79482f07
+12
-2
1 changed file
expand all
collapse all
unified
split
src
components
UniversalPostRenderer.tsx
+12
-2
src/components/UniversalPostRenderer.tsx
···
2386
) : (
2387
<IconMdiCheckCircle />
2388
)}
2389
-
{poll.multiple ? "Select one or more options" : "Select one option"}
0
0
0
0
2390
</span>
2391
2392
{/* Refresh Button */}
···
2523
<button
2524
onClick={(e) => {
2525
e.stopPropagation();
2526
-
// open the route to the view all stuff
0
0
0
0
0
0
2527
}}
2528
className="rounded-full h-10 bg-gray-200 text-gray-700 dark:bg-gray-700 dark:text-gray-200 hover:bg-gray-300 dark:hover:bg-gray-600 transition-colors px-4 py-2 text-[14px]"
2529
>
···
2386
) : (
2387
<IconMdiCheckCircle />
2388
)}
2389
+
<span className="md:flex hidden">
2390
+
{poll.multiple
2391
+
? "Select one or more options"
2392
+
: "Select one option"}
2393
+
</span>
2394
</span>
2395
2396
{/* Refresh Button */}
···
2527
<button
2528
onClick={(e) => {
2529
e.stopPropagation();
2530
+
// todo: implement the proper votes page here thanks
2531
+
renderSnack({
2532
+
title: "Not implemented yet...",
2533
+
description: "Opening PDSLS",
2534
+
});
2535
+
const pdslsUrl = `https://pdsls.dev/at://${did}/app.reddwarf.embed.poll/${rkey}#backlinks`;
2536
+
window.open(pdslsUrl, "_blank");
2537
}}
2538
className="rounded-full h-10 bg-gray-200 text-gray-700 dark:bg-gray-700 dark:text-gray-200 hover:bg-gray-300 dark:hover:bg-gray-600 transition-colors px-4 py-2 text-[14px]"
2539
>