Refactor query params to nuqs and preserve legacy behavior #21358

Closed
opened 2026-02-21 20:12:10 -05:00 by yindo · 1 comment
Owner

Originally created by @lyzno1 on GitHub (Dec 29, 2025).

We need to migrate query-param state to nuqs while keeping previous behavior
(pagination defaults, URL normalization, history semantics).

Touched files:

  • 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
Originally created by @lyzno1 on GitHub (Dec 29, 2025). We need to migrate query-param state to `nuqs` while keeping previous behavior (pagination defaults, URL normalization, history semantics). Touched files: - `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`
yindo added the 💪 enhancement label 2026-02-21 20:12:10 -05:00
yindo closed this issue 2026-02-21 20:12:10 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 30, 2026):

Hi, @lyzno1. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You proposed refactoring query parameter state management to use nuqs.
  • The goal is to maintain existing behaviors such as pagination defaults, URL normalization, and history semantics.
  • This would require updates across multiple components and hooks in the app.
  • There has been no further activity or comments on this issue since it was opened.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of Dify by commenting here.
  • If I don’t hear back within 15 days, I will automatically close this issue.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Jan 30, 2026): Hi, @lyzno1. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You proposed refactoring query parameter state management to use `nuqs`. - The goal is to maintain existing behaviors such as pagination defaults, URL normalization, and history semantics. - This would require updates across multiple components and hooks in the app. - There has been no further activity or comments on this issue since it was opened. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of Dify by commenting here. - If I don’t hear back within 15 days, I will automatically close this issue. Thanks for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21358