Skip to content

Commit 062543a

Browse files
authored
Review fixes 1 (#2)
* fix: screen reader warning in add key dialog * feat: improve height of the editor for list and set types * fix: cancel button getting read as form submit in key deletion dialog * fix: broken toaster styles because it's outside the ups-db container * feat: update deletion alert dialog * fix: click propagation in item deletion when clicking trash icon * chore: remove NEXT_PUBLIC_ prefix from playground env keys * fix: deduplication and sorting error in keys pagination * fix: cache not resetting when pagination was reset * fix: add linebreak to delete dialog * fix: performance issue when there are many keys caused by ItemContextMenu * fix: performance issue when there are many items caused by ItemContextMenu * fix: spinner improvement * feat: add refetch button * fix: promises are not awaited in useAddKey * chore: format * chore: change fmt script * chore: remove pnpm for consistency with other packages * chore: bump redis * fix: show loading only when keys are loading * fix problem with keys pagination not reseting correctly on refetch
1 parent 4a10d82 commit 062543a

26 files changed

+280
-4779
lines changed

.env.example

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
NEXT_PUBLIC_UPSTASH_REDIS_REST_URL=
2-
NEXT_PUBLIC_UPSTASH_REDIS_REST_TOKEN=
1+
UPSTASH_REDIS_REST_URL=
2+
UPSTASH_REDIS_REST_TOKEN=

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm lint-staged
1+
bun run lint-staged

bun.lockb

0 Bytes
Binary file not shown.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsup",
2020
"dev": "vite",
2121
"lint": "tsc && eslint",
22-
"fmt": "prettier --write ."
22+
"fmt": "prettier --write ./src"
2323
},
2424
"lint-staged": {
2525
"**/*.{js,ts,tsx}": [
@@ -44,7 +44,7 @@
4444
"@tabler/icons-react": "^3.19.0",
4545
"@tanstack/react-query": "^5.32.0",
4646
"@types/bytes": "^3.1.4",
47-
"@upstash/redis": "^1.31.6",
47+
"@upstash/redis": "^1.34.3",
4848
"bytes": "^3.1.2",
4949
"react-hook-form": "^7.53.0",
5050
"react-resizable-panels": "^2.1.4",

0 commit comments

Comments
 (0)