Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add username to user schema * feat: generate username on account creation * feat: rename /dashboard route to /home * wip: tweet on dashboard * feat: update to design system alpha.12 * refactor: move /profile to /profile/[id] route * feat: separate profile page and edit profile page * fix: import set * feat: add profile router and add error handling for update profile * feat: update app layouts * feat: add update profile page according to new design * refactor: move `me` and `settings` related files into own feature dir * refactor: rename user.* to me.* since we now have profiles, should distinguish between procedures and services relating to currently logged in user vs other users * feat: clean up redundant Avatar component props * feat: fetch and display user profiles * feat: add NavigationalTab component * feat: add ProfileLayout and profile tabs * feat: add initial profile tweet view * feat: add TweetActions component placeholder * feat: add procedure to handle liking of posts * refactor: rename tweet -> post to better align with purpose * feat: enable replying in profile view * fix: only fetch posts without parent posts * feat: add procedure for retrieving liked posts * feat: use local state instead of invalidating query * feat: enable delete * fix: relative date calculation * feat: add handling of navigation to thread view * feat: extract BackBannerLink component * feat: rename PROFILE_ grid column constants to APP_ * feat: update styling for app's navbar and sidebar * feat: add thread view * feat: remove old feedback routes not needed in new app anymore, but cannot post anymore haha * feat: add new post functionality on profile and home page * feat: remove unused files and functions * feat: fetch all posts user has replied * feat: add custom image upload button * feat: add images field to Post table in db * feat: update r2 bucket hierarchy and env vars, add image upload feat now using single-bucket architecture to reduce number of env vars needed for each feature (avatars, images). The images uploaded will be nested under the single bucket. Some drawbacks though: No more finer grained access control, but should be ok for our use case, since all images should be public. * feat: render images in posts * fix: correctly hide deleted posts in thread replies * feat: stop retrying 404s * feat: return to home page on 404 in thread * fix: properly check image types of uploaded files * feat: remove ssr on index page * fix: lint fix * fix: swc autofix swc packages * fix: render AppNavbar correctly * feat: generate username for sgid login if not set * feat: clean up exports, import from feature's /component directory * fix: correct landing page styling after merge AppGrid padding has changed in this branch * fix: clear session on SGID route call regardless * feat: display SGID errors in email field * fix: AppNavbar stickiness * feat: add responsive sidebar * feat: add mobile app layout * feat: add mobile styling to post view * feat: add mobile responsiveness to profile page * feat: add responsiveness to profile settings * feat: allow updating of email address in profile * feat: remove mock repost button (for now) * feat: add link copy functionality * feat: remove unused ogp-logo asset * feat: remove unused imports * fix: add cuid2 package left out from branch merge * fix: remove now-unneeded ts-expect-error directive * feat: remove read post feature unneeded, cutting down complexity * fix(profile): styling * feat: update padding again * feat: use suspense for profile fetch, add post skeletons * feat: add empty states for profile * feat: add empty state for home page * refactor: move SkeletonPostList to common component * feat: add empty and skeleton states for home page * feat: add skeleton state to thread view * feat: remove default useErrorBoundary on trpc query client it will be automatically set when users use `useSuspenseQuery` hook * feat: update storybook * fix(FileButton): incorrect displayname * fix: correctly mock trpc-msw with superjson * feat: update storybook preview for new suspense setup * feat: add initial empty homepage story * feat(story): add mockdate decorator, posts and mobile story * fix: await or void promises with new lint rule * feat(PostActions): set empty box if not owner of post * feat(PostActions): use tooltip to denote copy action * feat: synchronise avatar display in posts with navbar * feat: extract NewPostModal to own component and add story * feat: correctly hide upload button if image uploads are not enabled * feat: move feature available in application into a provider * fix(storybook): add feature flag decorator allows setting of features to rendered stories * feat(signin): add story to show sgID login * feat: update empty post text * feat: remove avatar display on create modal * feat: update and lock tiptap packages to 2.0.3 * feat: focus on rich text editor in compose modals * feat: disable buttons if no content is entered yet * fix: incorrect margins when replying to comment * fix(ComposePost): avatar colouring consistency * feat: add ResponsiveModal, use in post modals * feat: add fontFeatureSettings to tiptap editor * feat: update toast description when creating post * feat: add back all Restricted components * feat: update layout of application * feat: update reply post toast copy * fix(ResponsiveModal): remove isCentered prop * fix: zIndex of adminlayout fixed areas * feat: add breathing space to app outlet * feat: use chakra image for non-caching image load * feat: add better spacing for profile tabs * fix(RichText): prevent editor from focusing if is readonly was causing content jumps due to focusing when the editor is created * feat: appnavbar logo to return to homepage instead of landing * fix: update alignment of post body * feat: update mobile views of modals * feat: clamp upload image preview to 1 column on mobile * feat: move bottom padding into the pages themselves * fix: modal styling * fix: correct padding of postview on mobile * feat: fix image sizing according to design * fix: update modal buttons for add comment modal too * feat: remove govtmasthead on admin layout * feat(editProfile): fill white bg to whole of page * feat: remove logout button on side dashbar * feat(AddCommentModal): add missing close button * feat(ResponsiveModal): add isCentered, set scroll behavior to inside * fix: correctly add back stack divider when rendering post list * feat: add missing dividers in thread view * feat: add app-specific modal styling example * feat: clean up and update PostSkeleton, rename to SkeletonPost * fix: correct rendering of PostList * feat: add skeleton for thread view * fix: remove react component spreading in skeletons * feat: change sgid login button variant to clear
- Loading branch information
f33ebb0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
starter-kit – ./
starter-kit-git-main-ogp-tooling.vercel.app
starter-kit-ogp-tooling.vercel.app
ogp-starter-kit.vercel.app