Addon Manager Redesign 2021

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Addon Manager Redesign 2021

Post by adrianinsaval »

That's clever, I like it, I confirmed that the user Mod folder has precedence by copying the built-in addon there and adding

Code: Select all

FreeCAD.Console.PrintWarning("addon manager loaded from user Mod folder")
to the addon manager command Activated() function.
rynn
Posts: 454
Joined: Tue Jul 31, 2018 7:00 am

Re: Addon Manager Redesign 2021

Post by rynn »

Timeout-Problem?

I have the problem that Addon-Manager stalls after about 50 % or so. At that time it has a lot of open connections to github (lb-140-82-121-4-fra.github.com and cdn-185-199-109-133.github.com).

Code: Select all

tcp       140.82.121.4:443        VERBUNDEN   192258/freecad      
tcp       140.82.121.4:443        VERBUNDEN   192258/freecad      
tcp       140.82.121.4:443        VERBUNDEN   192258/freecad      
tcp       185.199.109.133:443     VERBUNDEN   192258/freecad      
tcp       185.199.109.133:443     VERBUNDEN   192258/freecad      
tcp       140.82.121.5:443        VERBUNDEN   192258/freecad      
tcp       185.199.109.133:443     VERBUNDEN   192258/freecad      
tcp       185.199.109.133:443     VERBUNDEN   192258/freecad      
tcp       140.82.121.4:443        VERBUNDEN   192258/freecad      
tcp       185.199.109.133:443     VERBUNDEN   192258/freecad      
tcp       140.82.121.4:443        VERBUNDEN   192258/freecad      
tcp       140.82.121.4:443        VERBUNDEN   192258/freecad      
tcp       185.199.109.133:443     VERBUNDEN   192258/freecad      
tcp       104.248.36.231:443      VERBUNDEN   192258/freecad      
After some time this connections all vanish, but Addon-Manager still hangs.

As the status-line seems to by asynchron and there is no log (?) I have no idea what requests this are.
My assumption is, that this connections timeout and addon-manager can not handle this.

This may not be a problem in developed countries, but here in germany internet is not the best.
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Addon Manager Redesign 2021

Post by leoheck »

Hello there, I have some humble questions about the current version fo the Addon Manager.

1. Why this view has SO HUGE titles? It is bigger than anything on my computer, which means it is barely impossible to read.
2. Can we can a List with Columns? Maybe 2 Columns to start with (Title | Description) but maybe ( Checkbox | Title | Description ) would be nice since you can select multiples lines at once to perform the action Install/Remove/Upgrade
3. I have 3 Updates to do. Where do I check which files are, before doing the update? How do I select which one I want to update?
4. It looks like the Progress Bar never ends. It never reaches 100%. For me, it goes until on 3/5, I think.
5. Stop button at the end of the progress bar does not do anything.
Screenshot-20221003164835-825x804.png
Screenshot-20221003164835-825x804.png (121.81 KiB) Viewed 2817 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Addon Manager Redesign 2021

Post by Kunda1 »

leoheck wrote: Mon Oct 03, 2022 7:55 pm 4. It looks like the Progress Bar never ends. It never reaches 100%. For me, it goes until on 3/5, I think.
I think @chennes fixed this in git commit 9b4183581f6. I'm waiting for the snap edge to finish to test this fix
(https://github.com/FreeCAD/FreeCAD-snap ... 3176650717)

Edit: fix wrong reference
Edit2: I reported this earlier in https://forum.freecadweb.org/viewtopic.php?f=8&t=72310
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Addon Manager Redesign 2021

Post by leoheck »

Oh, nice. Thanks.
User avatar
chennes
Veteran
Posts: 3878
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

leoheck wrote: Mon Oct 03, 2022 7:55 pm 1. Why this view has SO HUGE titles? It is bigger than anything on my computer, which means it is barely impossible to read.
2. Can we can a List with Columns? Maybe 2 Columns to start with (Title | Description) but maybe ( Checkbox | Title | Description ) would be nice since you can select multiples lines at once to perform the action Install/Remove/Upgrade
Did you have a look at "Compact Mode"? It's the first button in the upper left corner, and may be more to your liking. The larger lines make more sense if you decide to download the Macros, so that the icons all get populated and you get the descriptive text.
3. I have 3 Updates to do. Where do I check which files are, before doing the update? How do I select which one I want to update?
The easiest way is to change the "Status" dropdown to "Update available". Then you can update one at a time by clicking on them, or do all updates with the Update All button.
4. It looks like the Progress Bar never ends. It never reaches 100%. For me, it goes until on 3/5, I think.
This should be resolved now, but if it's not please let me know.
5. Stop button at the end of the progress bar does not do anything.
I'll look into it, thanks for the report.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Addon Manager Redesign 2021

Post by leoheck »

Compact mode, sure, the one I use. And this is messed up too. To busy. Completely hard to read. Having columns could also improve this one a bit.

But those HUGE words are bigger than anything inside the computer. They are bigger than the words in the outdoors I can se from my window. This should be fixed. This is a huge bug.

Fonts should have a similar size other wise they cannot be seen even if they are big.

At my work, the number of the building is the size of a Human Being In the ground level, close to the door. There is not a single driver that finds it because people are looking for building numbers with the size of 1/4 of a standard A4 paper, at most.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Addon Manager Redesign 2021

Post by Kunda1 »

I just want to take a moment and thank all the work @chennes is doing on this beast of a task! Amazing contribution to improving FreeCAD UI/UX!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Addon Manager Redesign 2021

Post by onekk »

Kunda1 wrote: Wed Oct 05, 2022 11:23 am I just want to take a moment and thank all the work @chennes is doing on this beast of a task! Amazing contribution to improving FreeCAD UI/UX!
@chennes is working hard on AddOn Manager and also in some other UI/UX tasks, he deserve many thanks, (Sorry I can't be in Brussels to pay you a beer or two :D).

Doing thing not so easy as criticize ;).

Many Thanks @chennes.

Kind Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Addon Manager Redesign 2021

Post by easyw-fc »

onekk wrote: Wed Oct 05, 2022 4:03 pm Doing thing not so easy as criticize ;).

Many Thanks @chennes
+1 :D
Post Reply