Closed coderoyalty closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
pseudonym | ✅ Ready (Inspect) | Visit Preview | Feb 23, 2024 9:44pm |
I'm merging this PR because its captivating features are primary requirements; it's also a major update to the dashboard.
feat(api): add route for updating username
chore: add gitignore in the root dir
refactor(app): move dashboard/home.tsx to pages directory
feat(api): implement dashboard profile page
feat(app): add useDebounce hook
feat(app): implement username verification in Profile component
This feature informs the user if a username is available or not
feat: add inbox functionality to dashboard
update navigation link to "/dashboard/inbox"
add new route for inbox page
implement Inbox component with pagination
fetch messages from backend based on current page
display messages in InboxMessagesPanel component
add InboxPagination component for navigating between pages
chore(deps): add shadcn-ui skeleton component
refactor(app): add skeleton animation to the inbox component
refactor(app): use tailwind merge to improve code readability
feat(app): add inbox message dialog
added a dialog component to display inbox messages.
added buttons within the dialog to perform actions like archiving, snapping, or deleting messages.
chore(app-deps): add swr package
refactor(app): add new components - ErrorDisplay, InboxPagination and MessageDialogContent
InboxPagination
facilitates paginated navigation with previous and next buttons.
MessageDialogContent
displays the content of messages within a dialog.
style(dashboard): add a sticky position to the mobile-nav component
remove unecessary timeout
refactor(app): use MessageDialogContent to display selected message from the carousel
feat:(app): handle out-of-range page gracefully, update loader layout, handle fetch error gracefully, and improve UI readability
refactor: update recentMessages type in HomeProps interface
chore(app-deps): add timeago.js package
feat(app): display creation date of messages using timeago.js
feat(app): sync URL query parameters with pagination parameters for the inbox page
refactor(app): gracefully set page parameter value to 1 if it's 0
feat(app): implement image capture in MessageDialogContent
This pull request is presumed to enable users to archive and delete messages. However, the state of the API hasn't included endpoints to perform these actions. So, the archive and delete clicks are not yet active.
There's an update on the API. The endpoints that are delaying issue #21 are now available #25
This pull request enhances the user experience on the dashboard by introducing an Inbox page feature.
The inbox page is packed with these features:
This pull request is presumed to enable users to archive and delete messages. However, the state of the API hasn't included endpoints to perform these actions. So, the archive and delete clicks are not yet active.