ucsb-cs156-f24 / proj-happycows-f24-10

0 stars 0 forks source link

EPIC: Frontend for Announcements on Play Page #10

Open github-actions[bot] opened 21 hours ago

github-actions[bot] commented 21 hours ago

Discussion

Issue F1: fixtures/components for announcements

Developer Story:

Acceptance Criteria:

Issue F2: Frontend Create. Read operations for announcements (and optionally Edit, Delete)

User story:

Acceptance Criteria:

Note: Additional issues if not done as part of Issue F2 (defining the user stories and acceptance criteria is left as an exercise to the student):

Issue F2a: Edit button added to Index page (if not done as part of Issue F2).

Issue F2b: Delete button added to index page (if not done as part of Issue F2)

Issue F3: Frontend Make Announcements appear on Play Page

User stories: As an admin

As a user (game player, farmer)

Note that you may want to implement a different component for announcements for the play page, perhaps based on the react component. See the way the commons cards are implemented on the HomePage as an example.

It's important that the announcements are clear, but also don't clutter up the play page too much.

If needed, you could make a component that shows, by default, only the first line of the text, and then has a place to click to see the full announcement, and then click to restore the compacted view. React offers a variety of ways to accomplish this; you may use your creativity. Don't get too fancy though; remember that this is intended to be a "minimum viable product" for announcements. Future functionality might include keeping track, for each individual user, which announcements they have seen or not seen, and differentiating new announcements from ones that have already been seen, using modals to alert the user about new announcements, but that's all for the future. Keep it simple in your first implementation, and then if there's time, you can propose additional issues to get fancier.

Acceptance Criteria:

Implementation Todos

Frontend:

Testing: