Commit Graph

234 Commits

Author SHA1 Message Date
AmirReza Jamali 4b425d6a46 Fixed sign in page test failing issue 2026-05-04 10:11:57 +03:30
a.jamali 05d40a242c Update .env.production 2026-05-03 19:02:44 +03:30
Karim Pirzargar 7b760eaa4b update path dockerfile 2026-05-03 17:05:09 +03:30
AmirReza Jamali c38c226dbd refactor(tender-details): integrate unixToDate for date formatting and enhance layout consistency
- Replaced msToDate with unixToDate for application, publication, submission, and tender deadlines to ensure accurate date representation.
- Improved ShowcaseSection layout by adjusting class names for better visual consistency across various sections.
- Enhanced error message formatting for improved readability.
2026-05-03 11:00:03 +03:30
AmirReza Jamali 04bdb7bf0d refactor(tender-details): update ShowcaseSection styling for improved layout consistency
- Replaced TIMELINE_SHOWCASE with SHOWCASE_CENTERED_BODY for better vertical alignment of content in ShowcaseSection components.
- Ensured consistent styling across various sections including Tender ID, Buyer organization, and timeline details.
2026-05-02 13:04:56 +03:30
AmirReza Jamali 88f9605748 feat(tenders-table): add submission and tender deadlines to tender list
- Enhanced TendersTable to display submission deadline, tender deadline, and created at date using unixToDate for better clarity.
- Updated useTenderListPresenter to include new columns for submission and tender deadlines.
- Modified TenderSchema to make created_at optional, aligning with data structure requirements.
2026-05-02 13:01:11 +03:30
AmirReza Jamali c82574af01 refactor(contacts-footer-hero-section): remove placeholder text from input fields for cleaner UI
- Removed placeholder text from various input fields in ContactsStep, FooterStep, HeroStep, and SectionStep components to streamline the user interface.
- Updated MarketingForm to enhance form field handling and validation logic.
- Improved default values in useMarketingForm for better initial state management.
2026-05-02 12:49:58 +03:30
AmirReza Jamali 37c4053a6c feat(tender-details): enhance tender details page with improved layout and error handling
- Added SectionHeading and ExternalLinkIcon components for better structure and visual appeal.
- Improved error handling UI when tender data fails to load, providing user-friendly messages and navigation options.
- Refactored ShowcaseSection to accept additional className and rootClassName props for more flexible styling.
- Updated TendersTable to streamline action buttons and improve layout consistency.
2026-05-02 10:05:48 +03:30
AmirReza Jamali 73d11ac72b feat(CreateAdmin): add password visibility toggle button for improved user experience 2026-05-02 09:27:50 +03:30
AmirReza Jamali 62a5873a3f refactor(CreateCustomer): replace password visibility toggle from span to button for improved accessibility 2026-04-28 15:19:20 +03:30
AmirReza Jamali 5bf3e53d95 refactor(ui): improve layout and accessibility in various components
- Updated the grid layout in the Home page for better responsiveness.
- Adjusted tabIndex handling in MultiSelect component to enhance accessibility.
- Added minimum width to the TopChannels table for consistent display.
- Refined notification recipient placeholder logic for cleaner code.
2026-04-28 15:16:33 +03:30
AmirReza Jamali 013788d566 feat(map): enhance map component with ref for container and cleanup logic 2026-04-28 14:01:07 +03:30
AmirReza Jamali bcea73051b chore(env): update application version to 2.0.1 and enhance output file tracing in Next.js configuration 2026-04-28 09:33:44 +03:30
Karim Pirzargar f4b81c7b3b Merge branch 'develop' of repo.ravanertebat.com:TM/tm_panel into develop 2026-04-27 12:29:33 +03:30
Karim Pirzargar f8a04a68b6 install xvfb * base imahe 2026-04-27 12:29:14 +03:30
AmirReza Jamali 487a9d56e1 feat(theme-toggle): implement triple tap gesture for theme switching and enhance sidebar visibility logic 2026-04-27 12:20:51 +03:30
Karim Pirzargar 2014403558 add xvfb-run 2026-04-27 12:09:21 +03:30
Karim Pirzargar 912406369c add base image cyperss 2026-04-27 12:00:27 +03:30
AmirReza Jamali 0177ecdb4f feat(layout): integrate VersionLogger component to display application version in the layout 2026-04-26 17:44:36 +03:30
AmirReza Jamali 079d976c29 feat(env): add application version to environment variables and log it in the layout component 2026-04-26 17:18:27 +03:30
AmirReza Jamali 1540679095 fix(build.sh): update image tag handling to prompt interactively if omitted
- Modified the build script to allow the image tag to be optional, prompting the user for input if not provided.
- Updated usage instructions to reflect the new behavior.
2026-04-26 16:14:58 +03:30
AmirReza Jamali 36cf088aa5 feat(sidebar): add visibility property to navigation item for conditional rendering 2026-04-26 15:49:19 +03:30
AmirReza Jamali 4fee2c4944 chore: update CI configuration and Dockerfile for pnpm compatibility
- Adjusted CI configuration to ensure compatibility with pnpm.
- Made necessary updates to the Dockerfile for seamless integration with pnpm.
- Refined installation instructions in README.md to align with the latest changes.
2026-04-26 10:13:02 +03:30
AmirReza Jamali 84d34866be chore: migrate to pnpm for package management and update CI configuration
- Replaced npm with pnpm in the CI configuration and Dockerfile for improved dependency management.
- Updated package.json to specify pnpm as the package manager.
- Modified installation instructions in README.md to reflect the use of pnpm.
- Enhanced the build process in the Dockerfile to utilize pnpm for installing dependencies and building the application.
2026-04-25 15:20:23 +03:30
AmirReza Jamali 9b3bd3d1f5 chore: remove package-lock.json to clean up project dependencies and replaced pnpm 2026-04-25 14:46:49 +03:30
Karim Pirzargar 995758a04b showe log 2026-04-25 14:23:05 +03:30
Karim Pirzargar f6883023b0 update node verisn 2026-04-25 14:15:28 +03:30
Karim Pirzargar 975e315de4 update 2026-04-25 14:01:39 +03:30
AmirReza Jamali eab516c7f3 feat(tests, components): enhance Cypress commands and UI elements for improved testing and accessibility
- Added new Cypress commands for mocking admin-related API interactions, including list, create, update, delete, and change status functionalities.
- Introduced data-cy attributes across various components (e.g., Breadcrumbs, Forms, Tables) to improve testability and accessibility.
- Updated existing components to support new data-cy attributes for better integration with Cypress tests.
2026-04-25 13:25:23 +03:30
AmirReza Jamali 2a4f3e7e4b refactor(loading, auth, status): enhance UI components for improved aesthetics and functionality
- Redesigned Loading component to feature a full-screen loader with animated elements for a modern look.
- Updated SigninWithPassword component to include error handling and improved password visibility toggle.
- Refactored Status component to utilize a tone-based styling system for better visual feedback based on status types.
2026-04-25 12:35:03 +03:30
AmirReza Jamali f195bba03d refactor(auth, layouts): enhance UI components for improved aesthetics and usability
- Updated SignIn and Profile components with new background styles and layout adjustments for a more modern look.
- Refined button styles in GoogleSigninButton and SigninWithPassword for better user interaction feedback.
- Enhanced InputGroup and Select components with improved styling and error handling for a more consistent user experience.
- Adjusted Sidebar and Header components for better responsiveness and visual appeal.
- Implemented spotlight effect in UserInfo dropdown for a more engaging user interface.
2026-04-23 20:53:23 +03:30
AmirReza Jamali bb1af8b31c feat(package): add Cypress for end-to-end testing and enhance scripts
- Added Cypress as a dependency for end-to-end testing.
- Introduced new npm scripts for running Cypress tests and starting the development server for testing.
- Updated package-lock.json to reflect the new dependencies and their versions.
2026-04-21 15:59:20 +03:30
AmirReza Jamali dae564b859 refactor(forms): update placeholders for improved clarity and user guidance
- Made the placeholder in InputGroup optional for better flexibility.
- Updated various form components (CreateCompany, CreateCustomer, CreateNotification, CreateCompanyCategory) to provide more descriptive placeholders, enhancing user understanding of expected input.
- Ensured consistency in placeholder text across different fields to improve overall user experience.
2026-04-19 18:12:23 +03:30
AmirReza Jamali 57e9d90eb1 refactor(Breadcrumbs, InputGroup, Layouts, Tables): enhance styling and structure for improved responsiveness
- Adjusted Breadcrumb component styles for better spacing and font size.
- Made placeholder in InputGroup optional and refined input styles for consistency.
- Updated MainLayout and Header components for improved padding and layout.
- Enhanced table components by importing necessary elements and optimizing rendering logic.
- Refactored CompanyCategoriesTable to utilize optimistic updates for better user experience.
2026-04-19 16:14:51 +03:30
AmirReza Jamali 69e75eb9b8 refactor(steps): simplify step presenters by removing unnecessary useImperativeHandle calls
- Removed useImperativeHandle and getValues from BenefitsStep, ChallengesStep, ChartStep, ContactsStep, FeaturesStep, FooterStep, and HeroStep components.
- Updated step presenters to directly use refs for improved data handling and validation.
- Enhanced code readability and maintainability by streamlining the presenter functions.
2026-04-18 12:41:48 +03:30
AmirReza Jamali c1b6b4ccf1 feat(Tables): implement pagination and loading state handling across multiple tables
- Added `getPaginatedRowNumber` utility function to calculate the correct row number based on pagination.
- Integrated `isLoading` prop in `EmptyListWrapper` to conditionally render loading state.
- Updated various table components (Admins, CMS, Companies, Inquiries, etc.) to utilize the new pagination logic and loading state handling.
- Wrapped pagination components in `IsVisible` to conditionally display based on data availability.
2026-04-15 15:57:36 +03:30
AmirReza Jamali 2e3b721585 refactor(forms): enhance grid layout and responsiveness across multiple components
- Updated grid classes in CreateAdmin, CreateCompany, CreateCompanyCategory, CreateCustomer, and CreateNotification components to improve responsiveness.
- Adjusted FormFooter and ListHeader components for better layout handling on different screen sizes.
2026-04-15 15:25:47 +03:30
AmirReza Jamali 42ebbf98e2 fix(useCompaniesQueries): update redirect path for company categories
- Changed the redirect path from "/companies/categories" to "/company-categories" in the useUpdateCompanyCategories hook to ensure correct navigation.
2026-04-15 13:52:52 +03:30
AmirReza Jamali deb8b85d45 refactor(PaymentsOverviewChart): enhance chart responsiveness and layout
- Updated the PaymentsOverviewChart component to improve responsiveness by enabling redraw on parent and window resize.
- Adjusted chart options for better label handling and grid padding.
- Modified the container div to ensure full width and height for the chart display.
2026-04-15 13:19:50 +03:30
AmirReza Jamali e45b96a506 refactor(ChatsCard): enhance layout and styling for better responsiveness
- Updated the ChatsCard component to improve layout and styling, ensuring better responsiveness.
- Adjusted class names for flex properties and truncation to enhance visual presentation of chat details.
- Ensured proper handling of unread message indicators and improved the rendering of last message timestamps.
2026-04-15 13:06:44 +03:30
AmirReza Jamali 5a96dd2341 refactor(Notification, Sidebar): enhance styling and responsiveness
- Updated the Notification component's dropdown styling for improved responsiveness and visual consistency.
- Adjusted the Sidebar component's z-index handling based on mobile state to ensure proper layering during interactions.
2026-04-15 13:02:17 +03:30
AmirReza Jamali 2f28ae8625 feat(CreateCustomer): add password visibility toggle and enhance form handling
- Integrated EyeIcon for password visibility toggle in the CreateCustomer component.
- Updated useCreateCustomerPresenter to manage password visibility state.
- Improved form handling by adding showPassword and setShowPassword to the presenter.
2026-04-15 12:31:43 +03:30
AmirReza Jamali fb3301169e fix(FormFooter, useCreateCustomerPresenter): disable submit button during mutation
- Added a disabled state to the submit button in FormFooter to prevent multiple submissions while a mutation is in progress.
- Included a blank line in useCreateCustomerPresenter for improved code readability.
2026-04-13 19:33:11 +03:30
AmirReza Jamali c93a1ffe8d refactor(Select, AssignToCompanyModalContent): enhance select placeholder and integrate company query
- Updated the Select component to disable the placeholder option for better user experience.
- Refactored AssignToCompanyModalContent to accept a companiesQuery prop, improving data handling.
- Adjusted the useCustomerListPresenter hook to include the company query, ensuring it is only enabled when the assign company modal is open.
- Enhanced the CustomersTable component to pass the company query to the modal content.
2026-04-13 19:27:22 +03:30
AmirReza Jamali 8e86b8f894 fix(NotFoundPage): correct HTML entity for apostrophe in not found message 2026-04-13 11:10:56 +03:30
AmirReza Jamali 87eb48cc72 fixed build issue caused by lint 2026-04-13 10:36:25 +03:30
AmirReza Jamali f3dcc090a2 refactor(SignIn): update layout and styling for sign-in page
- Modified the layout of the SignIn component to improve responsiveness and visual appeal.
- Adjusted the container classes for better alignment and spacing across different screen sizes.
2026-04-13 09:50:35 +03:30
AmirReza Jamali 6a5986d6eb refactor(TenderDetails): improve country flag validation and rendering logic
- Enhanced the validation of country codes in the TenderDetails component using a new utility function.
- Updated the useGetFlagQuery hook to include an options parameter for conditional fetching based on country code validity.
- Refined the rendering logic to ensure country flags are displayed only when valid data is available.
2026-04-13 08:46:33 +03:30
AmirReza Jamali 76cb29d31e refactor(TenderDetails): enhance country flag handling and validation
- Updated the TenderDetails component to validate country codes using a new utility function, isValidAlpha2CountryCode.
- Modified the useGetFlagQuery hook to accept an options parameter for conditional fetching based on the validity of the country code.
- Improved the rendering logic for the country flag to ensure it only displays when valid flag data is available.
2026-04-13 08:16:21 +03:30
AmirReza Jamali 50db71843b refactor(Loading): update Loading component import paths
- Changed import paths for the Loading component from "@/app/loading" to "@/components/loading" across multiple files to maintain consistency and improve modularity.
- Removed the Loading component definition from loading.tsx, simplifying the file structure.
2026-04-13 08:07:43 +03:30