Replies: 3 comments 4 replies
-
yeah it was a quick thing, you are right this needs love eventually we could use a real flutter table for this? I don't have much experience in using them but I can look how @jpnurmi did it in the installer |
Beta Was this translation helpful? Give feedback.
-
Pasting here @local-optimum's issue, so it doesn't get lost: Before considering the below @anasereijo it would be good to work with Elio around the relationship between Software & Updates and this screen, whilst we may ultimately want to consolidate some of the features of that app into the Ubuntu Software store, it may be preferable in the meantime to have the Sources link actually simply open the correct tab on Software & Updates rather than replicate it (with my below feedback then being saved for a future release)
compared to: For consistency we should also right align the checkboxes.
|
Beta Was this translation helpful? Give feedback.
-
Problem is packagekit only throws out /// An event from the backend to describe a repository on the system.
class PackageKitRepositoryDetailEvent extends PackageKitEvent {
/// The ID of the repository.
final String repoId;
/// A description of the repository.
final String description;
/// True if the repository is enabled an in use.
final bool enabled; so if we want the url we could play with regex ListTile(
title: Builder(
builder: (context) {
RegExp exp = RegExp(
r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+',
);
Iterable<RegExpMatch> matches =
exp.allMatches(e.repoId);
String url = '';
for (var match in matches) {
url = e.repoId.substring(match.start, match.end);
}
return Text(
url,
);
},
),
subtitle: Text(e.description),
) but I don't know how to get the other infos. CC @d-loose |
Beta Was this translation helpful? Give feedback.
-
The current sources list looks very cluttered. I know this is a very low priority, but I just wanted to share a suggestion☺️
Current:
When looking at how this currently works in Software & Updates, I think we can cleanup the very long string. Because of issue https://github.com/ubuntu-flutter-community/software/issues/841 I've added a trash can, but maybe adding the three dots icon (kebab) would be better if we want to add more options like this dialog.
Mockup:
Beta Was this translation helpful? Give feedback.
All reactions