unslopkit

Components / Comments

Composer with toolbar

A comment box mid-reply with a formatting toolbar, one file attached and one uploading, and send controls. For long replies on quotes.

Replying on Quote Q-118

Revised quote attached. Two changes from Friday:

  • Worktop goes to 40 mm oak
  • Island gets its own 20 A circuit
  • Q-118 revised.pdf184 KB
  • island-run.jpgUploading · 64%

Shift + Enter for a new line

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-comment-rich-composer">
<form class="cp" aria-labelledby="ukc-comment-rich-composer-to">
  <p class="to" id="ukc-comment-rich-composer-to">Replying on <b>Quote Q-118</b></p>
  <div class="box typing">
    <div class="bar" role="toolbar" aria-label="Formatting">
      <button type="button" aria-label="Bold" aria-pressed="true"><b>B</b></button>
      <button type="button" aria-label="Italic" aria-pressed="false"><i>I</i></button>
      <button type="button" aria-label="Strikethrough" aria-pressed="false"><s>S</s></button>
      <span class="sep" aria-hidden="true"></span>
      <button type="button" aria-label="Bulleted list" aria-pressed="true"><svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 6h10M10 12h10M10 18h10"/><circle cx="5" cy="6" r="1"/><circle cx="5" cy="12" r="1"/><circle cx="5" cy="18" r="1"/></svg></button>
      <button type="button" aria-label="Numbered list" aria-pressed="false"><svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 6h9M11 12h9M11 18h9M4 4.5h1.5V9M4 14.5a1.6 1.6 0 0 1 3 .6c0 1.3-3 2.2-3 3.9h3"/></svg></button>
      <button type="button" aria-label="Insert link"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/></svg></button>
      <button type="button" aria-label="Code"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 8l-4 4 4 4M16 8l4 4-4 4"/></svg></button>
      <span class="sep" aria-hidden="true"></span>
      <button type="button" aria-label="Mention someone"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8"/></svg></button>
      <button type="button" aria-label="Attach a file"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 11.5l-8.2 8.2a5 5 0 0 1-7.1-7.1l8.6-8.6a3.3 3.3 0 0 1 4.7 4.7l-8.6 8.6a1.7 1.7 0 0 1-2.4-2.4l7.9-7.9"/></svg></button>
    </div>
    <div class="ed" contenteditable="true" role="textbox" aria-multiline="true" aria-label="Comment">
      <p>Revised quote attached. <b>Two changes from Friday:</b></p>
      <ul><li>Worktop goes to 40 mm oak</li><li>Island gets its own 20 A circuit<span class="caret" contenteditable="false" aria-hidden="true"></span></li></ul>
    </div>
    <ul class="files" aria-label="Attachments">
      <li class="file">
        <span class="ic"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 3H6v18h12V7z"/><path d="M14 3v4h4"/></svg></span>
        <span class="nm"><b>Q-118 revised.pdf</b><span>184 KB</span></span>
        <button type="button" class="x" aria-label="Remove Q-118 revised.pdf"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
      </li>
      <li class="file">
        <span class="ic"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="1"/><path d="M3 16l5-5 4 4 3-3 6 6"/><circle cx="15.5" cy="9.5" r="1.5"/></svg></span>
        <span class="nm"><b>island-run.jpg</b><span>Uploading · 64%</span></span>
        <button type="button" class="x" aria-label="Cancel upload of island-run.jpg"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
        <span class="prog" role="progressbar" aria-label="Uploading island-run.jpg" aria-valuemin="0" aria-valuemax="100" aria-valuenow="64" style="--p: 64%"><i></i></span>
      </li>
    </ul>
    <div class="foot">
      <p class="hint"><kbd>Shift</kbd> + <kbd>Enter</kbd> for a new line</p>
      <span class="btns"><button type="button" class="ghost">Cancel</button><button type="submit" class="send">Comment</button></span>
    </div>
  </div>
</form>
</div>

More comments

All 24
  • Sol AmariEstimator

    Revised quote, and the photo Dana took this morning. The island run is now its own line.

    • Q-118 revised.pdf2 pages · 184 KB
    • panel-after.jpg2.1 MB
    Seen by Dana and Mara

    Comment with attachments

  • Can one job sheet go on two invoices?

    We built half the deck in October and the rest in November. The client wants an invoice for each month.

    invoicingAsked by Rhea Lund ·

    2 answers

    Score 14

    Accepted answer

    Yes. Open the sheet, choose Split, and tick the lines for each invoice. Both invoices link back to the one sheet, so hours never count twice.

    Sol Amari · Halden support ·

    • Worked. Both went out this morning. Rhea Lund ·
    Score 3

    We duplicate the sheet and delete half the lines on each copy. Works, but the hours report shows the job twice.

    Kit Brennan ·

    Question with accepted answer

  • Idea · 38 replies

    Log hours by voice on site

    Sort replies
    1. Kit Brennan

      Only if it works with gloves on and a saw running. Push to talk on the volume button would do it.

      1. Mara ReyesHalden team

        Push to talk is in the next build. Gloves we are still testing.

    2. Joel Pratt

      I'd want it to read the hours back before saving. I mumble.

    3. Tess OkoroSplit vote

      Not for me. The van is too loud. Keep the big number pad.

    Ranked discussion

  • Kitchen Utility Hall Living 1: Island socket, fixed 2: Utility door, open 3: Hall switch, open

    Snags · 2 open

    1. Island socket on the end panel, not the top

      Dana Whitfield · Fixed

    2. Utility door hits the boiler

      Sol Amari · Open

      Opens to 70 degrees, then stops on the boiler pipe. Rehang it to swing into the hall?

    3. Hall switch is behind the door

      Mara Reyes · Open

    Pins on a floor plan

  • Mara ReyesShed needs power by Friday. Who can price it?

    • Dana WhitfieldElectrician · on this job
    • Dara MossPlumber · gets invited to this job
    • Daniel HartClient · sees public comments only

    ↑↓ move Enter mention Esc close

    Mention autocomplete

  • Mara ReyesSite lead

    Start date moves to Monday 3 November. Scaffold goes up the Friday before, so keep the drive clear.

    Edited 2 times · last at
    1. · Mara Reyes

      Start date moves to Monday removed: 27 October added: 3 November. Scaffold goes up the Friday beforeadded: , so keep the drive clear.

    2. · Mara Reyes

      Start date removed: stays added: moves to Monday 27 October. added: Scaffold goes up the Friday before.

    3. Original ·

      Start date stays Monday 27 October.

    Edited comment with history