[3.x] Tags: store an order for secondary tags
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Read the tag ordering implementation for position, POST /api/tags/order, and the admin Tags page, along with the migration that assigns existing tag positions. The issue leaves two product decisions open: where manual ordering applies and how child tags count toward required tag limits. Once those decisions are made, verify secondary tags can be reordered and existing order matches the admin's current name order.
索引モデルが issue の本文から書いたものです。
説明
Secondary tags have no order: the admin lists them by name, and the forum's Tags page and sidebar by number of discussions. This was a deliberate choice in #1549 (so the sidebar can show the three most-used secondary tags). The fix proposed for #5236 disables dragging within the secondary list instead of accepting an order and discarding it.
For 3.0, once extensions identify a tag's kind through isPrimary() / isSecondary() instead of position (#5455), position can mean the order within a tag's own list for every kind.
To do
positionorders secondary tags too. Secondary tags no longer have a null position, which is a breaking change for anything still checking it.POST /api/tags/orderaccepts the secondary list as well, and the admin Tags page lets it be reordered again.- A migration gives existing secondary tags positions, by name, matching what the admin shows today.
To decide
- Where the manual order applies: the admin list, the forum Tags page cloud, and the sidebar's "most-used three". Options: always manual; manual with the sidebar keeping its most-used choice; or a setting.
- Whether the required tag counts should treat child tags as primary, since "primary" now means the whole primary tree. If they do, the primary limits may need separate settings for children.
Related: #3640 and #4065 cover the existing child-tag counting inconsistency.
- 主要言語
- PHP
- スター
- 6.8k
- フォーク
- 891
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 209
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flarum/framework のほかの issue
-
type/accessibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Default language is ignored for anyone who chose a language, when the language selector is hidden対応中かも @1AbdullahButt が 15 日前に担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
[2.x] False CLI/Web PHP mismatch when /usr/bin/php differs from the site's FPM対応中かも @lazerg が 15 日前に担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[2.x] A filter on a resource without a searcher returns a 500対応中かも @imorland が今日担当しました。 オープンtype/bug
flarum/framework#5578 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
flarum/framework の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 87/100
Sylius/Sylius#19359 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add php 8.6オープン
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
mailersend/mailersend-php#199 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Configuration new tool
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
novalo-dev/Prestashop-MCP-Server#366 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 10 日以内に返信