Add a collapsible panel component to wicket-extensions

Aperta
#1,636 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
css, html, java

Direzione di ricerca

No specific files, tests, or entry points are named. Start by reviewing existing wicket-extensions components and their styling conventions, then determine how the title model, body component, expanded default, server state, and CSS should fit together. Done means an independent native details/summary component meeting each listed behavior, with suitable tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Pages often carry content that only some users need all the time: long explanations,
help texts, advanced filter forms, details below a summary. Applications build their own
show/hide toggles for this again and again, usually with inline JavaScript or inline
styles, both of which a strict Content Security Policy blocks.

Proposal: a small, independent component in wicket-extensions that renders a title and a
body which the user can expand and collapse.

  • collapsed by default, with an API to render it expanded
  • built on the native
    / elements: works without JavaScript, is keyboard
    accessible and announced correctly by screen readers, and needs no inline script or style
  • the title is a model, the body any component, so it can hold static text, a panel or a
    form
  • optionally reports the open state to the server, so it survives a re-render of the page
  • styled with its own CSS, easy to override
Lingua principale
Java
Stelle
800
Fork
437
Merge medio
21h 36m
PR unite (30g)
167

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 apache/wicket

Tutte le issue di apache/wicket

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.