-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove all text informations from motion slides when… #687
Remove all text informations from motion slides when… #687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested this, but it looks good.
There is one remark that is a proposal how I would to it. Since the projector-package does not follow my style anyway, its OK for me, if we merge it as it is. But for other packages, it should be changed.
@emanuelschuetze can you please test if this breaks the motion or amendment projection? If everything's fine it can be merged |
@emanuelschuetze ping |
@emanuelschuetze is this still needed? |
@emanuelschuetze I close this for now. Please reopen if it should be merged. |
internal/projector/slide/motion.go
Outdated
@@ -171,7 +173,7 @@ func Motion(store *projector.SlideStore) { | |||
"recommendation_extension_reference_ids", | |||
} | |||
if meeting.MotionsEnableTextOnProjector { | |||
fetchFields = append(fetchFields, "text") | |||
fetchFields = append(fetchFields, "text", "amendment_paragraph_$", "statute_paragraph_id") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After updating to current main (including "remove-template-fields") this will be "amendment_paragraphs" instead "amendment_paragraph_$".
741c647
to
2524722
Compare
* commit '6615b167707057d26e4ed17b865a358973b06c56': (49 commits) Bump actions/checkout from 3 to 4 (#766) Remove all text informations from motion slides when… (#687) Debug agenda_item meetingID (#757) Connection count for admin (#761) use context.withoutCancel (#760) Make dsfetch simpler (#759) Remove dsfetch.error later (#758) Update the readme (#748) Fix go.sum after merge Merge main into feature/remove-template-fields (#751) update generated files (#750) Go 1.21 (#747) Fix cache.fetchMissing (#746) Change key representation (#738) Bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 (#744) Bump golang.org/x/sys from 0.10.0 to 0.11.0 (#743) New API for the search service (#721) Exit early on pendingmap (#742) Rtf profiling routes and updates (#741) Extend project automation (#740) ...
…enable_text_on_projector is turned off
See second point of this comment for background