Improve FAQ block with meaningful IDs & auto-expansion of answers

Aperta
#188 1 commento 1 reazione 1 assegnatario Vedi su GitHub

@robyngit ci sta già lavorando.

Dal 25/6/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement

Currently, each FAQ item is assigned an id based on its order in the accordion (e.g., #acc_1-3). This makes linking to specific FAQs brittle and unclear. To improve this, we should make the IDs either:

  • Based on the question text (e.g., #what-is-dataone)
  • Or configurable via front matter so editors can assign custom IDs

When navigating to a specific FAQ URL with an anchor, the accordion should automatically expand that item.

This will make it easier to link to specific questions for support and documentation purposes.

Lingua principale
SCSS
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DataONEorg/dataone-web

Tutte le issue di DataONEorg/dataone-web

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.