bcgov / nr-fom

Forestry Operations Map
Apache License 2.0
0 stars 1 forks source link

Clarification on commenting close date #628

Closed MCatherine1994 closed 3 months ago

MCatherine1994 commented 4 months ago

Describe the task Our user is confused about the commenting close date, cause they were trying to submit comment on the commenting close date, but it's not allowed anymore.

Acceptance Criteria - [ ] Shift the current commenting closing date to one day before - [ ] Specify the time when they select the commenting closing date, like the commenting closing date will be on May 15th, 11:59pm

Additional context

MCatherine1994 commented 4 months ago

Currently the update workflow state cron job run at 1am PST (which is 8am UTC), which means if the commenting close date set to be May 15, the actual deadline is 1am BC time on May 15. So we can say we accept submissions before May 15th, or maybe until May 14th?

ianliuwk1019 commented 4 months ago

Not sure if the "30" days rule is a hard rule, changing it probably would not comply with legislation. If that's true, maybe the **Public** did not understand or maybe FOM needs to indicate this rule at frontend clearly to the **Public**.

Many places, frontend/backend/process rely on this rule. A simple admin site inputs for "Commenting Open Date" and "Commenting Close Date" can illustrate this. Image

If Commenting Open Date is 2024-05-17 (inclusive), then plus 30 days is 2024-06-15 (inclusive), so the earliest Commenting Close Date is on 2024-06-16 (exclusive) and if I understand correctly, "Close" imply on this date the FOM is "CLOSED".

If we would need to make the scheduled process (state-change to close the FOM) runs precisely on the BC time 0:00am, NestJS cron scheduling might be of help: Image Basil mentioned this requires bigger change and testing. @OlgaLiber2 @basilv

ianliuwk1019 commented 4 months ago

Pending for Olga to evaluate (with client possibly):

Option 1: (Resolving public/submitter confusion for reasonable easy changes)

Public: FOM Detail confusing wording change on: Image Admin: New FOM entering "Commenting Closed Date": Image

Option 2: (Will need big efforts on all modules tweaking)

MCatherine1994 commented 4 months ago

Confirmed with Julius, we can update the wording on Public site for now

OlgaLiber2 commented 4 months ago

We had a meeting with Julius yesterday and we agreed to keep the admin portal as is and make the changes to wording on the public facing side. We might need to add a calculation to show on the public side a day one day before it is selected on the admin portal.

I also have a few minor styling changes proposed for the "FOM details" section to make it more scannable and have better content hierarchy. I am hoping to meet with Julius tomorrow to discuss the changes and get his approval. If he approves, I'm hoping it can be part of this ticket since it's not a lot of work. @ianliuwk1019

Proposed styling changes:

Image

OlgaLiber2 commented 4 months ago

@ianliuwk1019 Julius is good with the change. You can go ahead and implement the date change on the public page.

Julius will also provide me with content (hopefully next week) for the hover icon to explain "validity period".

here is a screenshot with the updated mockup :)

(link to mural board if you need it https://app.mural.co/t/climatechange4363/m/climatechange4363/1716833075792/bf88d19142c7c0bfca6670d2315d1f9ed9c9467e?sender=u84301558fa490f89e6792901)

Image

ianliuwk1019 commented 4 months ago

Hi @OlgaLiber2 , Now I remembered what I was wondering in mockup. The "Periods of operations" is new, it isn't in current production. But no worry, I will add this in. Just want to let you know the "Periods of operations" is different than the "valid until" (in code, it is "validityEndDate"). The two have different legal meaning I think (but Julius can give you details). For "validityEndDate", it is:

So when putting both of them side by side, I wonder that may give public some confusion (I am confused if I don't look at the code); but I will put them same as your mockup.

basilv commented 4 months ago

@ianliuwk1019 I think the mockups look fine, I don't see the issue with "Period of Operations" being combined. (I should have thought of that :)

ianliuwk1019 commented 4 months ago

@ianliuwk1019 I think the mockups look fine, I don't see the issue with "Period of Operations" being combined. (I should have thought of that :)

Thanks Basil!!

OlgaLiber2 commented 4 months ago

@ianliuwk1019 I agree about that writeup about validity date is confusing because it has the two different criteria for BCTS and non-BCTS submissions. I mentioned it to Julius, he's looking at the wording. My question to him was if we can display the writeups that relates to BCTS criteria only BCTS FOMs and the writeup on non-BCTS FOMs when they submitter is industry... according to him both criteria has to be listed in the writeup.. But I'm hoping to give it another iteration at some point to make it more clear. I agree with you it's confusing.

OlgaLiber2 commented 4 months ago

@ianliuwk1019 try darker gray for this text, it's hard to read and more spacing. Here is the styling I updated (circled in red):

Image

For FOMs with closed commenting period let's take out the "commenting opened on..." line so it looks like this:

Image

ianliuwk1019 commented 3 months ago

@ianliuwk1019 try darker gray for this text, it's hard to read and more spacing. Here is the styling I updated (circled in red):

Image

For FOMs with closed commenting period let's take out the "commenting opened on..." line so it looks like this:

Image

Thank you @OlgaLiber2 !! Suggested changes are done and deployed.