Skip to content

Conversation

@kingRayhan
Copy link
Member

No description provided.

shoaibsharif and others added 30 commits March 19, 2025 13:09
- Introduced styles for article cards, including thumbnails, titles, excerpts, and tags.
- Added base styles for images and buttons to ensure consistent appearance.
- Implemented typography styles for content, enhancing readability and structure.
- Created styles for a fake editor interface, including headers and block elements.
- Defined custom font faces for Boshonto and KohinoorBangla.
- Established layout styles for main and aside sections, optimizing for different screen sizes.
- Developed loader animations for a better user experience during loading states.
- Enhanced markdown styles for better presentation of text, lists, and code blocks.
- Styled the navbar for a sticky, responsive design.
- Improved search input styles for better usability and aesthetics.
- Defined a theme with CSS variables for easy customization of colors.
- Added social login button styles for a cohesive look across authentication options.
- Added "target": "ESNext" to tsconfig.json for improved compatibility.
- Replaced SCSS with CSS in layout.tsx for consistency in styling.
- Enhanced RootLayout with Mantine HTML props for better integration.
- Removed unused dashboard components and pages to streamline the codebase.
- Updated Home component to simplify article fetching and rendering.
- Improved i18n handling in _t.ts and i18n.server-action.ts for better language management.
- Refactored RootWrapper to remove unnecessary user state management.
- Removed RootWrapper component to simplify the layout structure in layout.tsx.
- Updated Home component to replace ThreeColumnLayout with a basic structure for clarity and ease of development.
- Downgraded lockfile version to 0 for compatibility.
- Added new dependencies: `@radix-ui/react-slot`, `class-variance-authority`, `lucide-react`, `tailwind-merge`, and `tw-animate-css` to enhance UI components.
- Updated existing dependencies to their latest versions for better performance and features.
- Refactored CSS styles to include new variables and improve dark mode support.
- Simplified logout function by removing unnecessary cookie handling.
- Added new environment variables for better authentication and database configuration.
- Updated Next.js configuration to remove specific package optimizations.
- Refactored layout and error handling components to improve structure and styling.
- Replaced Mantine components with custom styles for a more consistent UI.
- Introduced social login functionality in the Home component.
- Removed unused MantineProvider to streamline the application structure.
- Updated package dependencies for better performance and compatibility.
- Introduced CommonProviders in layout.tsx to enhance context management.
- Updated layout to apply custom font styles and suppress hydration warnings.
- Enhanced the Home component with a new title and localized content.
- Removed the unused react-query-client.ts file to streamline the codebase.
…lity

- Added `next-themes` for enhanced theme management.
- Introduced `postcss-import` and `postcss-nesting` to improve CSS organization.
- Refactored layout components to utilize `BaseLayout` for consistent structure.
- Removed unused `Navbar` component and consolidated styles for better maintainability.
- Updated CSS variables for improved theme support and responsiveness.
…tionality

- Updated Navbar to include logo, search input, and action buttons for enhanced navigation.
- Introduced a Trailing prop for additional content in the Navbar.
- Enhanced ThemeSwitcher with SVG icons for light and dark mode toggling.
- Removed unused CSS files related to Navbar and search input for better maintainability.
- Updated app.css with new CSS variable definitions for improved theme support.
- Added new Radix UI components: `@radix-ui/react-avatar`, `@radix-ui/react-dropdown-menu`, and `@radix-ui/react-popover` for improved UI interactions.
- Integrated `I18nProvider` in the layout for better internationalization support.
- Updated Navbar to fetch authentication session and pass it to NavbarActions for dynamic rendering.
- Refactored button components to utilize the new UI library for consistent styling.
- Improved search input styling for better visual integration.
- Removed unused social login CSS file to streamline styles.
- Updated package dependencies for enhanced functionality and performance.
- Deleted `auth-schema.ts` to eliminate obsolete user, session, account, and verification table definitions.
- Removed migration files `0000_even_gunslinger.sql` and `0001_tranquil_solo.sql` as they are no longer needed.
- Updated migration metadata to reflect the removal of these files and adjusted table names in the snapshot for consistency.
- Added `username` field to the `users` schema and updated related configurations in `auth.ts` for enhanced user management.
…tionality and UI

- Removed unused authentication session retrieval in NavbarActions for cleaner code.
- Enhanced ThemeSwitcher with a dropdown menu for theme selection, replacing previous button implementation.
- Integrated translation support for the theme label in Bengali.
- Improved icon rendering based on the selected theme for better user experience.
…base

- Deleted the `page.tsx` component as it was no longer needed.
- Removed `_layout.css` file to eliminate obsolete styles and improve maintainability.
- Updated Navbar to enhance UI by adjusting the visibility of the Techdiary label.
- Replaced the deprecated Search icon with a new implementation for better consistency.
- Introduced `@radix-ui/react-dialog` dependency for improved modal functionality.
- Refactored `HomeLeftSidebar` to utilize a sidebar sheet for better user interaction.
- Updated `BaseLayout` and `HomepageLayout` to support additional Navbar content.
- Renamed `page` component to `Page` for consistency with React component naming conventions.
- Integrated a sidebar toggle button in the homepage layout for enhanced navigation.
- Updated SearchInput to use asynchronous translation for the placeholder text.
- Added Bengali translation for the "Type to search" prompt in the i18n configuration.
- Removed commented-out code for cleaner implementation.
…actor UI components

- Removed obsolete environment variables and added GitHub OAuth credentials in `.env`.
- Updated database connection string format in `.env` for consistency.
- Changed schema path in `drizzle.config.ts` to reflect new directory structure.
- Added new dependencies in `package.json` for improved functionality.
- Deleted unused migration files and updated migration metadata for better clarity.
- Refactored `Navbar` and `NavbarActions` components to remove unused authentication logic and improve code cleanliness.
- Enhanced `DesignSystemPage` for better UI consistency and updated button styles.
- Added utility function for generating random strings in `utils.ts` for future use.
…onality

- Changed `Page` component to be asynchronous and prepared for session handling.
- Updated session creation logic to use a centralized persistence repository.
- Modified user model to use `profile_photo` instead of `profilePhoto` for consistency.
- Enhanced session cookie expiration to 30 days for better user experience.
- Added new interface for update payloads in persistence contracts to streamline updates.
- Removed commented-out session retrieval in the `Page` component for cleaner code.
- Updated `createSession` function to accept the request object for better session management.
- Enhanced the `GET` method in the GitHub callback route to utilize the updated session creation logic.
- Improved the `buildWhereClause` function to streamline SQL query construction and added detailed comments for clarity.
- Adjusted the `updateOne` method in the persistence repository to ensure proper SQL formatting.
- Added `jotai-devtools` for improved state management debugging.
- Updated session handling in `CommonProviders` to include session context.
- Refactored `NavbarActions` to utilize session state and clean up authentication logic.
- Enhanced `SocialLoginCard` and `Navbar` components for better user experience.
- Updated migration journal with new entries for improved tracking.
…ing; improve error handling in mutation callbacks; update textarea value management
…y; update translation for 'Saved' status; introduce formattedRelativeTime utility function
… useMarkdownEditor to accept ref; enhance command execution logic
…ndling in formatted time and add optional chaining for command execution
…articles; enhance success handling for article updates; adjust CSS for success color variables
…iders; enhance FakeEditor with session check and alert for unauthenticated users; update Bengali translations
…cle creation page and improve structure for authenticated users
… sidebar and enhance user information display with session checks and dynamic data fetching
…ent variable management and create env.ts for configuration
…information for improved author identification
…ate slugify utility, and enhance article fetching with ordering by creation date
…nd implement article update mutation with error handling
…andle generation logic, and conditionally render ArticleEditorDrawer based on UUID. Enhance ArticleEditorDrawer with InputTags component for better tag input handling.
…ing for article updates, and enhance user experience with clearer feedback on submission status.
…d article_tag, articles-modified, articles-old, comments-mod, comments, tag-mod, tags, techdiary-drizzle, user_sessions, user_socials, and users SQL files to streamline the project structure.
…c to use a button, and improve input placeholder and styling for better user experience.
@vercel
Copy link

vercel bot commented Apr 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
techdiary-dev-next ❌ Failed (Inspect) Apr 3, 2025 4:02pm

@kingRayhan kingRayhan merged commit b511e73 into main Apr 3, 2025
1 of 5 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.

2 participants