Skip to content

Redesign home page announcements with levels, titles and priority - #2589

Merged
ObadaS merged 2 commits into
developfrom
announcements_redesign
Oct 1, 2026
Merged

ObadaS merged 2 commits into
developfrom
announcements_redesign

Conversation

@ihsaan-ullah

@ihsaan-ullah ihsaan-ullah commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Description

  • Add title, level (critical/warning/info/plain), is_active, priority and created_when fields to Announcement
  • Show all active announcements on the home page, ordered by priority (lowest first) then newest first
  • Render critical, warning and info as red, yellow and blue Semantic UI messages with icons; render plain announcements as text without background or icon
  • Style links in announcement text as bold and underlined, in the announcement's color
  • Move announcement styles to announcements.styl
  • Admin: show level badge, title, active flag and priority; add level and active filters and title/text search
  • Add tests for active filtering, ordering, level rendering and hiding the box when there are no active announcements

Screenshot

UI on the website
Screenshot 2026-09-30 at 2 49 16 PM

Django Admin view
Screenshot 2026-09-30 at 3 01 13 PM

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@ObadaS
ObadaS self-requested a review October 1, 2026 08:46
- Add title, level (critical/warning/info/plain), is_active, priority
  and created_when fields to Announcement
- Show all active announcements on the home page, ordered by priority
  (lowest first) then newest first
- Render critical, warning and info as red, yellow and blue Semantic UI
  messages with icons; render plain announcements as text without
  background or icon
- Style links in announcement text as bold and underlined, in the
  announcement's color
- Move announcement styles to announcements.styl
- Admin: show level badge, title, active flag and priority; add level
  and active filters and title/text search
- Add tests for active filtering, ordering, level rendering and hiding
  the box when there are no active announcements
@ObadaS
ObadaS force-pushed the announcements_redesign branch from 6ebeabe to b51fc2a Compare October 1, 2026 09:00
@ObadaS
ObadaS merged commit 33fd232 into develop Oct 1, 2026
1 check passed
@ObadaS
ObadaS deleted the announcements_redesign branch October 1, 2026 09:13
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