feat: Right now indicator in Grid #242
No reviewers
Labels
No labels
app
app
bug
app
enhancement
client side exclusive
closed
completed
closed
duplicate
closed
invalid
closed
not open grind
closed
not planned
closed
question
🗳️ community vote
⚠️ critical
discussion
docs
emulator
help wanted
paywalled
bypassable
paywalled
non-bypassable
paywalled
unconfirmed
pr/dubious
question
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#236 (feat #43): Right Now feed
open-grind/open-grind
Reference
open-grind/open-grind!242
Loading…
Reference in a new issue
No description provided.
Delete branch "KinkyMonk/open-grind:gridrightnow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
feat: Right now indicator in Gridto WIP: feat: Right now indicator in GridWIP: feat: Right now indicator in Gridto feat: Right now indicator in GridNeed tests
@ -19,6 +21,7 @@hadRecentChat = false,href = null,class: className,rightNow = null,null !== "NOT_ACTIVE"is always true so every consumer that omits the prop now renders the badge unconditionally. Main replaced that guard with{#if !anonymous}and has a test pinning it (ProfileMiniCard.svelte.test.ts:48).@ -66,2 +70,3 @@{/if}{#if displayName !== null || age !== null}{#if displayName !== null || age !== null || isVisiting || rightNow !== "NOT_ACTIVE"}{console.log(age)}Delete
@ -69,3 +74,3 @@<Badgevariant="outline"class="max-w-full min-w-0 shrink gap-0 bg-popover/20 backdrop-blur-2xl"class="flex max-w-full min-w-0 shrink justify-between gap-0 gap-1 bg-popover/20 backdrop-blur-2xl"gap-0 gap-1contradicting classes@ -72,2 +76,3 @@class="flex max-w-full min-w-0 shrink justify-between gap-0 gap-1 bg-popover/20 backdrop-blur-2xl"><ProfileStatusIndicator {onlineUntil} {isVisiting} class="me-1" /><ProfileStatusIndicator {onlineUntil} {isVisiting} />Why remove
class="me-1"?@ -78,3 +85,1 @@{#if displayName !== null && age !== null}, {/if}Why remove
, ?@ -0,0 +13,4 @@</script>{#if rightNow === "HOSTING" || rightNow === "NOT_HOSTING"}<div class={["flex shrink-0 text-fuchsia-600", className]}>No
title,aria-label, orsr-onlytext@ -8,3 +9,3 @@displayName: z.string().nullable().optional(),distanceMeters: z.int().nonnegative().optional(),rightNow: z.string(),rightNow: rightNowStatusSchema,Breaks src/lib/demo/mock/grid.ts:148,155
Closing since all my 7 comments are unanswered. Will do this soon myself as part of the work on Right Now feature.
Pull request closed