[PR #30358] refactor: query params to nuqs with legacy behavior #32786

Open
opened 2026-02-21 20:52:04 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/30358

State: open
Merged: No


Summary

  • migrate query-param state to nuqs in app logs, embedded chatbot, partner stack, document list, and sign-in
  • restore legacy pagination / limit normalization and URL sanitization for document list
  • keep behavior aligned with previous URL-driven flows

Files Touched

  • web/app/components/app/log/index.tsx

  • web/app/components/base/chat/embedded-chatbot/hooks.tsx

  • web/app/components/billing/partner-stack/use-ps-info.ts

  • web/app/components/datasets/documents/hooks/use-document-list-query-state.ts

  • web/app/signin/page.tsx

  • Fixes #30357

**Original Pull Request:** https://github.com/langgenius/dify/pull/30358 **State:** open **Merged:** No --- ## Summary - migrate query-param state to `nuqs` in app logs, embedded chatbot, partner stack, document list, and sign-in - restore legacy pagination / limit normalization and URL sanitization for document list - keep behavior aligned with previous URL-driven flows ## Files Touched - `web/app/components/app/log/index.tsx` - `web/app/components/base/chat/embedded-chatbot/hooks.tsx` - `web/app/components/billing/partner-stack/use-ps-info.ts` - `web/app/components/datasets/documents/hooks/use-document-list-query-state.ts` - `web/app/signin/page.tsx` - Fixes #30357
yindo added the pull-request label 2026-02-21 20:52:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32786