[3.x] Tags: store an order for secondary tags
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PHP
- Stelle
- 6.8k
- Fork
- 891
- Merge medio
- 1g 10h
- PR unite (30g)
- 209
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di flarum/framework
-
type/accessibility type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Default language is ignored for anyone who chose a language, when the language selector is hiddenForse già presa @1AbdullahButt l’ha presa 15 giorni fa. Apertatype/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
[2.x] False CLI/Web PHP mismatch when /usr/bin/php differs from the site's FPMForse già presa @lazerg l’ha presa 15 giorni fa. Apertatype/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[2.x] A filter on a resource without a searcher returns a 500Forse già presa @imorland l’ha presa oggi. Apertatype/bug
flarum/framework#5578 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di flarum/framework
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 87/100
Sylius/Sylius#19359 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add php 8.6Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
mailersend/mailersend-php#199 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Tool: somcp_delete_currencyApertaConfiguration new tool
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
novalo-dev/Prestashop-MCP-Server#366 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 10 giorni