-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reg\Transfers - Internal User can transfer a facility to another operation #2427
Comments
Questions and Comments:
|
|
@zoeyli-46 design question (all credit goes to @Sepehr-Sobhani for this idea): rather than having the "Add another facility" button and one dropdown per facility, could we instead make the "Facility" dropdown a multi-select, and then include the geographic coordinates in the dropdown options. (So for example, each option in the facility dropdown would look like "[Operation name] - [lat, long]"). We think this way would be easier to implement development-wise, and it would also save space on the page. |
Yes! Thats a great design too. I'll reflect it in the wireframe. |
We should change the wording of 'transfer completion success page' because transfers have an effective date, and we might not transfer entities immediately. |
@Sepehr-Sobhani good point, I made a wireframe for a success page for transfers that have not occurred yet (i.e., the effective date has not happened) https://www.figma.com/design/LsDmLDCdnJqI8UahyqvOD8/BCIERS-Designs?node-id=26272-7674&t=QZVf9IjjfsLafkGY-4 |
Hi @patriciarussellCAS / @andrea-williams! For transferring facilities, does the user want to transfer a facility from Operation 1 to Operation 2 under the same operator, or should facilities be transferable from Operation 1 under Operator 1 to Operation 2 under Operator 2, or both? |
I believe both |
In this case, we should allow the user to select the same operator for both the current and new operator. We should remove below AC:
|
I agree. I've removed that AC :) |
Thanks guys! Yes, it could be both. |
Review notes: The second time I tried, there are no operations available to select in the dropdown. This happens when I select transfer facility as well. |
Mock data again. In the
The dropdowns only show operations that belong to the selected operator, and facilities that belong to the selected operation. New Operator 11 doesn't have any operations, so that's why you're getting nothing in the dropdown. Existing Operator 2 has lots of operations and facilities if you'd like to play around with it, but I'm also going to update the mock data and then everything should work better |
Is this the format for displaying "time" across the app? I wonder if it would be easier to read if it just said "Jul 5, 2024 4:25PM". is the time zone and second necessary information? @patriciarussellCAS |
@zoeyli-46 I think we should ask Tiegan. I don't actually think we need the time at all, just the date. |
@patriciarussellCAS Tiegan and Kirk said they do not need the timestamp for transfers reports. However, @vesselak flagged to keep the date/time display consistent across the pages and timestamps ARE needed for annual reports. The suggestion here is to remove just the "seconds" from the time stamp, for better readability. July 4, 2024 4:25 p.m. PDT Thread for context |
Created ticket #2640 regarding the date/time display @patriciarussellCAS cc @vesselak |
Dependencies
Description:
As an internal user, I need to be able to transfer a facility to another operation
Acceptance Criteria:
Given that I am on the BCIERS dashboard and click "Transfer an Operation or Facility"
OR Given that I am on the Transfer Grid, and I click "Make a transfer"
Then I am brought to the Transfer Entity form Figma
Given I haven't yet answered the question "What is being transferred?"
The only fields that appear on the page are "Current operator", "Select the new operator", and "What is being transferred?"
And the "Transfer Entity" button is disabled
Given that I have selected "Facility" as my answer to the "What is being transferred?" question,
Then only the facility-specific fields of the form are displayed ("Select the operation that this facility currently belongs to", "Facility" dropdown, "Select the new operation this facility will be allocated to", and "Effective date of transfer")
Given that I submitted the form,
Then I am brought to the transfer complete success page
Figma
Context: although the wireframe shows fields for transferring an operation and a facility, this ticket only captures the flow for transferring a facility. The work for transferring an operation is captured in separate ticket #1949
Context: this ticket only covers CREATING a new transfer record for facilities. Editing the transfer form will be covered in a separate ticket.
Additional Context: see associated ticket #2040
Development Checklist:
the dropdown options in "Select the new operator" dropdown should exclude the operator selected as "Current operator"for each facility listed in the Transfer Entity form, a new record should be created in the=> Sep: This is not valid, we are saving facilities as a M2M fieldtransfer_event
tablefacility_designated_operation_timeline
table with the form fields. The "effective date of transfer" in the form should be inserted into thestart_date
column for the newFacilityDesignatedOperationTimeline
record, and it should also be inserted into theend_date
column for theFacilityDesignatedOperationTimeline
record of the previous designated operation. Thestatus
of the new record should be set toTo be transferred
. Transferring a facility should not change any data in thefacility
table => Sep: After processing the transfer, we create an entry in theFacilityDesignatedOperationTimeline
table. (we don't do it if transfer is in the future)docs/backend
folder to explain how transfers work - it's complicated and confusingDefinition of Ready (Note: If any of these points are not applicable, mark N/A)
·Definition of Done (Note: If any of these points are not applicable, mark N/A)
Notes:
The text was updated successfully, but these errors were encountered: