Skip to content
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

Conversation

luisa-beerboom
Copy link
Member

…enable_text_on_projector is turned off

See second point of this comment for background

Copy link
Member

@ostcar ostcar left a 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.

internal/projector/slide/motion.go Outdated Show resolved Hide resolved
@luisa-beerboom
Copy link
Member Author

luisa-beerboom commented May 22, 2023

@emanuelschuetze can you please test if this breaks the motion or amendment projection? If everything's fine it can be merged

@ostcar
Copy link
Member

ostcar commented Jun 14, 2023

@emanuelschuetze ping

@ostcar
Copy link
Member

ostcar commented Jul 6, 2023

@emanuelschuetze is this still needed?

@ostcar
Copy link
Member

ostcar commented Aug 27, 2023

@emanuelschuetze I close this for now. Please reopen if it should be merged.

@ostcar ostcar closed this Aug 27, 2023
@@ -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")
Copy link
Member

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_$".

@rrenkert rrenkert reopened this Aug 29, 2023
@luisa-beerboom luisa-beerboom force-pushed the c-2218-remove-all-text-like-fields-if-text-should-not-be-shown branch from 741c647 to 2524722 Compare August 31, 2023 13:08
@luisa-beerboom luisa-beerboom merged commit b4e6b7a into OpenSlides:main Aug 31, 2023
2 checks passed
peb-adr added a commit that referenced this pull request Sep 6, 2023
* 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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants