Skip to content

S26 admin announcement e2e - #122

Open
LucasHJin wants to merge 9 commits into
mainfrom
S26-admin-announcement-e2e
Open

S26 admin announcement e2e#122
LucasHJin wants to merge 9 commits into
mainfrom
S26-admin-announcement-e2e

Conversation

@LucasHJin

@LucasHJin LucasHJin commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Notion ticket link

Admin Annonucement Page Fixes

Implementation description

  • Added backend script backend/scripts/provisionUser.ts to use firebase sdk to create/update a user, set password, confirm email auth, and set role
  • Added admin nav bar layout + announcements button to the layout
    • Also fixed resulting layout errors (i.e. collapsed layout) for admin announcement management page
  • Fixed farmer banner formatting of text to format html properly

Steps to test

  1. Sign into the BP account (see notion for details)
  2. On the admin announcements page create an announcement (i.e. use all the different formatting options) + create multiple
  3. Sign into your personal account as a farmer (use script to give yourself farmer role)
  4. On the farmer view, you should see expandable banners in the bottom right which you can switch between, the text should be formatted properly, and you should be able to x to delete the banners from your view permanently
screen-recording-2026-08-20.mp4

What should reviewers focus on?

  • I added faint red highlighting on current day for calendar picker just for visual affordance for user (i.e. easily know which day today is) - this was not in figma tho

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

@LucasHJin
LucasHJin requested a review from rohansaha27 August 20, 2026 04:20
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 650cb77):

https://mississippi-farm-to-scho-11069--pr122-s26-admin-announ-kwxore4o.web.app

(expires Thu, 27 Aug 2026 04:21:56 GMT)

馃敟 via Firebase Hosting GitHub Action 馃寧

Sign: 723b679f48d9c08901a0e4baad9cff58f7ce1eb0

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.

1 participant