Skip to content

Add an Allocation Attribute Edit Page #675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cecilialau6776
Copy link
Contributor

This PR adds a page that allows admins to edit allocation attributes and a button on the Allocation Detail page to access this page, which would close #672.

image
image

This PR also adds a signal for allocation attribute changes, which is sent when Allocation Change Requests are approved and through this page, which should [help] close #293.

@cecilialau6776 cecilialau6776 force-pushed the edit_alloc_attrs_3.12 branch from 35975d0 to 426cfc5 Compare April 11, 2025 19:17
@cecilialau6776
Copy link
Contributor Author

@aebruno, I just wanted to ask if this was on the radar.

@aebruno
Copy link
Member

aebruno commented Jul 2, 2025

@cecilialau6776 Sorry for the delay. Can you rebase this PR to main then we can review. Looks good otherwise, Thanks!

@cecilialau6776 cecilialau6776 force-pushed the edit_alloc_attrs_3.12 branch 2 times, most recently from b663cf4 to 670e89d Compare July 10, 2025 16:41
@cecilialau6776
Copy link
Contributor Author

Rebased and added tests!

@cecilialau6776 cecilialau6776 force-pushed the edit_alloc_attrs_3.12 branch from c32996d to b1570a0 Compare July 14, 2025 16:34
@aebruno
Copy link
Member

aebruno commented Jul 15, 2025

@cecilialau6776 Thanks! Can you squash to a single commit and force push.

@cecilialau6776 cecilialau6776 force-pushed the edit_alloc_attrs_3.12 branch from b1570a0 to 917448a Compare July 15, 2025 16:42
Squashed commits:
add allocation edit page
add indicator for changed allocation attributes
add allocation attribute change signals
escape js for validation string
fix errors and formatting
add tests

Signed-off-by: Cecilia Lau <cecilialau6776@gmail.com>
@cecilialau6776 cecilialau6776 force-pushed the edit_alloc_attrs_3.12 branch from 848b1f5 to fac0e0c Compare July 15, 2025 16:45
@cecilialau6776
Copy link
Contributor Author

@aebruno Yup! Squahsed and also rebased.

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.

Feature: Allow admins to edit Allocation Attributes Dispatch signals for more resource allocation events
2 participants