PAT creation dialog should show ready-to-use clone URL with PAT embedded (SZ-149)
rk@tigase.net opened 21 hours ago

Problem The "How to use this token" section shows a generic example with placeholder text. It should show the actual ready-to-use clone URL with the generated PAT embedded, scoped to the project(s) the token was created for.

Expected

$ git clone http://<user>:<actual-token>@git.sztab.local/git/<project>.git
  • rk@tigase.net commented 13 hours ago

    In wolsonsc

  • rk@tigase.net changed state to 'In Progress' 13 hours ago
    Previous Value Current Value
    Open
    In Progress
  • rk@tigase.net commented 13 hours ago

    Show a ready to use git cane command with embedded PAT, except that it needs to have a placeholder for the project being clone - because this is not happening in the context of a project:

         //  src/components/account/tokens/TokenDisplay.tsx
        <pre className="code-example">
                     {`$ git clone http://${user?.username ?? 'your-username'}:${token}@git.sztab.local/git/<project>.git`}
        </pre>
    

    Screenshot 2026-04-21 at 8.54.59 PM.pngScreenshot 2026-04-21 at 8.54.59 PM

  • rk@tigase.net commented 13 hours ago
    rksuma@Ramakrishnans-MacBook-Pro sztab % git commit -m "SZ-149: Show ready-to-use clone URL with PAT embedded in token display"
    git push origin wolnosc
    [wolnosc 072ed2f] SZ-149: Show ready-to-use clone URL with PAT embedded in token display
     1 file changed, 1 insertion(+), 1 deletion(-)
    Enumerating objects: 15, done.
    Counting objects: 100% (15/15), done.
    Delta compression using up to 12 threads
    Compressing objects: 100% (8/8), done.
    Writing objects: 100% (8/8), 676 bytes | 676.00 KiB/s, done.
    Total 8 (delta 7), reused 0 (delta 0), pack-reused 0 (from 0)
    To https://tigase.dev/sztab.git
       a20d02b..072ed2f  wolnosc -> wolnosc
    rksuma@Ramakrishnans-MacBook-Pro sztab % 
    
    
  • rk@tigase.net changed state to 'Closed' 13 hours ago
    Previous Value Current Value
    In Progress
    Closed
issue 1 of 1
Type
Usuability
Priority
Minor
Assignee
Version
1.10.1
Sprints
n/a
Customer
n/a
Issue Votes (0)
Watchers (2)
Reference
SZ-149
Please wait...
Page is in error, reload to recover