Changeset 2520dcc in Klonkt for src/views/pages/admin-circle.ejs


Ignore:
Timestamp:
06/21/2026 04:57:54 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
e579a98
Parents:
d6bdbae
Message:

feat(cirkel): add site without typing https://

A bare domain (artiest.klonkt.com) is automatically prefixed with https://; a
typed http:// is upgraded to https:// (federation is intentionally https-only).
Field is now type=text (type=url blocked a bare domain before submission) with
inputmode=url + placeholder without a scheme.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-circle.ejs

    rd6bdbae r2520dcc  
    3333      <label class="set-field">
    3434        <span><%= t('acir.url') %></span>
    35         <input type="url" name="remote_url" placeholder="https://artiest.klonkt.com" required>
     35        <input type="text" name="remote_url" inputmode="url" autocapitalize="off" autocorrect="off" spellcheck="false" placeholder="artiest.klonkt.com" required>
    3636      </label>
    3737      <label class="set-field">
Note: See TracChangeset for help on using the changeset viewer.