No description
- Introduce a dialog for creating new stores, allowing users to input store name, description, currency, and shipping zones. - Add functionality to manage shipping zones, including the ability to create new zones and select existing ones. - Enhance the stall creation process with error handling and loading states, providing better user feedback during store setup. - Update the NostrmarketAPI to support fetching available currencies and shipping zones, improving integration with the backend services. These changes streamline the store creation experience for merchants, ensuring a more intuitive and guided process. Refactor getCurrencies method in NostrmarketAPI to improve currency retrieval logic - Introduce base currencies and enhance the logic to combine them with API currencies, ensuring no duplicates. - Update debug logging to provide clearer information on currency retrieval outcomes. - Simplify fallback mechanism to use base currencies directly in case of API failures. These changes enhance the reliability and clarity of currency data handling in the NostrmarketAPI. Refactor MerchantStore component to use NATIVE checkbox selection and add debug information - Replace Checkbox component with native input checkboxes for zone selection, simplifying the binding with v-model. - Enhance the user interface by adding debug information displaying the store name, selected zones count, and creation status. - These changes improve the clarity of the zone selection process and provide useful debugging insights during store creation. Enhance zone selection functionality in MerchantStore component - Replace v-model with native checkbox handling for zone selection, improving clarity and user interaction. - Add debug information to display currently selected zones, aiding in user understanding of their selections. - Implement a new method to manage zone toggling, ensuring accurate updates to the selected zones array. These changes streamline the zone selection process and provide better feedback for users during stall creation. Improve zone selection handling and debugging in MerchantStore component - Update zone selection to use a custom Checkbox component, enhancing user interaction and clarity. - Add detailed debug information for selected zones, including raw array output and type, to aid in troubleshooting. - Refactor the zone toggle logic to handle various input types, ensuring accurate updates to the selected zones array. These changes enhance the user experience during stall creation by providing better feedback and more robust zone selection functionality. Refactor Checkbox handling in MerchantStore component for improved zone selection - Update zone selection to utilize the Shadcn/UI Checkbox component with v-model for better state management. - Remove manual zone toggle logic and debug information, streamlining the component's functionality. - Enhance user interaction by following recommended patterns for checkbox usage, ensuring reliable selections. These changes improve the clarity and reliability of zone selection during stall creation. Refactor MerchantStore component to utilize Shadcn Form components and improve form handling - Replace existing form elements with Shadcn Form components (FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage) for better structure and validation. - Integrate vee-validate and zod for type-safe form validation, enhancing user experience and error handling. - Update shipping zone selection to use the new form structure, improving clarity and accessibility. - Implement form submission logic with validation checks, ensuring required fields are filled before submission. These changes enhance the overall form handling and user interaction during the store creation process. |
||
|---|---|---|
| .vscode | ||
| docs | ||
| electron | ||
| public | ||
| src | ||
| .cursorrules | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| components.json | ||
| forge.config.js | ||
| index.html | ||
| nginx.conf.example | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tailwind.config.js | ||
| test-formatting.html | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.