Skip to content

feat: Add user role and users SVG icons

Abhishek Paspunuri requested to merge ui_fix_refactor-ui into dev

User description

feat: Update user SVG icon to use currentColor for better theming

feat: Add logo images for branding

refactor: Remove ConfigDataFetcher and ContactList components

fix: Enhance AlertDialog component with portal rendering

refactor: Update Button component to include loading spinner

refactor: Improve Dropdown component with icon support

fix: Update Modal component for consistent styling

fix: Adjust Toast component styles for error feedback

refactor: Remove useContactStore and related logic

feat: Introduce API routes constants for better organization

fix: Update API headers constants for consistency

refactor: Clean up application constants and remove unused labels

feat: Add HTTP methods constants for better API handling

feat: Define route paths constants for easier navigation management

feat: Add session configuration constants for session management

refactor: Clean up UI constants and improve label definitions

feat: Enhance application list with additional properties

feat: Update environment settings to include key vault names

fix: Correct import path for logs data response model

refactor: Update storefront list to improve structure

fix: Clean up date utility functions for better readability

fix: Add "use client" directive to useIsMobile hook

refactor: Standardize theme definitions for consistency

feat: Introduce AppModule and BaseItem types for better type safety

feat: Add SVG module declaration for React components


PR Type

Enhancement, Bug fix


Description

  • Refactor authentication system with improved database integration

  • Remove unused components and store logic

  • Enhance UI components with better styling and functionality

  • Standardize constants and configuration management


Diagram Walkthrough

flowchart LR
  A["Authentication System"] --> B["Database Integration"]
  A --> C["Session Management"]
  D["UI Components"] --> E["Button Enhancement"]
  D --> F["Modal/Dialog Updates"]
  G["Constants Refactor"] --> H["API Routes"]
  G --> I["UI Labels"]
  J["Cleanup"] --> K["Remove Unused Components"]
  J --> L["Remove Contact Store"]

File Walkthrough

Relevant files
Enhancement
10 files
route.ts
Update authentication with database schema changes             
+17/-19 
applicationList.ts
Enhance application list with additional properties           
+38/-23 
environmentSettings.ts
Add key vault names to environment settings                           
+3/-0     
storefrontList.ts
Update storefront list structure and imports                         
+19/-18 
AppModule.ts
Add AppModule type definition                                                       
+9/-0     
SignIn.tsx
Enhance sign-in with loading states                                           
+8/-3     
page.tsx
Improve application selector with better state management
+19/-14 
AlertDialog.tsx
Enhance alert dialog with portal rendering                             
+19/-7   
Button.tsx
Add loading spinner to button component                                   
+24/-6   
DropDown.tsx
Improve dropdown with icon support                                             
+11/-6   
Miscellaneous
4 files
route.ts
Remove config API route endpoint                                                 
+0/-50   
useContactStore.ts
Remove contact store and related logic                                     
+0/-96   
ConfigDataFetcher.tsx
Remove config data fetcher component                                         
+0/-111 
ContactList.tsx
Remove contact list component                                                       
+0/-27   
Configuration changes
7 files
api-routes.ts
Add API routes constants for organization                               
+14/-0   
app.ts
Clean up application constants and labels                               
+1/-5     
auth.ts
Update authentication constants and labels                             
+2/-3     
http-methods.ts
Add HTTP methods constants                                                             
+8/-0     
route-paths.ts
Add new route paths for Lucy modules                                         
+2/-1     
session.ts
Add session configuration constants                                           
[link]   
ui.ts
Refactor UI constants and improve labels                                 
+28/-14 
Formatting
5 files
api.ts
Fix API headers constants formatting                                         
+1/-1     
dateUtils.ts
Clean up date utility functions                                                   
+1/-3     
BaseItem.ts
Reorder BaseItem interface properties                                       
+2/-2     
themes.ts
Standardize theme definitions formatting                                 
+22/-22 
create-users.mjs
Improve user creation script formatting                                   
+24/-16 
Bug fix
11 files
logsData.ts
Fix import path for logs response model                                   
+1/-1     
useIsMobile.ts
Add use client directive to mobile hook                                   
+1/-0     
LogDetailsColumns.tsx
Fix import path for log details model                                       
+2/-2     
LogsFilterSection.tsx
Update dropdown className prop usage                                         
+2/-2     
ViewLogDetails.tsx
Fix import path for log details model                                       
+1/-1     
page.tsx
Fix import path for log details model                                       
+1/-1     
ProductCategorizationFilter.tsx
Update dropdown props and button styling                                 
+3/-4     
ReturnTypeFilters.tsx
Update dropdown props and button styling                                 
+2/-3     
Selector.tsx
Enhance selector component with icon safety checks             
+10/-6   
Modal.tsx
Update modal component styling consistency                             
+2/-4     
Toast.tsx
Adjust toast error styling                                                             
+1/-1     
Additional files
1 files
svg.d.ts [link]   

Edited by Rashmi Gaddam

Merge request reports

Loading