Skip to content

Frontend follow#16

Merged
morshedalamdev merged 9 commits into
mainfrom
frontend-follow
Apr 29, 2026
Merged

Frontend follow#16
morshedalamdev merged 9 commits into
mainfrom
frontend-follow

Conversation

@morshedalamdev
Copy link
Copy Markdown
Owner

This pull request makes several updates to the Next.js build artifacts, primarily related to configuration and routing. The most notable changes are the addition of a new not-found page route, updates to the Next.js dev tools configuration, and regeneration of preview mode credentials.

Routing changes:

  • Added a new route for the not-found page (/_not-found/page), mapping it to app/_not-found/page.js in the app paths manifest.

Configuration updates:

  • Updated the Next.js dev tools configuration to set the dev tools position to bottom-left in next-devtools-config.json.

Preview mode credentials:

  • Regenerated the preview mode credentials in prerender-manifest.json, updating the previewModeId, previewModeSigningKey, and previewModeEncryptionKey.

Modify post-create and post-item components (client) to adjust UI/behavior; refactor use-fetcher hook for improved API/error handling; update post-store state/actions to match the component changes. Corresponding server note.controller updated to align with the client API. Build artifacts and dev cache files regenerated.
Introduce client/components/comment/comment-create.tsx to provide comment creation UI and flow. Update related client components (comment-dialog, comment-item, post-item), shared types, and post store to integrate the new component. On the server, adjust comment service and DTOs and update the note service implementation. Development build artifacts under .next were regenerated.
Modify client comment-create and comment-item components and post-store to improve comment creation, rendering, and state management. Update server-side comment service and DTOs and adjust note service implementation; corresponding compiled dist files and .next turbopack/cache entries were updated. These changes align frontend behavior with backend APIs and fix comment handling/synchronization.
Wire up comment deletion end-to-end: add a Delete menu item in CommentItem that calls postStore.deleteComment, implement deleteComment in the post store to call DELETE /note/comment/:id, show toasts on error/success and remove the comment from local state. Update server controller route to accept comment id (Delete("comment/:id")). Regenerated compiled artifacts and build metadata.
Add a follow service and integrate follower/following relationships into the user domain. Server-side changes include server/src/follow/follow.service.ts and updates to user.entity.ts and user.service.ts to manage follow relations; compiled dist artifacts were updated accordingly. Client-side updates (client/app/(root)/user/[id]/page.tsx, client/lib/types.ts, client/stores/user-store.ts) add UI and state handling for follow/unfollow actions. Also includes Next.js dev cache/log updates and build outputs.
Add new UI components: client/components/ui/tabs.tsx and client/components/user/follow-dialog.tsx. Update the user page at client/app/(root)/user/[id]/page.tsx and related client dev assets (static CSS, source maps, trace). Clean up turbopack dev cache entries (multiple SST/META deletions) and update CURRENT/LOG. Also update server build info and modify server/src/note/note.controller.ts.
Update server follow and user services (src) and rebuild dist artifacts to reflect API/service changes. Adjust client user page, follow dialog, shared types, and user store to match the updated service behavior (follow/unfollow flow and data shapes). Remove/clean dev turbopack cache SST/meta files and update dev trace and log entries.
Update dev artifacts and generated assets: add Next DevTools config, append Turbopack log entries, and update prerender/middleware preview keys. Clean up generated root CSS chunk by removing a few unused Tailwind utilities and blue color variables. These are largely dev/build-generated changes and updated build metadata.
Refactor client/components/user/follow-dialog.tsx for clearer UI/logic and update client/hooks/use-fetcher.ts to improve request handling and error propagation. Also update types/validator.ts and regenerate Next dev artifacts (app-paths-manifest, font manifests, trace and turbopack cache) as part of the build output.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flexbuzz Ready Ready Preview, Comment Apr 29, 2026 1:10pm

@morshedalamdev morshedalamdev merged commit 3d299ac into main Apr 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant