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

Đang mở
#188 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

@robyngit đang làm issue này rồi.

Từ ngày 25/6/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
SCSS
Star
2
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DataONEorg/dataone-web

Tất cả issue của DataONEorg/dataone-web

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.