Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
[Front | Hub] Standardise Request (#72)
Browse files Browse the repository at this point in the history
* Fix API call in Persona.tsx

* Add SixLabors.ImageSharp and update version in
Setting component

* Update SQL connection string and API requests

* Update useLimit function to use the new useRequest
syntax

* Update version number in Combo Delete and Combo
Detail components

* Refactor code to use arrow function syntax for
Refresh prop

* Refactor API calls in Persona and AdminOrderDetail
components

* Update useRequest in Confirm component

* Fix OrderAppend Refresh function signature

* Update dependencies and fix code issues

* Update admin user grant functionality

* Refactor Admin User components

* Refactor API calls in Admin Product components

* Refactor delete functions in Admin Product pages

* Update Exceptions and Patch functions

* Fix API request in AdminProductNewCombo and
AdminProductType components

* Update order append and ship functionality

* Update dependencies in package.json

* Fix cancel order error handling
  • Loading branch information
Aloento authored Dec 6, 2023
1 parent 588a210 commit 51bd49e
Show file tree
Hide file tree
Showing 59 changed files with 758 additions and 777 deletions.
1 change: 1 addition & 0 deletions SoarCraft.AwaiShop/AdminHub/AdminHub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace SoarCraft.AwaiShop.AdminHub;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore;
using SixLabors.ImageSharp;

/**
* <remarks>
Expand Down
4 changes: 2 additions & 2 deletions SoarCraft.AwaiShop/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
if (Shared.Dev) {
x.EnableSensitiveDataLogging();

Check warning on line 31 in SoarCraft.AwaiShop/Program.cs

View workflow job for this annotation

GitHub Actions / Build and Deploy

Unreachable code detected
x.EnableDetailedErrors();
x.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection"));
x.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection"), opt => opt.EnableRetryOnFailure());
} else
x.UseSqlServer(Environment.GetEnvironmentVariable("SQLAZURECONNSTR_Zero"));
x.UseSqlServer(Environment.GetEnvironmentVariable("SQLAZURECONNSTR_Zero"), opt => opt.EnableRetryOnFailure());
});

if (Shared.Dev)
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@
"@fluentui/react-hooks": "^8.6.33",
"@fluentui/react-icons": "^2.0.223",
"@griffel/react": "^1.5.19",
"@lexical/clipboard": "^0.12.4",
"@lexical/code": "^0.12.4",
"@lexical/file": "^0.12.4",
"@lexical/html": "^0.12.4",
"@lexical/link": "^0.12.4",
"@lexical/list": "^0.12.4",
"@lexical/mark": "^0.12.4",
"@lexical/markdown": "^0.12.4",
"@lexical/overflow": "^0.12.4",
"@lexical/react": "^0.12.4",
"@lexical/rich-text": "^0.12.4",
"@lexical/selection": "^0.12.4",
"@lexical/table": "^0.12.4",
"@lexical/utils": "^0.12.4",
"@lexical/clipboard": "^0.12.5",
"@lexical/code": "^0.12.5",
"@lexical/file": "^0.12.5",
"@lexical/html": "^0.12.5",
"@lexical/link": "^0.12.5",
"@lexical/list": "^0.12.5",
"@lexical/mark": "^0.12.5",
"@lexical/markdown": "^0.12.5",
"@lexical/overflow": "^0.12.5",
"@lexical/react": "^0.12.5",
"@lexical/rich-text": "^0.12.5",
"@lexical/selection": "^0.12.5",
"@lexical/table": "^0.12.5",
"@lexical/utils": "^0.12.5",
"@microsoft/signalr": "^8.0.0",
"@microsoft/signalr-protocol-msgpack": "^8.0.0",
"ahooks": "^3.7.8",
"dayjs": "^1.11.10",
"dexie": "^3.2.4",
"lexical": "^0.12.4",
"lexical": "^0.12.5",
"lodash-es": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -54,7 +54,7 @@
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react-swc": "^3.5.0",
"typescript": "^5.3.2",
"vite": "^5.0.5"
"typescript": "^5.3.3",
"vite": "^5.0.6"
}
}
Loading

0 comments on commit 51bd49e

Please sign in to comment.