Commit Graph

11 Commits

Author SHA1 Message Date
Nathan.fooo
48171aea89 Impl sign password (#218)
* chore: attach header

* chore: sign up with password

* chore: sign up ui

* chore: share password check
2026-01-21 21:49:51 +08:00
Nathan.fooo
6d33312774 Database blob (#212)
* Integrate database blob diff and lazy row loading

* chore: load blob

* chore: fix cell render

* chore: create csv api endpoint

* chore: add test

* chore: fix lint

* chore: add test

* chore: add test

* chore: fix test

* chore: stable scroll test

* chore: fix filter test

* fix: row detail modal more actions menu and add test data-testid

- Fix critical bug in DatabaseRowModal where clicking more actions button
  closed the modal instead of opening the dropdown menu (removed erroneous
  onClick handler from DropdownMenuTrigger)
- Add data-testid attributes for testing:
  - row-detail-more-actions: more actions button
  - row-detail-duplicate: duplicate menu item
  - row-detail-delete: delete menu item
  - row-title-input: row title input field
- Update row-detail-helpers.ts selectors to use new data-testid attributes
- Fix row-detail.cy.ts tests to use correct selectors and test logic

* chore: fix sort

* chore: fix sort

* chore: separate test

* chore: stable test

* chore: fix test

* chore: separate test
2026-01-09 00:16:02 +08:00
Nathan.fooo
47e09d2a87 Support database container3 (#202)
* chore: support database container

* chore: fix chat

* chore: fix database tab views

* fix: database test

* fix: page action

* fix: test

* chore: rename

* fix: navigate
2025-12-17 11:01:14 +08:00
Nathan
3fc1975a9d chore: organize test 2025-11-17 12:12:56 +08:00
Nathan
562456a757 chore: lint 2025-11-16 20:34:46 +08:00
Nathan
c3d6ef7f31 fix: Fixes three critical race conditions that caused redirect loops after OAuth login:
1. Clear old token before processing OAuth callback to prevent axios
      interceptor from attempting auto-refresh of expired old token while
      processing new OAuth tokens

   2. Add multi-stage authentication checks in AppAuthLayer with proper
      timeouts to wait for React state sync before triggering logout

   3. Add proactive state sync in AppConfig to ensure isAuthenticated
      state matches localStorage token on mount

   4. Create AppWorkspaceRedirect component to handle /app -> /app/:workspaceId
      navigation after OAuth callback, preventing undefined workspace errors
2025-11-16 20:20:58 +08:00
Nathan
f35914baa1 chore: add test 2025-11-16 15:03:06 +08:00
qinluhe
f553e31e4e chore: fix login redirect 2025-10-14 17:33:12 +08:00
nathan
c6a92d96e7 chore: add login logout test 2025-10-02 16:03:47 +08:00
nathan
725d8ed0f7 chore: lint 2025-10-01 19:29:32 +08:00
nathan
6cc6d05384 test: login test 2025-09-27 14:19:02 +08:00