Skip to content

Feat/about admin [WIP]#43

Draft
anqilique wants to merge 3 commits into
mainfrom
feat/about-admin
Draft

Feat/about admin [WIP]#43
anqilique wants to merge 3 commits into
mainfrom
feat/about-admin

Conversation

@anqilique
Copy link
Copy Markdown
Contributor

Description

Started working on the admin mode view/functionality. Very much incomplete, PR exists currently to track progress.

Changes

  • Executives.tsx has been changed to use the new api configuration instead of fetch.
  • New execRole property (e.g. "Mascot", "Co-President") exists in Executives.tsx, ExecCard.tsx, executive.ts.
  • This is to differentiate between the new role property ("user", "admin") created in the same files.
  • ExecCard component now uses the ImageBlock component for executive images.
  • admin mode is currently hardcoded, exposing a delete and edit button at the top-right of each card.
  • ImageBlock.css has been modified to include extra styling for the new delete button.

Note: The edit and delete buttons are yet to do anything.

Visual Preview

image

Next Steps

  • Continue working on this ticket and merge when fully completed.
  • This involves adding the "delete executive (and their card)" functionality.
  • And editing functionality, probably using a similar pop-up modal as seen in Feat/image admin #34.

@anqilique anqilique added the feature New feature being worked on label May 10, 2026
Copy link
Copy Markdown
Collaborator

@RLee64 RLee64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm so far 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature being worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants