Next - #209
Conversation
Configures semantic release to trigger releases from the develop branch. Adds a badge to the README to display semantic release status.
Removes unnecessary console logs. Updates the CHANGELOG file to reflect the project's initial release and subsequent features and fixes.
Updates the pre-commit hook to include an additional protected branch. This prevents direct commits to the 'next' branch, enforcing the established workflow.
Introduces user authentication using NextAuth, Prisma, and JWT. Provides a user context for managing user data and authentication state throughout the application. Implements middleware for route protection and redirection to the login page if the user is not authenticated.
Implements sign-in and sign-up functionality. Introduces auth link component for consistent styling. Integrates i18n for internationalization of auth-related messages. Adds sign-in and sign-up buttons to the header.
- Introduces authentication routes and constants for consistent navigation. - Adds a component for signing in with various providers using icons and translations. - Refactors authentication logic into a dedicated module.
Adds support for authentication using Resend, Google, GitHub, GitLab, Facebook, Apple, Instagram, Twitter, and LinkedIn. This enhances the user experience by providing multiple authentication options.
Renames 'Home' and 'PrivacyPolicyPage' components to 'Page' for consistency. Simplifies data fetching in the privacy policy page by using `getTranslations` directly.
Fixes broken imports for loading components by updating the import paths. Removes an unused import from the manifest file.
Adds basic authentication pages. Implements layout for authentication. Updates redirect after sign-in. Adds .notes to .gitignore.
Adds initial layout and placeholder pages for admin section, tickets, and users.
Moves website-specific components to a dedicated directory, improving project organization and maintainability. Updates imports across the codebase to reflect the new component locations.
Updates the "@/components" alias to "@/comp" in components.json. Refactors imports throughout the codebase to reflect the alias change, ensuring correct component resolution and project consistency.
Adds a new user interface for authentication. This includes: - Login and registration pages with supporting components. - UI components for form elements, cards, and social sign-in. - Radix UI separator dependency. - Layout for auth pages.
- Introduces a terminal visual component to the authentication layout, providing a dynamic display. - Refactors component paths for better organization. - Removes unnecessary descriptions from the registration page.
Improves the terminal visual component with: - Adds a background animation for a more engaging experience. - Includes an ASCII art display upon task completion. - Enhances overall aesthetics and user experience.
Updates various dependency versions in package.json and pnpm-lock.yaml. This change ensures the project uses the latest versions of its dependencies, incorporating bug fixes, performance improvements, and new features.
Adds a new layout for authentication pages with visual enhancements and supporting information. Introduces internationalization support for the new layout. Improves the terminal visual component and styles. Updates dependencies and configurations.
Adds layout and descriptions for the authentication pages. Improves user experience by providing a clear and informative interface. Adjusts layout spacing for better visual appeal.
- Introduces password reset functionality - Improves login and signup forms for better UX - Adds back button for easier navigation - Implements theme toggle on auth layout
Adds a login form with email and password validation. Implements login action to authenticate users. Adds password input component with show/hide toggle. Includes i18n support for validations.
Adds registration form with validation using react-hook-form and zod. Implements password hashing for user security using bcryptjs. Creates loading components for auth pages to improve UX. Adds password field to user model for authentication. Integrates action state for managing form submission.
- Adds i18n support for common form elements. - Refactors authentication pages for improved user experience. - Introduces rich text formatting for dynamic links in auth messages.
- Adds "close" button text to common labels - Introduces Terms and Conditions page with structured content - Implements input validations and error handling for authentication forms. - Adds locale switcher to auth layout - Refactors submit button into a reusable component
Implements two-factor authentication flow. Adds database fields for managing 2FA state. Includes i18n support for new 2FA related strings.
Adds reset password functionality. Improves error handling in authentication flows. Updates message translations for auth screens. Includes new auth error component.
Updates the structure of the privacy policy messages to introduce a 'sections' field. This allows for better organization and management of the policy content. A new component is introduced to render this structured data.
Adds a new background pattern to the authentication layout. Introduces a "network" variant to background patterns, providing a visually appealing backdrop. Improves user interface aesthetics.
Adds password reset functionality. - Introduces a new `PasswordResetToken` model. - Implements logic for generating and storing reset tokens. - Creates a "check your email" page after password reset request. - Adds i18n support for the new password reset flow. - Disables unsafe eslint rules temporarily.
Adds newsletter subscription functionality with email confirmation. Subscribers now require email verification via a token sent to their email address. Includes locale support and translations for the confirmation emails. Updates the subscriber model to include locale information.
- Introduces email verification flow upon registration. - Adds email templates for verification and welcome messages. - Improves password reset email copy. - Updates auth-related messages for clarity.
Adds refresh token logic for session persistence. Introduces token verification service for email and password reset flows. Enhances user model with additional profile information and settings. Refactors account and session models for improved data management. Updates email verification process for user registration.
Adds email verification functionality to the application. The following changes were made: - Implements email verification page and status card. - Creates logic for handling email verification tokens. - Adds translations for the new email verification flow for both english and turkish. - Sends welcome email to verified users. - Handles cases of missing or invalid tokens and user not found.
Adds two-factor authentication (2FA) to enhance security. Implements TOTP generation and verification. Provides backup code generation and regeneration. Integrates 2FA into the authentication flow.
- Introduces comprehensive authentication message translations. - Refactors translation keys for better consistency. - Improves error handling in forms with global error messages. - Updates metadata and labels across the application.
Sets up the basic dashboard layout with header, main content area, and footer. Adds authentication check to ensure only logged-in users can access the dashboard. Improves overall structure and UI of the application.
- Restructures i18n messages into modules - Generates declaration file for i18n modules - Moves website-related messages into website folder - Updates logo to use translation key
Updates various dependencies in package.json and pnpm-lock.yaml
Adds a mobile sidebar component for smaller screens. The sidebar provides navigation and app controls. It improves the user experience on mobile devices.
Updates import aliases to reflect the correct location of UI components. This change ensures consistent and accurate imports throughout the application.
Adds user menu with account and security settings. Introduces user avatar component with session support. Refactors navigation and translation files.
- Refreshes the user session upon successful login. - Improves user avatar handling, prioritizing context data. - Streamlines user menu logic and loading states. - Fixes minor UI issues.
Replaces generic spinner with a loading icon to better indicate the user menu loading state. Removes unnecessary console log.
Improves the user menu by adding a loading state with a spinner. This change introduces a Suspense component to handle the loading state of the UserMenu, providing a smoother user experience. The spinner is displayed while the user data is being fetched.
- Prefills contact form with user data when available. - Creates website components index file for cleaner imports. - Updates background patterns with linear gradients. - Refines desktop sidebar styling.
❌ Deploy Preview for nitrokittr failed. Why did it fail? →
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📦 Next.js Bundle Analysis for nitrokit-nextjsThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
96.82 KB (🟡 +141 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
One Page Changed Size
The following page changed size from the code in this PR compared to its base branch:
| Page | Size (compressed) | First Load | % of Budget (350 KB) |
|---|---|---|---|
/_error |
10.93 KB |
107.75 KB | 30.78% (🟡 +0.01%) |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
No description provided.