Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Remove forward button from amendments

Aperta Adatta ai principianti
#7,180 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
angular, typescript
Ambito
frontend

Direzione di ricerca

Inizia cercando nel client il testo di errore "Items of type motions, motion blocks and elections cannot be forwarded" e il template che controlla il pulsante Forward (le viste di dettaglio di motion / amendment). Poi traccia la condizione di visibilità, che a quanto pare conserva il flag della motion aperta in precedenza; riproduci questo stato obsoleto navigando da motion A -> amendment B come nell'issue. Considera concluso quando il pulsante non viene mai renderizzato in una vista di dettaglio di amendment senza un ricaricamento, e quando l'elenco dei messaggi di errore è stato controllato per verificare se "amendments" ci appartiene.

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

Descrizione

bug

Describe the bug
Amendments cannot be forwarded without the main motion and should never have the forward button.

How to Reproduce

  1. Ensure your workflow allows forwarding of motions AND amendments in state X
  2. Create a motion A in a state X
  3. create an amendment B in state X
  4. open motion A
  5. open amendment B -> the "Forward" button is visible and a click on it produces an unfitting error message

Error Message

Items of the type motions, motion blocks and elections cannot be forwarded.

Expected behavior
The "Forward" button is never shown in amendments.
Check where the error message is usually shown and if "amendments" should be added.

Additional info
The Forward button is not shown in the amendment when I reload the amendment. The bug seems to always appear when I previously opened a motion with the button visible (hence step 4 in the reproduction).

Screenshots
Image

Lingua principale
Shell
Stelle
647
Fork
183
Merge medio
3h 8m
PR unite (30g)
7

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 OpenSlides/OpenSlides

Tutte le issue di OpenSlides/OpenSlides

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.