kit

Field result

Built revision v17.10.0

Phoenix
Topics

Human support

Bring a missing role, layout, or state, or a rendering against the standard, to the session working on kit. Name the package and the entry.

Field result

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="Hallkeeper" navigation_label="Application" navigation="rail" density="desk">
  <:destination href="#main" current icon="house" bar>Assigned work</:destination>
  <:destination href="?destination=booking-diary#main" icon="calendar" group="Hire days" bar>Diary</:destination>
  <:destination href="?destination=checks#main" icon="clipboard-text" group="Hire days" bar>Checks</:destination>
  <:destination href="?destination=invoices#main" icon="receipt" bar>Invoices</:destination>
  <:rail_head href="#main" />
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../layout-field-result/#layout-field-result">{@owner}</a></:actions>
  <:body id="main">
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.none()}
      aria-labelledby="result-subject"
    >
      <:subject rest={%{id: "result-subject"}}>Meeting Room</:subject>
      <:result_words state="accepted">Check recorded</:result_words>
      <:supporting_standing>The room check is recorded. The booking now shows the check as done.</:supporting_standing>
      <:next_action>
        <Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action icon="arrow-left" href="../record/">
          Back to booking
        </Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action>
      </:next_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>

Field result, no-navigation

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="kit" navigation_label="Application" navigation="none" density="desk">
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../../layout-field-result/#layout-field-result-no-navigation">{@owner}</a></:actions>
  <:body>
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.none()}
      aria-labelledby="result-subject"
    >
      <:subject rest={%{id: "result-subject"}}>Meeting Room</:subject>
      <:result_words state="accepted">Check recorded</:result_words>
      <:supporting_standing>The room check is recorded. The booking now shows the check as done.</:supporting_standing>
      <:next_action>
        <Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action icon="arrow-left" href="../../record/">
          Back to booking
        </Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action>
      </:next_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>

Field result, no-supporting-standing

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="Hallkeeper" navigation_label="Application" navigation="rail" density="desk">
  <:destination href="#main" current icon="house" bar>Assigned work</:destination>
  <:destination href="?destination=booking-diary#main" icon="calendar" group="Hire days" bar>Diary</:destination>
  <:destination href="?destination=checks#main" icon="clipboard-text" group="Hire days" bar>Checks</:destination>
  <:destination href="?destination=invoices#main" icon="receipt" bar>Invoices</:destination>
  <:rail_head href="#main" />
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../../layout-field-result/#layout-field-result-no-supporting-standing">{@owner}</a></:actions>
  <:body id="main">
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.none()}
      aria-labelledby="result-subject"
    >
      <:subject rest={%{id: "result-subject"}}>Meeting Room</:subject>
      <:result_words state="accepted">Check recorded</:result_words>
      <:next_action>
        <Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action icon="arrow-left" href="../../record/">
          Back to booking
        </Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action>
      </:next_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>

Field result, refused-undo

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="Hallkeeper" navigation_label="Application" navigation="rail" density="desk">
  <:destination href="#main" current icon="house" bar>Assigned work</:destination>
  <:destination href="?destination=booking-diary#main" icon="calendar" group="Hire days" bar>Diary</:destination>
  <:destination href="?destination=checks#main" icon="clipboard-text" group="Hire days" bar>Checks</:destination>
  <:destination href="?destination=invoices#main" icon="receipt" bar>Invoices</:destination>
  <:rail_head href="#main" />
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../../layout-field-result/#layout-field-result-refused-undo">{@owner}</a></:actions>
  <:body id="main">
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.none()}
      aria-labelledby="result-subject"
    >
      <:page_refusal>
        <Kit.Phoenix.Roles.Refusal.refusal id="field-result-undo-refused-1">
          <:line>Undo is refused: the booking closed after the check was recorded.</:line>
        </Kit.Phoenix.Roles.Refusal.refusal>
      </:page_refusal>
      <:subject rest={%{id: "result-subject"}}>Meeting Room</:subject>
      <:result_words state="accepted">Check recorded</:result_words>
      <:supporting_standing>The room check is recorded. The booking now shows the check as done.</:supporting_standing>
      <:next_action>
        <Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action icon="arrow-left" href="../../record/">
          Back to booking
        </Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action>
      </:next_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>

