CodeForAfrica / CodeForAfrica/academy.AFRICA

[Audit][P1] Harden event rendering and query performance

Open
#57 0 comments 0 reactions 1 assignee Claimed by @koechkevin View on GitHub
bug
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Context

Malformed event dates can terminate rendering, while filter construction repeatedly loads all events and assumes optional metadata is present.

Audit findings: 17, 32, and the event-related part of 39.

## Scope

- Validate and normalize event date, time, country, speaker, and organisation data.
- Prevent one malformed event from breaking a listing or single page.
- Replace repeated unbounded filter queries with a bounded or aggregated approach.

## Done when

- Empty or invalid event metadata renders a safe fallback.
- Event listings do not issue one unbounded query per filter dimension.
- Single-event and event-list views share tested normalization behavior.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.