Add favorite note to profiles #205
No reviewers
Labels
No labels
app
bug
client side exclusive
🗳️ community vote
⚠️ critical
discussion
docs
duplicate
emulator
enhancement
help wanted
invalid
not open grind
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
open-grind/open-grind!205
Loading…
Reference in a new issue
No description provided.
Delete branch "peddling638/open-grind:feat/137-add-notes-to-favorite-profiles"
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?
Resolves #137
Edit modal for the note and phone number
Note truncates if it is too long
When you only have the profile as favorite you will see the icon on top right - this is empty note.
I'm thinking of a better design that would fit Open Grind, look around https://www.shadcn-svelte.com/docs/components maybe you'll think of something that's both convinient on mobiles and compact on desktops.
Drawer version
Also in compliance with https://git.opengrind.org/open-grind/open-grind/src/branch/main/CONTRIBUTING.md#submitting-your-changes requiremenets, please configure your git to commit with the email activated in your account and enable commit signing using a key added & verified in your git.opengrind.org account
@ -0,0 +19,4 @@}: { profile: Profile | null; note: FavoriteNote | null } = $props();const NOTE_MAX_LENGTH = 250;const PHONE_MAX_LENGTH = 32;Where do
250and32come from?Actually found out that the phone length is max 20 characters and note max length is visible in the official Grindr app.
@ -0,0 +73,4 @@class="w-full min-w-0 cursor-pointer text-base"onclick={() => (open = true)}><NoteIcon class="size-4 shrink-0" />Let's replace this icon with filled note-pencil icon, this way it can act as both "a note" icon and "edit me" action button.
f332c3a080todd243b78feDon't forget to add & verify your signing key here — https://git.opengrind.org/user/settings/keys
Otherwise your commits show up as "No known key found for this signature in database"
ff39e8f6e5to0550507d5a@hloth wrote in #205 (comment):
fixed =)
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.