# トップメニューのカスタムナビゲーションフィルターの作成機能

**URL:** https://meta.discourse.org/t/ability-to-create-custom-navigation-filters-in-top-menu/402317
**Category:** Support
**Tags:** top-navigation-links
**Created:** [2026 年 5 月 6 日午後 3:48 UTC](https://meta.discourse.org/t/ability-to-create-custom-navigation-filters-in-top-menu/402317 "2026-05-06T15:48:59Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2026 年 5 月 6 日午後 10:56 UTC](https://meta.discourse.org/t/ability-to-create-custom-navigation-filters-in-top-menu/402317/5 "2026-05-06T22:56:53Z")

</div>

~~後で戻って机に戻ったら確認し、PR が必要かどうか見てみます。これは更新による回帰現象の可能性があります。~~

編集：これを確認しましたが、このケースではかなりのリファクタリングが必要だと考えられます。`/latest` を必須とするデフォルトの「トップメニュー」管理者サイト設定とのモバイルモーダルコンテナの相互作用については確信が持てません。カスタムリンクのみを表示させることはできますが、そのトップメニューのルートとカウントの影響で、ボタンのラベルが正しく表示されていません。

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/2/e/42e954dd91534021ddff83666818390d0fd8887b.png)

私は `.gjs` コンポーネント（[ボタン付き](https://meta.discourse.org/t/discourse-topic-excerpts-ai-gists-button/394885)）を構築しており、これらはモバイルモーダルと同様の処理を行っていますが、このコンポーネントも、`latest` が最小値であり、すべてのデフォルトリンクを非表示にする設定が有効な場合に、そのルートと相互作用するために同様のリファクタリングが必要になる可能性があります。

---

_[View the full topic](https://meta.discourse.org/t/ability-to-create-custom-navigation-filters-in-top-menu/402317)._