Field result, loading

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="Hallkeeper" navigation_label="Application" navigation="rail" density="desk">
  <:destination href="#main" current icon="house" bar>Assigned work</:destination>
  <:destination href="?destination=booking-diary#main" icon="calendar" group="Hire days" bar>Diary</:destination>
  <:destination href="?destination=checks#main" icon="clipboard-text" group="Hire days" bar>Checks</:destination>
  <:destination href="?destination=invoices#main" icon="receipt" bar>Invoices</:destination>
  <:rail_head href="#main" />
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../../layout-field-result/#layout-field-result-loading">{@owner}</a></:actions>
  <:body id="main">
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.loading("The room check had not loaded.")}
      aria-label="Loading the room check"
    >
      <:subject rest={%{"aria-hidden": "true"}}>Meeting Room</:subject>
      <:result_words rest={%{"aria-hidden": "true"}}>Check recorded</:result_words>
      <:supporting_standing rest={%{"aria-hidden": "true"}}>The room check is recorded. The booking now shows the check as done.</:supporting_standing>
      <:next_action rest={%{"aria-hidden": "true"}}>
        <Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action icon="arrow-left" href="../../record/">
          Back to booking
        </Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action>
      </:next_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>

Field result, failed

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="Hallkeeper" navigation_label="Application" navigation="rail" density="desk">
  <:destination href="#main" current icon="house" bar>Assigned work</:destination>
  <:destination href="?destination=booking-diary#main" icon="calendar" group="Hire days" bar>Diary</:destination>
  <:destination href="?destination=checks#main" icon="clipboard-text" group="Hire days" bar>Checks</:destination>
  <:destination href="?destination=invoices#main" icon="receipt" bar>Invoices</:destination>
  <:rail_head href="#main" />
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../../layout-field-result/#layout-field-result-failed">{@owner}</a></:actions>
  <:body id="main">
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.failed(:attention, "The room check could not be loaded", "The connection dropped before the check came back.")}>
      <:state_action><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Try again</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:state_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>

Field result, processing

Open the whole page

Source
<Kit.Phoenix.Layouts.Shell.shell print_identity={@print.identity} print_subject={@print.subject} print_standing={@print.standing} print_tenant={@print.tenant} product="Hallkeeper" navigation_label="Application" navigation="rail" density="desk">
  <:destination href="#main" current icon="house" bar>Assigned work</:destination>
  <:destination href="?destination=booking-diary#main" icon="calendar" group="Hire days" bar>Diary</:destination>
  <:destination href="?destination=checks#main" icon="clipboard-text" group="Hire days" bar>Checks</:destination>
  <:destination href="?destination=invoices#main" icon="receipt" bar>Invoices</:destination>
  <:rail_head href="#main" />
  <:subject>Field result</:subject>
  <:lede words={@owner} />
  <:lede words="Layout example" />
  <:actions><a href="../../layout-field-result/#layout-field-result-processing">{@owner}</a></:actions>
  <:body id="main">
    <Kit.Phoenix.Layouts.FieldResult.field_result subject_state={Kit.Phoenix.State.processing(:settled, "Not recorded yet", "This page updates when the diary takes the check.")}
      aria-labelledby="result-subject"
    >
      <:subject rest={%{id: "result-subject"}}>Meeting Room</:subject>
      <:result_words state="processing">Recording the check</:result_words>
      <:supporting_standing>The check is sent. The booking shows it as done once the diary takes it.</:supporting_standing>
      <:next_action>
        <Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action icon="arrow-left" href="../../record/">
          Back to booking
        </Kit.Phoenix.Roles.EmphasisedNextAction.emphasised_next_action>
      </:next_action>
    </Kit.Phoenix.Layouts.FieldResult.field_result>
  </:body>
</Kit.Phoenix.Layouts.Shell.shell>