@@ -1518,19 +1518,27 @@ function PostPeek({ post, filterInfo }) {
Thread{' '}
>
)}
- {content ? (
+ {!!content && (
- ) : mediaAttachments?.length === 1 &&
- mediaAttachments[0].description ? (
- <>
-
ALT{' '}
-
{mediaAttachments[0].description}
- >
- ) : null}
+ )}
+ {!!poll?.options?.length &&
+ poll.options.map((o) => (
+
+ {poll.multiple ? '▪️' : '•'} {o.title}
+
+ ))}
+ {!content &&
+ mediaAttachments?.length === 1 &&
+ mediaAttachments[0].description && (
+ <>
+
ALT{' '}
+
{mediaAttachments[0].description}
+ >
+ )}
)}
diff --git a/src/pages/hashtag.jsx b/src/pages/hashtag.jsx
index cef670ad..251de1da 100644
--- a/src/pages/hashtag.jsx
+++ b/src/pages/hashtag.jsx
@@ -285,7 +285,7 @@ function Hashtags({ media: mediaView, columnMode, ...props }) {
required
autocorrect="off"
autocapitalize="off"
- spellcheck={false}
+ spellCheck={false}
// no spaces, no hashtags
pattern="[^#][^\s#]+[^#]"
disabled={reachLimit}
diff --git a/src/pages/login.jsx b/src/pages/login.jsx
index a7981510..5d53cde0 100644
--- a/src/pages/login.jsx
+++ b/src/pages/login.jsx
@@ -160,7 +160,7 @@ function Login() {
autocorrect="off"
autocapitalize="off"
autocomplete="off"
- spellcheck={false}
+ spellCheck={false}
placeholder="instance domain"
onInput={(e) => {
setInstanceText(e.target.value);
diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx
index 0ffc3093..ed3ce2de 100644
--- a/src/pages/notifications.jsx
+++ b/src/pages/notifications.jsx
@@ -221,6 +221,9 @@ function Notifications({ columnMode }) {
lastHiddenTime.current = Date.now();
}
unsub = subscribeKey(states, 'notificationsShowNew', (v) => {
+ if (uiState === 'loading') {
+ return;
+ }
if (v) {
loadUpdates();
}
diff --git a/src/utils/status-peek.jsx b/src/utils/status-peek.jsx
index 6d9bd3ff..9a9388e4 100644
--- a/src/utils/status-peek.jsx
+++ b/src/utils/status-peek.jsx
@@ -9,8 +9,10 @@ function statusPeek(status) {
text += getHTMLText(content);
}
text = text.trim();
- if (poll) {
- text += ' 📊';
+ if (poll?.options?.length) {
+ text += `\n\n📊:\n${poll.options
+ .map((o) => `${poll.multiple ? '▪️' : '•'} ${o.title}`)
+ .join('\n')}`;
}
if (mediaAttachments?.length) {
text +=