Bluesky app fork with some witchin' additions ๐Ÿ’ซ witchsky.app
bluesky fork client

Make changing pronouns or website mark profile as dirty #58

closed opened by lemmaeof.gay targeting main from lemmaeof.gay/witchsky.app: dirty-prounouns-website

Fixes #53! Just adds pronouns and website to the list of candidates for whether a profile is dirty. Pretty simple fix!

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:fxgreqfae3vqhyjsntsikfux/sh.tangled.repo.pull/3meiszupyxc22
+5 -1
Diff #1
+5 -1
src/state/queries/profile.ts
··· 185 185 next.pronouns = updates.pronouns 186 186 } 187 187 if ('website' in updates) { 188 - next.website = updates.website 188 + if (updates['website'] && updates['website'].length !== 0) { 189 + next.website = updates.website 190 + } else { 191 + next.website = undefined 192 + } 189 193 } 190 194 } 191 195 if (newUserAvatarPromise) {

History

2 rounds 2 comments
sign up or login to add to the discussion
4 commits
expand
check for dirty pronouns and website when updating profile
check for dirty pronouns and website when updating profile
allow submitting an empty website field
allow submitting an empty website field
expand 0 comments
closed without merging
1 commit
expand
check for dirty pronouns and website when updating profile
expand 2 comments

why is it called dirty

decades-old software term for data that has been edited in memory but not committed to a database yet, I don't know the full etymology