- fix broken tab switch logic in ChatMainList by updating tabIndex.value in handleChange
- add unused showToast import from vant
- re-enable tab switch emitter event listeners that were commented out
- replace uni.getWindowInfo().windowWidth with window.innerWidth in SwipeCards for web compatibility
- condense template props and clean up formatting in ChatMainList to improve readability
- re-enable and update SEND_MESSAGE_CONTENT_TEXT event listener in ChatMainList
- simplify truthy length check for incoming text messages
- adjust padding and margin classes for LongTextGuideCardPreview component
- add debug log to openDetail function
remove unused scoped CSS styles from both the notice page and notice message component, and replace all existing class-based styling with inline Tailwind utilities
- remove deprecated `mode="aspectFill"` prop from all image and img tags
- replace deprecated `scroll-y` directive with modern overflow-y-auto and scrollbar hiding classes
- refactor notice page to use TypeScript and proper route query handling
- update styling and layout for NoticeMessage, Tabs and QuickCard components
- fix spacing inconsistencies across multiple pages
add new `/notice` application route and standalone notice detail page
format vue-router import to follow project code style guidelines
hide myOrder entries from ChatQuickAccess and MoreService component lists
comment out unused book now button in goods page and location navigation card
refactor home page drawer event listeners with proper types and optional chaining
fix NoticeMessage component: remove redundant swiper indicators, adjust container padding, update navigation to use the new notice route
comment out weather fetching logic in Welcome component to disable weather display
Add global pinia type declaration for the custom unistorage option.
Add typed interfaces for all Pinia stores and enforce type safety on state and actions.
Add strict type annotations to all utility classes and helper functions.
Fix API response typing in the quick booking list page.
Remove unused iconsMap import in RefundPopup component.
Update package build scripts and add missing terser dependency.
Clean up outdated auto-generated component type definitions.
This commit overhauls several core parts of the codebase:
- Replace legacy localStorage token storage with secure cookie-based authentication with automatic token refresh logic
- Rewrite checkToken and goLogin hooks to support redirect targets and proper async error handling
- Update all component navigation flows to use the updated auth checks and correct redirect behavior
- Refactor router configuration to support both client-side and server-side rendering via conditional history usage
- Remove unused speech recognition constant file and stale component registration for RecordingWaveBtn
- Add unit tests for navigation utilities and auth token handling
- Fix login post-success redirect logic and add login success event emissions
- Overhaul HTTP request handling to include automatic auth token injection and retry on unauthorized errors
Extract shared navigation functions (goHome, goLogin, goBack) into a new useNavigator hook that uses vue-router. Remove the deprecated useGoHome.ts file. Update useGoLogin.ts to import the new navigation utilities, clean up unused code, and fix the checkToken function to correctly read from localStorage. Fix missing country dial code in phone login request parameters.
Add new i18n modules for booking, goods, order, and service features across en-US, zh-CN, th-TH locales
Extend existing quick module translations with new card, date, and page title strings
Replace all hardcoded static text in UI components with vue-i18n translation hooks
Update the main i18n registry and login page language switching to support the new translations
add custom class to the verification code input field, update scoped styles to align elements and standardize sizing and padding for a consistent polished appearance
Add utility function for form URL encoded data serialization, update the oauthToken API to use proper form data and basic authentication, add sendCode API for sending mobile verification codes, and rewrite the phone login flow with input validation and correct OAuth parameters.
Add a spacer div after the last tab to add consistent right padding, remove redundant px-1 padding from tab labels, and clean up excess whitespace in class attributes.
Simplify the locale resolution logic in the request utility by directly using stored locale with default fallback, remove the unused getNavigatorLanguages function, and streamline the initial locale setup in the i18n entrypoint while persisting the default locale when no stored locale is present.
remove the global DetailPopup SCSS style file, update the component import path in the booking page, and rewrite the component using Tailwind CSS classes.
standardize the arrow icon used across the application by replacing the arrow-right icon name with the generic arrow variant in all affected component templates
delete the separate MineSetting component file and move all its template and logic directly into the parent DrawerSection component, maintaining existing functionality.
Adjust drawer width from 280px to 300px for better layout.
Remove outdated avatar and nickname display sections.
Add i18n language switching support for zh-CN, en-US and th-TH locales.
Clean up unused user info mock data.
Update the country selection UI to show national flags alongside country names and dial codes. Add a helper function to fetch flag images from flagcdn using country ISO2 codes. Restyle the country picker popup for better layout, and remove the unused selectedCountryDisplay computed property.
add language switcher with Chinese, English and Thai options at login page bottom
integrate i18n locale switching functionality
restructure login page container for better content centering
adjust van-cell styles to remove side padding and full-width border
Add complete login flow with phone verification and country picker.
Add login-related translations for en-US, zh-CN and th-TH locales.
Add country calling codes constants and selection utility function.
Register Vant UI component type definitions for TypeScript.
Update development environment authentication token.
also reorder imports for better organization, clean up commented legacy code, fix comment formatting from triple slash to double slash, and remove unused getLocation logic
- add new Feedback component for home chat page
- update import path in ChatMainList component
- add required volume icon asset
- implement form validation, submission and success state handling
- Restructure page file structure for order and service modules
- Update router configurations to match new correct file paths
- Add complete reusable component set for order display, detail viewing, payment, voucher verification and status tracking
- Add necessary SCSS styles and image assets for the new pages
- Refactor legacy order and service page implementations to modern component-based architecture
- replace root div with semantic section element
- adjust container classes for proper flex layout, horizontal scrolling, and consistent spacing
- add shrink-0 to post items to prevent width shrinking
- add object-cover to cover images to maintain aspect ratio
- fix Tailwind left percentage syntax
- update development environment VITE_TOKEN value
- add CreateServiceOrder component and associated icon assets
- create reusable resolveChatSocketUrl utility with comprehensive test cases
- update development env config to use production websocket endpoint
- fix ChatCardAi layout by replacing inline-block with flex-1 class
- refactor ChatMainList websocket initialization to use the new socket utility
- switch to using environment variable for access token instead of getAccessToken
- correct relative import path for CreateServiceOrder in ChatMainList
update development token in .env.development
clean up imports in ChatMainList component, merge api imports
switch event listeners to use emitter utility and enable SEND_MESSAGE_COMMAND_TYPE handler
remove outdated commented onReady code block