HyphaApp / hypha

Submission management software for open calls
https://www.hypha.app
BSD 3-Clause "New" or "Revised" License
67 stars 38 forks source link

Add application submission id everywhere, with an optional prefix #3930

Closed theskumar closed 1 month ago

theskumar commented 1 month ago

This PR allow adding an option prefix to the submission ID's that are auto generated.

The prefix can be added by going to round or lab settings page.

This PR also ensure the prefix or application ID displayed along with title almost everywhere for each reference. Since the title of application is not unique, this helps add uniqueness to it.

The autolinking of submission ids in communication has be updated to account for application id prefix

Fixes https://github.com/HyphaApp/hypha/issues/3830

Screenshot 2024-05-20 at 3  38 36@2x

Screenshot 2024-05-20 at 4  43 55@2x

Screenshot 2024-05-20 at 4  44 32@2x Screenshot 2024-05-20 at 4  45 05@2x

Test Steps

theskumar commented 1 month ago

Getting the submission prefix in the url as well is lot of work also requires decent testing. I think it would better to tackled in another pr.

frjo commented 1 month ago

@theskumar I think this needs rebuild migrations and a rebase. Merged in a number of PRs today.

theskumar commented 1 month ago

@frjo updated! :)

wes-otf commented 1 month ago

Super small issue from my testing with the slack comment notif but otherwise works great!