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
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

TheMarkster wrote: Fri Jan 07, 2022 5:46 am If an addon creates parameters these should also be removed during uninstallation or at least give the user the option to remove them.
Excellent idea, I will add it to my to-do list.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Addon Manager Redesign 2021

Post by herbk »

Hi chennes,

i don't know which version of the AddonManager is includet at the AppImage atm, but the layout of the UI of it, at AppImage 0.20_26720, is just laborious...

The old layout of the UI shows two windows, one with the list of the possible WBs an one which shows details of a WB if i click at it.
At the new design i miss this secound window with informations...
To get a info to a WB i have to click it, the contend changes, i see thats an outdated WB, click again to go back to the list.

In my mind that's a step away from a usefull design...
Gruß Herbert
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

herbk wrote: Fri Jan 07, 2022 2:42 pm i see thats an outdated WB
What specific piece of information are you looking for in the list view? The expanded view has some more room to work with.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Addon Manager Redesign 2021

Post by herbk »

chennes wrote: Fri Jan 07, 2022 2:56 pm What specific piece of information are you looking for in the list view?
The infos which er at the right side of th old UI...
Addon_Manager_old.png
Addon_Manager_old.png (162.08 KiB) Viewed 3305 times
Addon_Manager_new.png
Addon_Manager_new.png (89.99 KiB) Viewed 3305 times
Gruß Herbert
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

I think that much of that information will be incorporated into the list view as Addon authors begin to add package.xml metadata information to their Addons -- then you'll be down to zero clicks, particularly in expanded view. You can get a better sense of that by looking at the macros listing (in recent builds... this won't be in the version you have yet):
Screenshot from 2022-01-07 10-46-04.png
Screenshot from 2022-01-07 10-46-04.png (222.2 KiB) Viewed 3279 times
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Addon Manager Redesign 2021

Post by onekk »

Impressive works, many thanks.

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
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

The next major feature addition is in PR form: dependency installation. For details and discussion of the PR please see here.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Addon Manager Redesign 2021

Post by Kunda1 »

This is just mindblowing work. Thank you so much chennes!!!
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
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

I've now merged in PR 5376, so Python dependencies can now (optionally!!) be installed by the Addon Manager, if the Addon author has included them in either a requirements.txt or metadata.txt file. I'll update the wiki documentation to include details on those files shortly. Note that these are installed in a custom FreeCAD Python packages directory and will not affect the rest of your system's Python installation. You are also welcome to hit the "ignore" button on the installation dialog and install them yourself using either pip or your system's package manager.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

The next feature addition is support for authenticated proxies: this is a difficult one for me to test, however, since I am not behind one! If anyone has time to check it out, it's at https://github.com/FreeCAD/FreeCAD/pull/5412
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply