Skip to content

fix: update fap reviewer fap page icon to be view not edit#1531

Open
TCMeldrum wants to merge 4 commits into
developfrom
1600-update-fap-reviewer-page-icon
Open

fix: update fap reviewer fap page icon to be view not edit#1531
TCMeldrum wants to merge 4 commits into
developfrom
1600-update-fap-reviewer-page-icon

Conversation

@TCMeldrum
Copy link
Copy Markdown
Contributor

@TCMeldrum TCMeldrum commented May 22, 2026

Ref UserOfficeProject/issue-tracker#1600

Description

This PR updates the FAP reviewer page icon to be 'view' instead of 'edit'.

Motivation and Context

The change is required to reduce ambiguity and potential confusion for users. The 'edit' icon could mislead users into thinking they have editing capabilities when they do not.

Changes

  • Imported the Visibility icon from @mui/icons-material.
  • Implemented a check to determine if a user has the role of a User Officer, FAP Chair, or FAP Secretary.
  • Changed the icon displayed to users based on their role. If the user is a User Officer or Chair/Secretary, they see the 'edit' icon. All other users see the 'view' icon.
  • Updated the tooltip text to match the icon displayed.

How Has This Been Tested?

Fixes Jira Issue

https://jira.ess.eu//browse/

Depends On

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@TCMeldrum TCMeldrum marked this pull request as ready for review May 22, 2026 14:40
@TCMeldrum TCMeldrum requested a review from a team as a code owner May 22, 2026 14:40
@TCMeldrum TCMeldrum requested review from ellen-wright and removed request for a team May 22, 2026 14:40
@TCMeldrum TCMeldrum enabled auto-merge (squash) May 27, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants