Code Monkey home page Code Monkey logo

Comments (3)

schroef avatar schroef commented on August 27, 2024

Ideally it should show all the items, didnt knew how to do that though as that setup gave a Tuple error.

from blender-addon-updater.

TheDuckCow avatar TheDuckCow commented on August 27, 2024

Yup, your last approach is an appropriate way to get days in that tooltip (for days at least). One thing to know is that when an operator registers, it only evaluates that description at the moment of registration (ie even if you showed the user preferences options to change the interval, the text wouldn't be updated as the user changed it).

For this reason, I'll not update the master repository because updating the text this way would conflict with the primary UI which does have the interval options. I am actually going to recommend developers using the updater to simply directly modify the property text explicitly by putting in the interval of weeks/days, as I have done here. It's a little hard to fully accommodate all possible setups of the updater, so I'd rather let the individual developer do the minor relevant modifications, rather than trying to incorporate a lot fo extra code to work around these sorts of things.

As a reminder, the addon_updater.py file should never need to be modified, but the addon_updater_ops.py should be modified as needed, with this condensed UI as just an example of what's possible.

Going to keep this issue open so that others can see how you coded the example, thanks for putting it together.

from blender-addon-updater.

schroef avatar schroef commented on August 27, 2024

oke, i understand. Its a bit of an hack indeed. I will keep i guess for the users of this addon

from blender-addon-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.