Skip to content

feat: links to user, proposal, FAP from Experiments and Proposals table#1593

Open
shivoomiess wants to merge 10 commits into
developfrom
SWAP-5403-links
Open

feat: links to user, proposal, FAP from Experiments and Proposals table#1593
shivoomiess wants to merge 10 commits into
developfrom
SWAP-5403-links

Conversation

@shivoomiess

@shivoomiess shivoomiess commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Description

Introduces links to user, proposal, and FAP from the Experiments and Proposals tables.

Motivation and Context

This modification is required to enhance navigation and user experience by allowing users to navigate directly to related pages (user, proposal, FAP) from the Experiments and Proposals tables.

Changes

  • Added a new component RoleBasedLink that renders links based on user roles.
  • In ExperimentsTable.tsx, added links to the proposal ID.
  • In ProposalTableOfficer.tsx, added links to Principal Investigator, Call, Instrument, and FAP fields.

How Has This Been Tested?

Fixes Jira Issue

https://jira.ess.eu//browse/SWAP-5403

Depends On

Tests included/Docs Updated?

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

shivoomiess and others added 4 commits June 17, 2026 11:27
Add a generic RoleBasedLink wrapper that resolves its destination from the
current user's role. Use it in the experiments table so a user officer's
proposal-id link opens the officer proposal modal, carrying a `from` param so
closing the modal returns to the originating page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@shivoomiess shivoomiess requested a review from a team as a code owner June 22, 2026 08:18
@shivoomiess shivoomiess requested review from ellen-wright, jekabs-karklins and yoganandaness and removed request for a team and ellen-wright June 22, 2026 08:18
shivoomiess and others added 4 commits June 22, 2026 10:19
Add a generic RoleBasedLink wrapper that resolves its destination from the
current user's role. Use it in the experiments table so a user officer's
proposal-id link opens the officer proposal modal, carrying a `from` param so
closing the modal returns to the originating page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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