diff --git a/ui/atproto/feed.html b/ui/atproto/feed.html index 60cef4b..3afa041 100644 --- a/ui/atproto/feed.html +++ b/ui/atproto/feed.html @@ -72,7 +72,9 @@ >
300 - +
diff --git a/ui/atproto/feed.js b/ui/atproto/feed.js index e032b8d..78dfe73 100644 --- a/ui/atproto/feed.js +++ b/ui/atproto/feed.js @@ -541,7 +541,13 @@ class FeedController { } const uri = `at://${row.did}/${row.collection}/${row.rkey}`; - const el = this._makeRecordEl(uri, row.collection, row.cid, value, likeState); + const el = this._makeRecordEl( + uri, + row.collection, + row.cid, + value, + likeState, + ); // Prepend within the group: rows arrive newest-first, but a run from one // author reads most naturally oldest -> newest top-to-bottom (e.g. a thread). this.openGroup.body.insertBefore(el, this.openGroup.body.firstChild); @@ -1015,7 +1021,7 @@ class FeedController { return ""; } } - + _saveDraft(text) { try { window.localStorage?.setItem(DRAFT_KEY, text); @@ -1023,7 +1029,7 @@ class FeedController { // Storage disabled / full: the draft simply won't persist. } } - + _clearDraft() { try { window.localStorage?.removeItem(DRAFT_KEY); diff --git a/ui/atproto/viewers/app_bsky_feed_post.js b/ui/atproto/viewers/app_bsky_feed_post.js index 5a5284c..c431f9d 100644 --- a/ui/atproto/viewers/app_bsky_feed_post.js +++ b/ui/atproto/viewers/app_bsky_feed_post.js @@ -419,11 +419,7 @@ class AppBskyFeedPost extends AtRecordElement { `; } return html`
- - ${this._isOwnPost() - ? html`` - : ""} + > + + ` + : "" + }
`; } @@ -635,12 +633,12 @@ class AppBskyFeedPost extends AtRecordElement { : html`` } diff --git a/ui/atproto/viewers/atproto_reference_record.js b/ui/atproto/viewers/atproto_reference_record.js index 8d5f177..aed6db4 100644 --- a/ui/atproto/viewers/atproto_reference_record.js +++ b/ui/atproto/viewers/atproto_reference_record.js @@ -134,7 +134,9 @@ class AtprotoReferenceRecord extends AtRecordElement { _userFeed(did) { const profile = did ? cachedProfile(did) : null; return { - href: did ? `beaver://atproto/feed.html?did=${encodeURIComponent(did)}` : "", + href: did + ? `beaver://atproto/feed.html?did=${encodeURIComponent(did)}` + : "", text: profile?.displayName || shortenDid(did), // Hover previews the account's profile card (the link itself opens their // feed). The profile record is at:///app.bsky.actor.profile/self. diff --git a/ui/atproto/viewers/sh_tangled_repo.js b/ui/atproto/viewers/sh_tangled_repo.js index e70ff65..7e91ba0 100644 --- a/ui/atproto/viewers/sh_tangled_repo.js +++ b/ui/atproto/viewers/sh_tangled_repo.js @@ -173,28 +173,31 @@ class ShTangledRepo extends AtRecordElement { value.website || value.source ? html`` : "" } diff --git a/ui/system/mediacenter/ambient_view.js b/ui/system/mediacenter/ambient_view.js index f361670..e8b9398 100644 --- a/ui/system/mediacenter/ambient_view.js +++ b/ui/system/mediacenter/ambient_view.js @@ -973,8 +973,8 @@ class AmbientView extends LitElement { Guest PIN
${[...this.guestPin].map( - (d) => html`${d}`, - )} + (d) => html`${d}`, + )}
` diff --git a/ui/system/mobile/pebble.js b/ui/system/mobile/pebble.js index a1e1bd0..e590ff7 100644 --- a/ui/system/mobile/pebble.js +++ b/ui/system/mobile/pebble.js @@ -1177,35 +1177,35 @@ export class MobilePebble extends LitElement { ? html`
No notifications
` : html`` } diff --git a/ui/system/web_view.js b/ui/system/web_view.js index 015cf7a..84f947b 100644 --- a/ui/system/web_view.js +++ b/ui/system/web_view.js @@ -1270,12 +1270,12 @@ export class WebView extends LitElement { > ${ - this.blockerBadgeCount > 0 - ? html`${this.blockerBadgeCount}` - : "" - } + this.blockerBadgeCount > 0 + ? html`${this.blockerBadgeCount}` + : "" + } ` : ""