trunghieubui

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • c5491efd6c Add partner login & Lao locale, downgrade to .NET7 Introduce partner login support and Lao localization, plus project updates for .NET 7 compatibility. Backend: - Downgrade Common, Database and Esim.Apis projects from net9.0 to net7.0 and adjust related package version. - Add PartnerLoginReq model and expose PartnerLogin method in IUserBusiness. - Implement PartnerLogin in UserBusinessImpl: decrypts partner payload, finds/creates customer, issues JWT tokens, revokes old tokens and persists UserToken. Add Partner config (EncryptionKey) to appsettings and simple encrypt/decrypt logging in Program.cs. Update publish profile to target net7.0. Frontend: - Add Lao translations (la.json) and register 'la' locale in i18n. - Add partnerLogin API method and add crypto-js dependency. - Switch localStorage usage to getWithExpiry/setWithExpiry across axios, Header, and account slice; set Content-Type header by default. - Update Header to conditionally show language/guide UI for partner 'laotravel' and persist selectedPartner/selectedLanguage handling. - Update Footer text and other UI text translations. Misc: - Update build/static asset routing in Program.cs (commented MapStaticAssets) and minor formatting/import reorders. This change enables third-party partner authentication (encrypted payloads) and supports Lao language while ensuring compatibility with .NET 7.

3 周之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 0a9f23359b Update Vietnamese translations and HomeView UI Expanded and clarified several Vietnamese translation strings for better user guidance. Added two new partner logos to the HomeView page, commented out the 'How it Works' section, updated SIM type button label, and added navigation to terms page on refund button click.

1 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • b21284c8ea Update order views UI and date filter logic OrderDetailView now displays remaining data with a clearer label and adjusts font sizes for unlimited plans. OrderHistoryView sets the default 'from date' to 30 days ago and changes date inputs to always use 'date' type for improved usability.

1 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 1725e3a28d Update UI text, images, and data usage calculation Standardized guide item labels in Header to sentence case, updated login logo and container styles, and fixed data usage calculation in OrderDetailView to use remainData instead of usageData. Also made minor adjustments to error message formatting and updated drawio documentation diagrams.

1 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • d92a40c9f7 Update UI text and area search logic Replaced logo and updated branding in Header. Improved area search by using 'searchArea' instead of 'coverageArea' in HomeSearch and Header. Enhanced ProductInfoModal with more detailed delivery and data reset time messages. Updated i18n files with new translations and added 'register' key. Changed 'Buy Now' button to use translation. Added optional 'searchArea' field to Area type.

1 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 5a8d642746 Enhance UI, update contact info, and improve FAQ logic This update refines UI/UX across multiple components, including responsive improvements for product detail and package overview views, adds new favicon and logo assets, and updates partner logos. It also updates contact information and support details, improves FAQ and area loading logic, and enhances navigation and scrolling behavior. Several translation strings and constants are updated, and some redundant or unused code is removed or commented out.

1 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 1e6f5c6aab Merge branch 'master' of https://source.viettech.asia/unitel/ESIM
  • 771b2d52b4 Refactor order status handling and improve product detail options Centralized order status text and color logic in loigicUtils and updated usage in OrderDetailView and OrderHistoryView. Enhanced ProductDetailView to use package titles for data options, improving flexibility and display. Minor code cleanups and UI improvements included.
  • 查看 2 次提交的內容比對 »

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 6e948f735b Merge branch 'master' of https://source.viettech.asia/unitel/ESIM
  • 1f6c0f1082 Add Google OAuth login and callback endpoints Implemented Google OAuth login and callback logic in UserBusinessImpl and exposed new endpoints in UserController. Refactored and improved OTP logic, updated project references, and made minor code style and formatting improvements. Updated documentation diagrams and fixed some configuration and path issues.
  • 查看 2 次提交的內容比對 »

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • d15c75d1f2 Add SkySim assets and update API and frontend configs Added new SkySim logo and image assets to the project. Updated CORS settings in the API to allow skysimhub domains, fixed DotnetLib reference path, and adjusted publish profile settings. Enhanced Google OAuth prompt, added a terms page, updated translations, and made various frontend improvements including new images and UI tweaks.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 74e0c58434 Add architecture diagrams and update UI components Added new draw.io architecture diagrams for documentation. Updated multiple React components, API logic, i18n files, and styles for improved UI/UX and functionality. Introduced ScrollToTop component and made various enhancements across product, modal, and view files.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 441356b691 Implement localStorage caching for areas and UI fixes Replaced Redux state for areas with localStorage caching using new utility functions (getWithExpiry, setWithExpiry) to improve performance and persistence. Fixed carrier formatting in PackageOverview, enabled HTML rendering for note5 in ProductInfoModal, corrected price display logic in CheckoutView, and made minor refactoring in ProductDetailView. Updated Vite config to allow specific host.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 29298aa28e feat: Implement internationalization in LoginView, ProductDetailView, and SupportView - Added translation support using react-i18next in LoginView for welcome messages and form labels. - Updated ProductDetailView to include translations for product details and navigation links. - Enhanced SupportView with translations for support topics and navigation. - Introduced new components: ProductInfoModal for displaying detailed product information and PackageOverview for summarizing package details. - Refactored Package interface to include additional fields for better product representation. - Integrated related area suggestions in ProductDetailView to enhance user experience.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 8a88ab4f7a Add i18n support and integrate translations Introduced i18next and react-i18next for internationalization, added English and Vietnamese translation files, and refactored UI components (Header, Footer, CompatibilityModal, ProductCard, SearchView, etc.) to use translation keys. Updated package dependencies, added language selection logic, and improved route handling. Also updated font usage and made minor UI/UX adjustments for localization.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 053a26d214 Fix price display and hide Physical SIM button Corrects the price formatting in HomeProduct by swapping minSellPrice and minDisplayPrice usage. Comments out the Physical SIM button in ProductDetailView, leaving only the eSIM option visible.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • cb37069497 Add SSL certificates and refactor price formatting Added new SSL certificate files for simgetgo_vn. Refactored price and money formatting in checkout, home, order detail, order history, and product detail views to use the shared formatNumber utility instead of manual toLocaleString calls.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 1ce1f3b3b9 Fix package state initialization and update effect deps Initialize the 'packages' state as an empty array instead of null and update the useEffect dependency array to include 'area' for correct data fetching when 'area' changes.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 1867dc780f Refactor mutation hook in ProductDetailView Replaces the getAreaMutation hook with getProductMutation and triggers the mutation on component mount using useEffect. This change ensures product data is loaded when the ProductDetailView component is rendered.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • b229a1565b Refactor package loading to use mutation and add util Replaced the useQuery hook for loading packages with useMutation in ProductDetailView.tsx to better control loading state and error handling. Introduced a new formatNumber utility in loigicUtils.ts for number formatting. Updated all references from loadPackage to packages and adjusted related logic accordingly.

2 月之前

trunghieubui 推送了 master 分支的代碼到 unitel/ESIM

  • 07086a6645 Split SIM list into countries and regions Refactored BuySimView to display SIM products in separate sections for countries and regions. Added state to manage filtered lists and updated UI headings and rendering logic accordingly.

2 月之前