Skip to content

Commit 32d73a2

Browse files
committed
feat(UI): Add gateways table (#4537)
* feat(ui): Add gateways table Signed-off-by: Gabriel Costa <gabrielcg@proton.me> * fix(ui): change pagination to cursor pattern Signed-off-by: Gabriel Costa <gabrielcg@proton.me> --------- Signed-off-by: Gabriel Costa <gabrielcg@proton.me>
1 parent b3997bc commit 32d73a2

19 files changed

Lines changed: 1256 additions & 159 deletions

client/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default tseslint.config(
4343
"no-new-func": "error",
4444

4545
"react/react-in-jsx-scope": "off",
46+
"react/prop-types": "off",
4647
},
4748
settings: {
4849
react: { version: "detect" },

client/package-lock.json

Lines changed: 97 additions & 109 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"eslint-plugin-react-hooks": "^5.2.0",
6161
"globals": "^16.0.0",
6262
"jsdom": "^25.0.1",
63-
"msw": "^2.7.0",
63+
"msw": "^2.14.2",
6464
"prettier": "^3.4.2",
6565
"tailwindcss": "^4.1.4",
6666
"typescript": "~5.8.3",

client/src/api/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ async function request<T>(path: string, options: RequestOptions = {}): Promise<T
8282
method,
8383
headers,
8484
body: body !== undefined ? JSON.stringify(body) : undefined,
85-
// Credentials: omit — auth is via Bearer header, not cookies.
85+
// Credentials: omit — auth is via Bearer header, not cookies. // pragma: allowlist secret
8686
// This also means the browser will NOT auto-send cookies cross-origin,
8787
// making CSRF attacks structurally impossible for these requests.
88-
credentials: "omit",
88+
credentials: "omit", // pragma: allowlist secret
8989
signal,
9090
});
9191

0 commit comments

Comments
 (0)