<p>Quote post work-in-progress thread.</p><p>Boost count + Quote count.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
phanpysocialdev
<p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> (dev site) has upgraded to Masto.js v7. Test it out and see if I missed anything 🤞<br><a href="https://mastodon.social/@neet/114432762180036489" rel="nofollow" class="ellipsis" title="mastodon.social/@neet/114432762180036489"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@neet/11443276</span><span class="invisible">2180036489</span></a></p>
<p>Finally got to build this. Quick UI toggles to see all possible permutations of a post.</p><p>Previously was trying out Storybook.js but it's a bit too much for my needs (too many files, too many clicks).</p><p>CSS view transitions are pretty cool. More permutations need to be added later. And it's fun building this.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>This took a while 😅</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>Folks using <a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> , there are 2 new features that need a bit of testing:</p><p>1. QR code for profiles and shortcuts settings - includes scanner (camera) too<br>2. Import/export accounts - the export *excludes* access tokens, so need to login again after import</p><p>They’re quite hidden, so just a heads-up 🙇♂️</p>
<p>Neat. <a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> <a href="/tags/alttext/" rel="tag">#AltText</a> </p><p>Mastodon issue: <a href="https://github.com/mastodon/mastodon/issues/14903" rel="nofollow" class="ellipsis" title="github.com/mastodon/mastodon/issues/14903"><span class="invisible">https://</span><span class="ellipsis">github.com/mastodon/mastodon/i</span><span class="invisible">ssues/14903</span></a> (2020)</p>
Edited 134d ago
<p>This took quite a while to experiment, but now that it kinda works, feels pretty cool.</p><p>- Still experimental on my local machine (not on dev site)<br>- Replies are segmented between edit time slots, idea from X <a href="https://mastodon.social/@cheeaun/114996911713894433" rel="nofollow" class="ellipsis" title="mastodon.social/@cheeaun/114996911713894433"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@cheeaun/11499</span><span class="invisible">6911713894433</span></a><br>- Older revisions slowly get more grayscale and less opaque.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>Quote post permutations.</p><p>- Docs on quote states: <a href="https://docs.joinmastodon.org/entities/Quote/#state" rel="nofollow" class="ellipsis" title="docs.joinmastodon.org/entities/Quote/#state"><span class="invisible">https://</span><span class="ellipsis">docs.joinmastodon.org/entities</span><span class="invisible">/Quote/#state</span></a><br>- Related PR: <a href="https://github.com/mastodon/mastodon/pull/34738" rel="nofollow" class="ellipsis" title="github.com/mastodon/mastodon/pull/34738"><span class="invisible">https://</span><span class="ellipsis">github.com/mastodon/mastodon/p</span><span class="invisible">ull/34738</span></a><br>- Reference of text copies from Mastodon: <a href="https://github.com/mastodon/mastodon/blob/c442589593ac39f1f36c972890850c30efd3ca1b/app/javascript/mastodon/locales/en.json#L875-L880" rel="nofollow" class="ellipsis" title="github.com/mastodon/mastodon/blob/c442589593ac39f1f36c972890850c30efd3ca1b/app/javascript/mastodon/locales/en.json#L875-L880"><span class="invisible">https://</span><span class="ellipsis">github.com/mastodon/mastodon/b</span><span class="invisible">lob/c442589593ac39f1f36c972890850c30efd3ca1b/app/javascript/mastodon/locales/en.json#L875-L880</span></a></p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> <a href="/tags/mastodev/" rel="tag">#MastoDev</a></p>
<p>On-demand math formatting 🤔</p><p>Library used: Temml <a href="https://temml.org/" rel="nofollow"><span class="invisible">https://</span>temml.org/</a></p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>📣 Phanpy folks using non-QWERTY keyboards, now you can test this keyboard-layout-dependant shortcuts on dev site 🙇♂️ <a href="https://github.com/cheeaun/phanpy/issues/326#issuecomment-2816429554" rel="nofollow" class="ellipsis" title="github.com/cheeaun/phanpy/issues/326#issuecomment-2816429554"><span class="invisible">https://</span><span class="ellipsis">github.com/cheeaun/phanpy/issu</span><span class="invisible">es/326#issuecomment-2816429554</span></a></p><p>For context, currently keyboard shortcuts are keyboard-layout-independant (`e.code`). E.g. for a Dvorak keyboard layout, the physical `c` key is mapped to `j`, so it's confusing. Now with keyboard-layout-dependant shortcuts, it will listen to the produced key (`e.key`) rather than the code (`e.code`).</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> <a href="/tags/keyboardshortcuts/" rel="tag">#KeyboardShortcuts</a></p>
<p>This has been in the to-do list for years.</p><p>Yes, custom emojis work inside CW and poll fields <img src="https://neodb.social/media/emoji/mastodon.social/blobpeek.png" class="emoji" alt=":blobpeek:" title=":blobpeek:"></p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>RE: <a href="https://mastodon.social/@cheeaun/116044581946862131" rel="nofollow" class="ellipsis" title="mastodon.social/@cheeaun/116044581946862131"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@cheeaun/11604</span><span class="invisible">4581946862131</span></a></p><p>And of course, I'm already taking the first steps.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> (local dev)</p>
<p>Early sneak peek of <a href="/tags/wip/" rel="tag">#WIP</a> composer UI relayout.</p><p>(still on my local dev, not dev site)</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> <a href="/tags/design/" rel="tag">#design</a></p>
<p>Here's a WIP <a href="/tags/sneakpeek/" rel="tag">#SneakPeek</a></p><p>I needed this, built it. No idea what's the direction yet but it's fun.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> (still on my local dev)</p>
<p>Been getting double-posting issues on mastodon.social server here. Quite embarrassing having to delete the duplicate replies.</p><p>Thought could be a Phanpy bug but seems unlikely because Phanpy implements `Idempotency-Key` (<a href="https://docs.joinmastodon.org/methods/statuses/#headers:~:text=this%20API%20method.-,Idempotency%2DKey,-Provide%20this%20header" rel="nofollow" class="ellipsis" title="docs.joinmastodon.org/methods/statuses/#headers:~:text=this%20API%20method.-,Idempotency%2DKey,-Provide%20this%20header"><span class="invisible">https://</span><span class="ellipsis">docs.joinmastodon.org/methods/</span><span class="invisible">statuses/#headers:~:text=this%20API%20method.-,Idempotency%2DKey,-Provide%20this%20header</span></a>). *Could* likely happen because Phanpy also have a fallback try/catch logic for servers that don't support `Idempotency-Key` 🤔</p><p>Hard to debug on the spot as the issue happens randomly.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> <a href="/tags/mastodev/" rel="tag">#MastoDev</a></p>
<p>炒鸡方便的功能,phanpy的账号导出导入,从phanpy.social切换到dev.phanpy.social体验更新的功能 <img src="https://neodb.social/media/emoji/mstdn.feddit.social/drgn_bread.png" class="emoji" alt=":drgn_bread:" title=":drgn_bread:"> </p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a> <a href="/tags/phanpy/" rel="tag">#phanpy</a></p>
Edited 92d ago
<p>Phanpy.social对pixelfed的支持真不错啊,elk.zone都不支持登陆pixelfed</p><p>我的狗照片:<span class="h-card"><a href="https://pixelfed.social/kipjaychou" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>kipjaychou</span></a></span></p><p><a href="/tags/phanpysocial/" rel="tag">#PhanpySocial</a> <a href="/tags/phanpy/" rel="tag">#phanpy</a> <a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>Random thought: at some point, it's probably easier for <span class="h-card"><a href="https://hachyderm.io/@phanpy" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>phanpy</span></a></span> to redirect users to use <a href="https://edit.photo/" rel="nofollow"><span class="invisible">https://</span>edit.photo/</a> or <a href="https://edit.video/" rel="nofollow"><span class="invisible">https://</span>edit.video/</a> by <span class="h-card"><a href="https://mastodon.social/@rikschennink" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>rikschennink</span></a></span> , or <a href="https://squoosh.app/" rel="nofollow"><span class="invisible">https://</span>squoosh.app/</a> (image compressor), then somehow redirect back to upload the media in the composer 🤔</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
<p>Not sure if it'll be useful, but looks good 🤔</p><p>Too bad I can't add a Share/Download (image) button due to CORS issue (avatar image and header image). Possibly can fallback to just pure solid-color version but doesn't look as pretty 😆</p><p>For context, Mastodon Android app has this <a href="https://blog.joinmastodon.org/2024/02/mastodon-for-android-update/" rel="nofollow" class="ellipsis" title="blog.joinmastodon.org/2024/02/mastodon-for-android-update/"><span class="invisible">https://</span><span class="ellipsis">blog.joinmastodon.org/2024/02/</span><span class="invisible">mastodon-for-android-update/</span></a> (Feb 2024)</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
Edited 146d ago
<p>RE: <a href="https://bne.social/@james/116067684110330347" rel="nofollow" class="ellipsis" title="bne.social/@james/116067684110330347"><span class="invisible">https://</span><span class="ellipsis">bne.social/@james/116067684110</span><span class="invisible">330347</span></a></p><p>Somehow manage to whip this up, extracting the idea from this discussion thread.</p><p><a href="/tags/phanpysocialdev/" rel="tag">#PhanpySocialDev</a></p>
