Closure status in WME View history

Revision as of 07:21, 17 April 2024 by Purpleberryx (talk | contribs) (Created page with "=== Background === Today, a closure is disappearing from WME right after it reaches its end time. This doesn’t allow you - Editors - to look at the closure a short time after it finished and to review its status history. Also the real time status of the closure isn’t reflected in the WME and this adds a limitation when working with different map data. This feature will expose the current status of the closure and its historic statuses. === Closure statuses === Each...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Background

Today, a closure is disappearing from WME right after it reaches its end time. This doesn’t allow you - Editors - to look at the closure a short time after it finished and to review its status history. Also the real time status of the closure isn’t reflected in the WME and this adds a limitation when working with different map data. This feature will expose the current status of the closure and its historic statuses.

Closure statuses

Each closure in WME will show the current status and the historic status by clicking over the status tag.

Possible statuses, which will be displayed in the Closure Status Pop up and on related segments on the map:

  • Not started (future closure):
  • Active (time of closure has started and the Server has activated it for client users):
  • Suspended (time of closure has started and the Server has suspended it due to traffic on segment):
  • Finished (Time of closure is over):

This is an example of how Closure statuses change during a certain period of time. The status history will display all the stages the closure went through:

In case segment has multiple closures:

  • We display only one active icon:
    • active, if we have one;
    • in case we don't have active - display suspended;
    • in case we don't have suspended - display not started;
    • in case we don't have not started - display finished.

Showing past closures in WME

When the closure status is FINISHED, it means that the time of closure is over. As a result today, a closure is disappearing from WME right after it reaches its end time. The new feature introduces the behavior which shows the closures after they are finished for 7 days.

A finished closure we are showing should abide to the following rules:

  • It should be visible in the left panel list of closures during 7 days .
  • If the segment has only past closures (and no active or future ones), the closure sign appearing on the segment in the map is colored in accordance with the set design.
  • If the segment has only past closures, they shouldn’t lock the segment from editing.
  • If the segment has only past closures, it can be deleted from WME.
  • A past closure cannot be edited (for example, the user can’t edit its end time, setting it to the future and activating the closure again).

FAQs

Will the icon of the Finished closure shown on the segment and on in the Closure Status pop up?

Yes, the icon will remain on the segment for 7 days. It shouldn’t block editing the segment.

How does it work for closures from feeds?

Closures from feeds will not appear for 7 days after the finish. They will be removed once over. This is due to how we read closures from feeds in our database. Since we remove closures from feeds from our database once they are finished, we won't be able to display them at the moment. That said, we have an internal open task to start storing in our DB closures from feeds after they are finished, but this will likely take some time.

What happens with deleted closures?

If a closure is specifically deleted (and not just end cause it reached its end time), the closure server will remove it from the database and thus, it won't appear in the closures tab as finished.