ucsb-cs156-s24 / proj-happycows-s24-4pm-5

https://ucsb-cs156-s24.github.io/proj-happycows-s24-4pm-5/
1 stars 0 forks source link

Show List of Announcements For Certain Commons #48

Closed jasontnguyen closed 4 months ago

jasontnguyen commented 4 months ago

Overview

In this PR, we add an table on the Announcements Index Page that allows an admin to look at all the current announcements for a certain commons. The table will be different for each commons.

UPDATE

I added a max width CSS property so it handles long announcement texts.

Screenshot 2024-05-26 at 6 49 32 PM

Screenshots

Screenshot 2024-05-25 at 12 38 47 AM

Future Possibilities

Some possible points could be:

Validation

  1. Rebuild my dokku dev app by doing dokku git:sync happycows-jasontnguyen-dev https://github.com/ucsb-cs156-s24/proj-happycows-s24-4pm-5.git JN-ShowAnnouncementsTable then dokku ps:rebuild happycows-jasontnguyen-dev
  2. Use my dokku link: https://happycows-jasontnguyen-dev.dokku-05.cs.ucsb.edu
  3. Create a new announcement for a certain commons through Swagger
  4. Go back to the announcements page for that common and check that the announcement shows up

Tests

Linked Issues

Closes #47