Skip to content

Revert "Merge branch 'api_feature_api-base-setup' into 'main'"

Abhishek Paspunuri requested to merge revert-f985da05 into main

User description

This reverts merge request !16 (merged)


PR Type

Other


Description

  • Reverts API base setup merge request !16 (merged)

  • Removes authentication and database dependencies

  • Simplifies log data structure and UI constants

  • Strips down components to basic functionality


Diagram Walkthrough

flowchart LR
  A["Merge Request !16"] --> B["Revert Changes"]
  B --> C["Remove Auth Features"]
  B --> D["Simplify Log Data"]
  B --> E["Update UI Components"]
  C --> F["Basic Azure AD Only"]
  D --> G["Standardized Log Format"]
  E --> H["Reduced Functionality"]

File Walkthrough

Relevant files
Enhancement
12 files
logsData.ts
Standardize log data structure and content                             
+57/-77 
LoggerResponse.ts
Update log interface with optional fields                               
+14/-12 
app.ts
Add width variants and rename position enum                           
+10/-2   
page.tsx
Simplify logs page removing modal functionality                   
+32/-89 
Playground.tsx
Remove bottom sheet and update imports                                     
+27/-41 
OffCanvas.tsx
Simplify off-canvas component interface                                   
+36/-50 
layout.tsx
Remove sidebar and mobile navigation logic                             
+14/-92 
LogsFilterSection.tsx
Create new logs filter component                                                 
+116/-0 
Table.tsx
Update table component with badge rendering                           
+25/-19 
DropDown.tsx
Update dropdown positioning and styling                                   
+7/-9     
TextInput.tsx
Redesign text input with floating labels                                 
+27/-25 
TooltipText.tsx
Simplify tooltip interface and styling                                     
+9/-16   
Configuration changes
4 files
ui.ts
Remove advanced UI constants and labels                                   
+3/-73   
LogDetailsColumns.ts
Simplify table columns configuration                                         
+23/-42 
kirConfigurationData.ts
Replace paths with console log handlers                                   
+27/-16 
app.ts
Remove log level and badge constants                                         
+5/-19   
Authentication
2 files
route.ts
Remove credentials provider and database integration         
+6/-90   
SignIn.tsx
Remove credentials authentication and error handling         
+6/-40   
Formatting
2 files
userConfigStore.ts
Update import quotes and formatting                                           
+28/-29 
environmentSettings.ts
Update import quotes and restore status fields                     
+16/-16 
Styling
1 files
globals.css
Remove viewport utilities and update scrollbar styles       
+27/-24 
Additional files
73 files
AUTHENTICATION.md +0/-89   
schema.prisma +1/-1926
create-users.mjs +0/-27   
route.ts +0/-50   
route.ts +0/-16   
.gitkeep [link]   
LogsFilterSection.tsx +0/-172 
ViewLogDetails.tsx +0/-151 
ManageMappings.tsx +0/-212 
ProductCategorizationFilter.tsx +0/-85   
ReturnTypeFilters.tsx +0/-70   
UpsertCategorizationModal.tsx +0/-87   
UpsertReturnTypeModal.tsx +0/-85   
getProductCategorizationColumns.tsx +0/-70   
getReturnTypeDetailsColumns.tsx +0/-65   
ProductCategorization.tsx +0/-161 
ProductPolicyMapping.tsx +0/-95   
ReturnType.tsx +0/-144 
page.tsx +0/-40   
layout.tsx +25/-1   
page.tsx +12/-0   
layout.tsx +87/-1   
page.tsx +1/-8     
page.tsx +1/-2     
ConfigDataFetcher.tsx +0/-111 
ContactList.tsx +0/-27   
Navbar.tsx +3/-21   
Sidebar.tsx +2/-4     
StatCard.tsx +8/-8     
withBadgeCustomization.tsx +0/-53   
Accordion.tsx +1/-1     
AlertDialog.tsx +0/-62   
Badge.tsx +12/-27 
BottomSheet.tsx +0/-41   
Button.tsx +3/-3     
CheckBox.tsx +1/-0     
DateRangePicker.tsx +2/-7     
Modal.tsx +5/-6     
Pagination.tsx +7/-8     
SearchBar.tsx +3/-5     
Tabs.tsx +2/-2     
Toast.tsx +12/-14 
ProductCategorization.ts +0/-21   
ReturnTypeResponse.ts +0/-23   
keyVaultService.ts +0/-15   
PrismaClientFactory.ts +0/-30   
prismaCache.ts +0/-16   
DbTransport.ts +0/-39   
logger.ts +0/-11   
storefront.profile.ts +0/-23   
index.ts +0/-12   
withPrismaContext.ts +0/-39   
api.ts +0/-8     
httpStatusCodes.ts +0/-13   
logLevels.ts +0/-7     
messages.ts +0/-23   
apiResponse.ts +0/-71   
loggerService.ts +0/-63   
useContactStore.ts +0/-96   
sessionConfig.ts +0/-4     
api.ts +0/-5     
auth.ts +0/-11   
messages.ts +0/-7     
route-paths.ts +0/-10   
ToastProvider.tsx +4/-4     
lucySidebarConfigs.ts +1/-25   
productCategorization.ts +1/-7     
productCategorizationResponse.ts +1/-38   
returnTypeResponse.ts +1/-35   
returnTypesMappingDetails.ts +1/-33   
date-utils.ts [link]   
.env +1/-4     
package.json +1/-11   

Edited by Rashmi Gaddam

Merge request reports

Loading