From bb81f51bf4334667a9b16a33c23a9688578f0db5 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Thu, 14 Mar 2024 10:35:19 -0700 Subject: [PATCH 1/5] Fix incorrect alert text colour --- src/components/feedback/alert/Alert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/feedback/alert/Alert.tsx b/src/components/feedback/alert/Alert.tsx index 3d92f904..51dc5a59 100644 --- a/src/components/feedback/alert/Alert.tsx +++ b/src/components/feedback/alert/Alert.tsx @@ -10,7 +10,7 @@ export default function Alert(props: Props) { const icon = getAlertIcon(variant); return ( -
+
{icon} {message}
); From 7b51021f898efa2da70dbec845f245e87af33761 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Thu, 14 Mar 2024 10:48:20 -0700 Subject: [PATCH 2/5] Adjust dim background colour --- src/styles/globals.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/globals.css b/src/styles/globals.css index d792aa7b..bd4e29c3 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -55,7 +55,7 @@ /* Background */ --color-background-base: 24, 5, 41; /* 180529 */ --color-background-secondary: 38, 6, 64; /* 260640 */ - --color-background-tertiary: 43, 25, 59; /* 2b193b */ + --color-background-tertiary: 64, 41, 84; /* 402954 */ --color-background-muted: 97, 86, 107; /* 61566b */ --color-background-inverted: 245, 245, 245; /* bg-neutral-100 */ --color-background-inverted-muted: 212, 212, 212; /* bg-neutral-300 */ From b99d09f4f5c30da6725a56d2c894cb33bd00bb0e Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Thu, 14 Mar 2024 10:50:29 -0700 Subject: [PATCH 3/5] Prevent multiple error toasts on publish --- src/lib/hooks/bsky/feed/usePublishPost.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/hooks/bsky/feed/usePublishPost.tsx b/src/lib/hooks/bsky/feed/usePublishPost.tsx index f9294f3b..a19f4010 100644 --- a/src/lib/hooks/bsky/feed/usePublishPost.tsx +++ b/src/lib/hooks/bsky/feed/usePublishPost.tsx @@ -256,7 +256,7 @@ export default function usePublishPost(props: Props) { toast.success("Post published", { id: "Post publish" }); }, onError: (e) => { - toast.error(e.message); + toast.error(e.message, { id: "Post error" }); }, }); } From afecb4c128bdbb92058bd565abf5a2fefcbeefff Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Thu, 14 Mar 2024 11:05:23 -0700 Subject: [PATCH 4/5] Lower scroll threshold --- src/components/contentDisplay/lists/Lists.tsx | 2 +- src/containers/lists/ListMembersContainer.tsx | 2 +- src/containers/lists/ListsContainer.tsx | 2 +- src/containers/notifications/FilteredNotificationsContainer.tsx | 2 +- src/containers/posts/FeedContainer.tsx | 2 +- src/containers/posts/UserPostsContainer.tsx | 2 +- src/containers/search/PostSearchContainer.tsx | 2 +- .../settings/blockedUsersContainer/BlockedUsersContainer.tsx | 2 +- .../settings/mutedUsersContainer/MutedUsersContainer.tsx | 2 +- src/containers/thread/LikedByContainer.tsx | 2 +- src/containers/thread/RepostedByContainer.tsx | 2 +- src/containers/users/FollowersContainer.tsx | 2 +- src/containers/users/FollowingContainer.tsx | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/contentDisplay/lists/Lists.tsx b/src/components/contentDisplay/lists/Lists.tsx index b9dc1159..f74b4539 100644 --- a/src/components/contentDisplay/lists/Lists.tsx +++ b/src/components/contentDisplay/lists/Lists.tsx @@ -48,7 +48,7 @@ export default function Lists() { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {lists?.pages diff --git a/src/containers/lists/ListMembersContainer.tsx b/src/containers/lists/ListMembersContainer.tsx index 9e2ec54e..e54c4034 100644 --- a/src/containers/lists/ListMembersContainer.tsx +++ b/src/containers/lists/ListMembersContainer.tsx @@ -48,7 +48,7 @@ export default function ListMembersContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && diff --git a/src/containers/lists/ListsContainer.tsx b/src/containers/lists/ListsContainer.tsx index dc6dbe77..9f9fe167 100644 --- a/src/containers/lists/ListsContainer.tsx +++ b/src/containers/lists/ListsContainer.tsx @@ -52,7 +52,7 @@ export default function ListsContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {lists?.pages diff --git a/src/containers/notifications/FilteredNotificationsContainer.tsx b/src/containers/notifications/FilteredNotificationsContainer.tsx index 5228c38d..314defa4 100644 --- a/src/containers/notifications/FilteredNotificationsContainer.tsx +++ b/src/containers/notifications/FilteredNotificationsContainer.tsx @@ -74,7 +74,7 @@ export default function FilteredNotificationsContainer(props: Props) { next={fetchNotificationNextPage} hasMore={notificationHasNextPage} loader={!isFetchingMore && } - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {notificationData && diff --git a/src/containers/posts/FeedContainer.tsx b/src/containers/posts/FeedContainer.tsx index 64a985aa..eb4e35ab 100644 --- a/src/containers/posts/FeedContainer.tsx +++ b/src/containers/posts/FeedContainer.tsx @@ -61,7 +61,7 @@ export default function FeedContainer(props: Props) { next={fetchNextFeedPage} hasMore={feedHasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar" > {isFetchingFeed && !isFetchingFeedNextPage && } diff --git a/src/containers/posts/UserPostsContainer.tsx b/src/containers/posts/UserPostsContainer.tsx index 82c36b3d..e4eca77a 100644 --- a/src/containers/posts/UserPostsContainer.tsx +++ b/src/containers/posts/UserPostsContainer.tsx @@ -63,7 +63,7 @@ export default function UserPostsConatiner(props: Props) { next={fetchNextUserPostsPage} hasMore={userPostsHasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar" > {!isBlocked && diff --git a/src/containers/search/PostSearchContainer.tsx b/src/containers/search/PostSearchContainer.tsx index dc6b41a8..c07452a9 100644 --- a/src/containers/search/PostSearchContainer.tsx +++ b/src/containers/search/PostSearchContainer.tsx @@ -48,7 +48,7 @@ export default function PostSearchContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {posts?.pages diff --git a/src/containers/settings/blockedUsersContainer/BlockedUsersContainer.tsx b/src/containers/settings/blockedUsersContainer/BlockedUsersContainer.tsx index ec74f06e..9f3c52d5 100644 --- a/src/containers/settings/blockedUsersContainer/BlockedUsersContainer.tsx +++ b/src/containers/settings/blockedUsersContainer/BlockedUsersContainer.tsx @@ -51,7 +51,7 @@ export default function BlockedUsersContainer() { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && diff --git a/src/containers/settings/mutedUsersContainer/MutedUsersContainer.tsx b/src/containers/settings/mutedUsersContainer/MutedUsersContainer.tsx index 1fcc5527..6f27623f 100644 --- a/src/containers/settings/mutedUsersContainer/MutedUsersContainer.tsx +++ b/src/containers/settings/mutedUsersContainer/MutedUsersContainer.tsx @@ -48,7 +48,7 @@ export default function MutedUsersContainer() { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && diff --git a/src/containers/thread/LikedByContainer.tsx b/src/containers/thread/LikedByContainer.tsx index 6006c5eb..6a197dcf 100644 --- a/src/containers/thread/LikedByContainer.tsx +++ b/src/containers/thread/LikedByContainer.tsx @@ -53,7 +53,7 @@ export default function LikedByContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && diff --git a/src/containers/thread/RepostedByContainer.tsx b/src/containers/thread/RepostedByContainer.tsx index bd48727f..6a373534 100644 --- a/src/containers/thread/RepostedByContainer.tsx +++ b/src/containers/thread/RepostedByContainer.tsx @@ -53,7 +53,7 @@ export default function RepostedByContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && diff --git a/src/containers/users/FollowersContainer.tsx b/src/containers/users/FollowersContainer.tsx index b3f05bc0..8cf4e0db 100644 --- a/src/containers/users/FollowersContainer.tsx +++ b/src/containers/users/FollowersContainer.tsx @@ -47,7 +47,7 @@ export default function FollowersContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && diff --git a/src/containers/users/FollowingContainer.tsx b/src/containers/users/FollowingContainer.tsx index 84d5f208..de391418 100644 --- a/src/containers/users/FollowingContainer.tsx +++ b/src/containers/users/FollowingContainer.tsx @@ -48,7 +48,7 @@ export default function FollowingContainer(props: Props) { next={fetchNextPage} hasMore={hasNextPage} loader={} - scrollThreshold={0.95} + scrollThreshold={0.8} className="no-scrollbar flex flex-col" > {profiles && From 1cc84b2009e8d176f915136a1ee69d3cea4cd101 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Thu, 14 Mar 2024 11:31:39 -0700 Subject: [PATCH 5/5] Update about page --- src/app/(site)/about/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(site)/about/page.tsx b/src/app/(site)/about/page.tsx index 3c4b9b9d..713e9b1c 100644 --- a/src/app/(site)/about/page.tsx +++ b/src/app/(site)/about/page.tsx @@ -119,7 +119,7 @@ export default function Page() { Where can I see progress updates?

- For the moment, you can see what is being worked on under{" "} + You can see what is being worked on under{" "}