View specific CCE details

Description

As a DIVO, I need to view the specific details for a CCE device within my purview so that I can reference those fields to better manage my CCE.

Acceptance criteria

  • All fields except for facility and reference name are shown on the page as a definition list (see )

    • If an optional field doesn't have a value, it is not shown on the page

    • If a group of field items doesn't have any values, the heading is not shown

  • The reference name is shown at as the modal title

    • otherwise, the equipment model and serial number are shown as the title of the modal

  • The functional status box shows color coded functionality indicator, status, and username & timestamp of last update

  • Clicking on any part of the functional status box will open a "update status" modal

  • Clicking the button in the functional status box will open a "update status" modal

  • An edit button and(This will be added in ) Close button is visible below the CCE modal

The workflow and modals look like the following

Activity

Show:
Nikodem Graczewski
September 27, 2017, 1:49 PM

Showcase agenda

  • For all fields entered

    • show that all fields are visible

    • long comments are folded

    • new line in comments is respected

    • gap has already a bug created (OLMIS-3238, it is CSS related, should be easy to fix)

    • Edit button takes user to the Edit modal

    • Update Status button takes user to the Update Status modal

  • For only required fields

    • Source, Year of Warranty Expiry and Additional Notes are missing

Rachel Powers
September 21, 2017, 5:12 PM

Thank you for your work on this! Glad to see it's all working smoothly now.

Joanna Bebak
September 21, 2017, 12:53 PM

I tested the ticket as a CCE manager, and everything works correctly.

Brandon Bowersox-Johnson
September 20, 2017, 6:12 PM

Per discussion on Slack (#help), every logged in user (with a token) should be able to get all the details of any and all facilities. Administrative right checks shouldn't happen for that.

Nikodem Graczewski
September 20, 2017, 5:37 PM

The root cause of is probably not related to this ticket but rather to a right check on the facility get endpoint, which shouldn't be there.


Can you confirm that the right check shouldn't be present on the get by id endpoint?

Done

Assignee

Nikodem Graczewski

Reporter

Rachel Powers