Skip to content

Conversation

@arvid-e
Copy link
Contributor

@arvid-e arvid-e commented Dec 24, 2025

Hide user content from lsx result when hiding user pages setting is on

https://redmine.weseek.co.jp/issues/176345

@arvid-e arvid-e force-pushed the feat/176345-hide-user-pages-from-lsx-usage branch from 5624088 to 16785e8 Compare December 25, 2025 04:46
@arvid-e arvid-e requested a review from yuki-takei December 25, 2025 07:01
lsxValidator,
paramValidator,
listPages,
listPages(hideUserPages),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hideUserPages という bool 値を渡すのではなく、除外パスリストを渡すようにしましょう

  1. PageService を改修し、除外パスリストを返すメソッドを新規追加する
    • getExcludedPathsBySystem() のような
  2. crowi.pageService からそのメソッドを呼び、除外パスリストを得る
  3. listPages に { excludedPaths: string[] } のようなパラメータオブジェクトを渡す

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants