-
Notifications
You must be signed in to change notification settings - Fork 90
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
[LOI Editor] Imported LOIs not shown on map when importing for new unpublished job #1714
Comments
@DaoyuT What is the proposed plan for this change? |
To reproduce
Expect to see the imported LOIs on the map, but they don't show up. ReasonWhen the job is not published, those LOIs are uploaded but associated with any job, so the map component won't render them. Proposed solution2 ways depends on if we want to bundle the import/delete LOI action within the publish job action: If we want them together(more complex fix)
If we are okay with them separated(easier fix)
|
FYI @gino-m , more context above. WDYT about the easier solution? |
Filed #1895 to track the longer fix |
@DaoyuT Has there been any progress on this issue? |
@sufyanAbbasi, @rfontanarosa mentioned you'd like to take this one on. Do you have a sense how many days work it would be to fix? |
For me, between 3-4 days, mostly just investigation and getting myself acclimated to the codebase. |
Having played around with it, I noticed that we could create the job when the "new job" button is pressed, just like when we create the initial job in the survey, as we also preemptively create an initial job during the survey creation flow. Then we'll have a Job ID available to bind the uploaded LOIs to? |
Unfortunately that would trigger an update to clients of a new job being added before the user actually clicks "Publish". I think the easiest workaround is to warn the user that importing LOIs will cause the job to be immediately published. |
I see, that makes sense. On further notice, I found that |
@sufyanAbbasi, @jcqli, just heard back from @DaoyuT - he plans to take a look at this next week. I think he already has a workaround in mind, so might be better to wait for him? |
… for new unpublished job] Show LOIs with missing jobs when showPredefinedLoisOnly is true and render with the given selectedJob from the input
@nwkotto @DaoyuT @rfontanarosa
The text was updated successfully, but these errors were encountered: