Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Suggestions to Improve UX (url validation, error handling) #10

@sanzoghenzo

Description

@sanzoghenzo

Hi, I finally solved my problems with NixOS (needed to add also openssh and bash to the packages exposed to silverbullet), and based on my experience I would suggest a few things:

  • the "Github: Clone" command asks for the url of the repository, and only accepts the https://github.com/org/repo format. it should check if the user already added the ".git" suffix (fairly common if you use the "Clone" button to copy the url) and/or if the url doesn't start for "https://github.com" (I took for granted that I could just use "org/repo" since the command is for github only)
  • if there is an error, it doesn't output any message, so you have to check the logs to find out if everything works
  • if the repository is empty, the sync don't work (at least it didn't for me); the log says
    Your branch is based on 'origin/main', but the upstream is gone.
    (use "git branch --unset-upstream" to fixup)
    
  • if I push things on the main branch from another computer, at the next sync I get the "divergent branches" error, as one would expect if you commit things before pulling the updated

Is it just me that I'm using the plug in all the wrong ways possible? 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions