Skip to content

feat: brighter ETSI buttons, copy-to-clipboard, ISO date picker#10

Merged
Taure merged 2 commits into
mainfrom
feat/etsi-buttons-copy-and-iso-date
Jun 25, 2026
Merged

feat: brighter ETSI buttons, copy-to-clipboard, ISO date picker#10
Taure merged 2 commits into
mainfrom
feat/etsi-buttons-copy-and-iso-date

Conversation

@Taure

@Taure Taure commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Polish on the ETSI viewer + history picker, from demo feedback.

  • Brighter format buttons — the per-message 103707 XML / 103120 XML buttons now use a solid accent border + fill (were dim ghost buttons that blended into the card).
  • Copy to clipboard — the XML panel gets a copy button that copies the pretty-printed XML via navigator.clipboard, with a brief "copied" confirmation. (Clipboard API needs a secure context — works on localhost.)
  • ISO date displaylang="sv-SE" on the history datetime-local input so Chrome renders yyyy-mm-dd instead of the en-US mm/dd/yyyy. The submitted value was already ISO; this only affects display.

Local checks: rebar3 fmt --check, xref, dialyzer, eunit (6/6) all clean.

Taure added 2 commits June 25, 2026 10:23
- Brighten the per-message 103707/103120 buttons (solid accent border +
  fill) so they stand out in the record card.
- Add a copy button to the XML panel that copies the pretty-printed XML
  to the clipboard (with a brief "copied" confirmation).
- Set lang="sv-SE" on the history datetime-local input so Chrome renders
  it as yyyy-mm-dd instead of the en-US mm/dd/yyyy.
- Split the copy-button binary across iolist elements so it respects the
  elvis line_length limit (was 239 chars on one line).
- Listener and history target inputs now submit on Enter, same as the
  button (data-on:keydown).
@Taure Taure merged commit c234ac1 into main Jun 25, 2026
2 checks passed
@Taure Taure deleted the feat/etsi-buttons-copy-and-iso-date branch June 25, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant