Pirut: Edit -> Repositories mock-up -- Part 3.

Jeremy Katz katzj at redhat.com
Mon Aug 27 14:30:58 UTC 2007


On Sun, 2007-08-26 at 17:33 +0200, Tim Lauridsen wrote:
> Maybe add a protocol combo box to baseurl & mirror list to select
> 'http://','ftp://','file://','media://' etc. and only show the file
> dialog button if 'file://' is selected.

The problem is that this ends up making it so that you can't just cut
and paste URLs, etc.  I think it's far better off not to worry about the
corner case of wanting a file selector for file URLs.  Remember, this is
for *end users*.  End users aren't going off and creating repos with
createrepo locally; they're pointing at repos they find on the web.

> Hide the mirror list & gpg key entries if the mirrorlist & GPG Check
> checkboxes is unchecked.

Rather than hiding entries (and thus having dialogs changing size), it's
probably better to group the similar things together.  eg, (bad ascii
art alert :)

   [ ] GPG Check  [_____________]

And then you can just desensitize the text entry if the checkbox isn't
selected

> Maybe a radio button to select between baseurl or mirrorlist, it is
> not the common case to use both at the same time.

Yeah, this is probably the better idea for mirrorlist handling. 

> Maybe crete a Notebook with the basic stuff on one page and the
> advanced on another page.

Given that we're not talking about a lot of things (gpg key is the only
one right now afaik), an expander is probably better.  And really, with
just one, it may be better just to always show it.

Jeremy




More information about the fedora-devel-list mailing list