Fix past events rendered twice #245

Merged
j285he merged 6 commits from jared-fix-term-238 into main 2021-08-31 23:19:34 -04:00
Member

Closes #238

Closes #238
j285he added 4 commits 2021-08-31 23:02:35 -04:00
continuous-integration/drone/push Build is failing Details
ad38eca98b
Negate the flags
continuous-integration/drone/push Build is passing Details
6256fe0dcd
Fix logic, add section
continuous-integration/drone/push Build is failing Details
b6b83e3fb2
Revert workaround for testing
continuous-integration/drone/push Build is failing Details
5e868803bf
for real this time
j285he requested review from a3thakra 2021-08-31 23:07:26 -04:00
a3thakra approved these changes 2021-08-31 23:07:32 -04:00
a3thakra left a comment
Owner

Logic LGTM. Haven't tried it.

Logic LGTM. Haven't tried it.
Author
Member

Wait I can simplify this one sec

Wait I can simplify this one sec
Owner

No this is actually good, it's slightly repetitive, but that's fine. It looks very clear.

No this is actually good, it's slightly repetitive, but that's fine. It looks very clear.
j285he added 2 commits 2021-08-31 23:13:15 -04:00
Author
Member

Ah ok sorry didn't see that. If this doesn't work I can change it back

I guess a nitpick here is that when hasPastEvents is true but hasFutureEvents and isCurrentTerm are not, the Event Archives is in a section even though there is one h1. Is that a problem?

Ah ok sorry didn't see that. If this doesn't work I can change it back I guess a nitpick here is that when hasPastEvents is true but hasFutureEvents and isCurrentTerm are not, the Event Archives is in a section even though there is one h1. Is that a problem?
Owner

fwiw, code looked cleaner earlier 🤷

fwiw, code looked cleaner earlier :shrug:
Owner

I guess a nitpick here is that when hasPastEvents is true but hasFutureEvents and isCurrentTerm are not, the Event Archives is in a section even though there is one h1. Is that a problem?

Not a problem

> I guess a nitpick here is that when hasPastEvents is true but hasFutureEvents and isCurrentTerm are not, the Event Archives is in a section even though there is one h1. Is that a problem? Not a problem
j285he merged commit 966129adf8 into main 2021-08-31 23:19:34 -04:00
j285he deleted branch jared-fix-term-238 2021-08-31 23:19:40 -04:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#245
No description provided.