Thread of 3 posts

we should make it so that if you sign up for a service and someone else uses your password, it shows you who so you can be aware and change your password as so to have a completely unique password

Open thread at this post
Long, codeblock Toggle visibility

here's the blueprint code for it

using Gtk 4.0;
using Adw 1;

Adw.ApplicationWindow {
  height-request: 360;
  width-request: 360;
  default-height: 500;
  default-width: 360;
  title: "Skapa ett konto";

  content: Adw.ToolbarView {
    [top]
    Adw.HeaderBar {
      show-title: false;
    }
    
    content: ScrolledWindow {
      Adw.Clamp {
        margin-top: 12;
        margin-bottom: 12;
        margin-start: 12;
        margin-end: 12;
        
        Box {
          orientation: vertical;
          hexpand: true;
          spacing: 12;
          
          Label {
            label: "Skapa Ett Konto";
            margin-bottom: 36;
            
            styles [
              "title-1"
            ]
          }
          
          Adw.PreferencesGroup {
            Adw.EntryRow {
              title: "Namn";
              text: "Glad Skøldis!";
            }
            
            Adw.EntryRow {
              title: "Användarnamn";
              text: "gladpadda";
              
              [suffix]
              Image {
                margin-end: 9;
                margin-start: 6;
                icon-name: "checkmark-large-symbolic";
                
                styles [
                  "success"
                ]
              }
            }
            
            Adw.EntryRow {
              title: "E-post";
              text: "gladpadda@turtle.garden";
              
              [suffix]
              Image {
                margin-end: 9;
                margin-start: 6;
                icon-name: "checkmark-large-symbolic";
                
                styles [
                  "success"
                ]
              }
            }
            
            Adw.PasswordEntryRow {
              title: "Lösenord";
              text: "amougussus38";
              
              styles [ 
                "error"
              ]
            }
            
            Adw.PasswordEntryRow {
              title: "Repetera lösenord";
              text: "amougussus38";
              
              [suffix]
              Image {
                margin-end: 9;
                margin-start: 6;
                icon-name: "checkmark-large-symbolic";
                
                styles [
                  "success"
                ]
              }
            }
          }
          
          Label {
            label: "Ditt lösenord används redan av ledsenpadda. Var god välja ett annat lösenord.";
            wrap: true;
            
            styles [
              "error"
            ]
          }
          
          Button {
            label: "Skapa Konto";
            sensitive: false;
            hexpand: false;
            halign: center;
            
            styles [
              "pill",
              "suggested-action"
            ]
          }
        }
      }
    };
  };
}
Open thread at this post