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.
Screenshots
Future Possibilities
Some possible points could be:
This is the beginning/part of allowing the admin user to create, edit, and delete based on the info in the table
Could be improved by allowing the user to see a default view of the ids in descending order
Validation
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
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.
Screenshots
Future Possibilities
Some possible points could be:
Validation
dokku git:sync happycows-jasontnguyen-dev https://github.com/ucsb-cs156-s24/proj-happycows-s24-4pm-5.git JN-ShowAnnouncementsTable
thendokku ps:rebuild happycows-jasontnguyen-dev
Tests
mvn test
) passmvn test jacoco:report
) 100%mvn test pitest:mutationCoverage
) 100%npm test
) passnpm run coverage
) 100%npx stryker run
) 100%npx eslint --fix src
)Linked Issues
Closes #47