-
Notifications
You must be signed in to change notification settings - Fork 236
feat: Block option to include user pages in search when hiding setting is turned on #10720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat/175627-admin-can-hide-user-pages
Are you sure you want to change the base?
feat: Block option to include user pages in search when hiding setting is turned on #10720
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SWR ではなく、useHydrateAtoms で server configuration を Jotai atom に管理させましょう
理由は、最新のデータを何度も revalidation する必要がないコンフィグ値だからです
apps/app/src/pages/general-page/hydrate.ts で hydration 処理を追加してください
これは general pages での hydration 実装なので、/_search 向けの実装は別途必要です
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この修正は不要、API 側で /user データを返さないようにする
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この修正は不要、API 側で /user データを返さないようにする
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
| limit, | ||
| }, | ||
| isHidingUserPages, | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この修正は不要、API 側で /user データを返さないようにする
| <SearchControl | ||
| isEnableSort | ||
| isEnableFilter | ||
| isHidingUserPages={isHidingUserPages} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SearchControl に対する変更は必要
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この修正は不要、API 側で /user データを返さないようにする
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この修正は不要、API 側で /user データを返さないようにする
c512e63 to
ab499f3
Compare
ce245a0 to
8fa90b2
Compare
ab499f3 to
679e7aa
Compare
https://redmine.weseek.co.jp/issues/174755
https://redmine.weseek.co.jp/issues/176379