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

10k post limit #17

Draft
wants to merge 7 commits into
base: lemmy
Choose a base branch
from
Draft

10k post limit #17

wants to merge 7 commits into from

Conversation

jspayne
Copy link
Collaborator

@jspayne jspayne commented Jul 2, 2023

  • Add options to remove highlights and scoring plays from the game thread
  • Add an optional highlights thread to the game thread update loop

Fixes #3

jspayne added 7 commits June 23, 2023 15:02
* Fix render of the Highlight thread
* Remove placeholder for Highlight hyperlink - it isn't possible to have an instance independent link.
* Take boxscore & linescore out of the Highlight thread.  It looked too much like the game thread.
@jspayne jspayne marked this pull request as draft July 7, 2023 16:21
@@ -2025,6 +2065,62 @@ def game_thread_update_loop(self, pk):
self.commonData[pk]["schedule"]["status"]["statusCode"],
edit=False,
)
if self.settings.get("Highlight Thread", {}).get(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good but what do you think about splitting the highlight thread code into it's own function or file + function? Use it as sort of a template for future refactoring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adjust posts to fit in the 10k limit
2 participants