Skip to content

Commit

Permalink
Review fixes 1 (#2)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ytkimirti authored Nov 20, 2024
1 parent 4a10d82 commit 062543a
Show file tree
Hide file tree
Showing 26 changed files with 280 additions and 4,779 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NEXT_PUBLIC_UPSTASH_REDIS_REST_URL=
NEXT_PUBLIC_UPSTASH_REDIS_REST_TOKEN=
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm lint-staged
bun run lint-staged
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "tsup",
"dev": "vite",
"lint": "tsc && eslint",
"fmt": "prettier --write ."
"fmt": "prettier --write ./src"
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
Expand All @@ -44,7 +44,7 @@
"@tabler/icons-react": "^3.19.0",
"@tanstack/react-query": "^5.32.0",
"@types/bytes": "^3.1.4",
"@upstash/redis": "^1.31.6",
"@upstash/redis": "^1.34.3",
"bytes": "^3.1.2",
"react-hook-form": "^7.53.0",
"react-resizable-panels": "^2.1.4",
Expand Down
Loading

0 comments on commit 062543a

Please sign in to comment.