Skip to content

Conversation

house-ben
Copy link

@house-ben house-ben commented Sep 12, 2025

Adds next meeting field discussed in #1705

Updates the foundation sidebar to include the next meeting date to add transparency to the community. At the direction of thibaudcolas discussed in the issue.

image

Example with the last meeting having a next_meeting_date

image

Unsure if it would be better to have the next_meeting_date be calculated inside the template.

@@ -95,6 +95,7 @@ class Meeting(models.Model):
)
treasurer_report = models.TextField(blank=True)
treasurer_report_html = models.TextField(editable=False)
next_meeting_date = models.DateField(null=True, blank=True)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
next_meeting_date = models.DateField(null=True, blank=True)
next_meeting_date = models.DateField(
null=True,
blank=True,
help_text=_("This will be shown on the website as the board's next meeting date. The latest meeting's Next Meeting Date will be used.")
)

I wonder if a little bit of context will be helpful to future DSF Secretaries.

occasionally rescheduled for attendance.
{% endblocktranslate %}
{% if next_meeting_date %}
{% translate "Next meeting scheduled for: " context "Following meetings schedule" %}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{% translate "Next meeting scheduled for: " context "Following meetings schedule" %}
{% translate "The next meeting is scheduled for: " context "Following meetings schedule" %}

I think if this were a bullet point, I would agree with your more concise version, but since it's part of a paragraph, I think a complete sentence reads a bit better.

@@ -104,6 +106,7 @@ def test_latest_meeting_minutes(self):
self.assertContains(response, "Latest DSF meeting minutes")

self.assertContains(response, "DSF Board monthly meeting, May 12, 2023")
self.assertContains(response, "Next meeting scheduled for: June 13, 2023")
Copy link
Member

Choose a reason for hiding this comment

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

We may want to include a test for when there is no next_meeting_date in the context to confirm "Next meeting schedule for" doesn't appear.

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.

2 participants