Code Monkey home page Code Monkey logo

ezutils's People

Contributors

github-actions[bot] avatar timiz0r avatar

Watchers

 avatar

ezutils's Issues

Add LocalizedMenuAttribute

Currently working on method-based one, which is first step.

For attributes

  • Need to support extraction from attributes, probably just id; probably using a base class?
  • Probably also need to specify the required EZLocalization data, since we can't associate it any other way

Have a backup plan for if Azure Artifacts becomes unusable

I feel like the chances of this are >0

The backup plan is to...

  • Host some image and page on GitHub Pages
  • Render this image in the package manager
  • If something bad happens, update the image
  • Clicking on the image goes to the page with more details

Only real potential downside is how long do we keep up the alerty message. Since a fix almost certainly involves getting a new package manager, the package manager could refer to a different path with non-alerty images.

Allow multi-object repacks

This is to cover the scenario where a GameObject that is to be turned into a prefab has child gameobjects that also need to be turned into prefabs.

The UI probably populates a tree of the gameobjects, and the right side of that tree contains objectfields for inserting prefab assets.

Add analysis result suppression support

Particularly useful for warnings, which may not be causing issues in practice.
gotta think about where to store them, probably in an asset. and the structure.

Add bindable controls with content containers that add or remove uss classes

It's an increasingly common pattern to add a hidden field to get the binding, then, based on value changes, enable or disable a class. Plus reading the initial value with a delay. We should be able to wrap it up into a nice package.

If we can find a simple full-uxml way to do it with one control, do that. For bools it's obvious, but gotta think about other types. Hypothetically, we can perhaps test for iconvertible and convert to a bool, otherwise check for ref type and null check, or throw.

Or, or perhaps in addition, we can allow the code to decide more custom logic.

Once made, we should search far and wide for display: none controls and see if they are using this pattern, then convert them.

Compiler Error on Untiy 2022.3.6f1

Unity version : 2022.3.6f1
Installed package
VRChat SDK - Base : 3.5.0
VRChat SDK - Avatars : 3.5.0
EZUtils Common : 1.0.9
EZUtils Editor Enhancements : 1.1.3
EZUtils Localization Tools : 1.0.8
VRChat Package Resolver Tool : 0.1.27

Console message :

Packages\com.timiz0r.ezutils.common\UI\TypedObjectField.cs(12,18): error CS0534: 'TypedObjectField<T>' does not implement inherited abstract member 'CallbackEventHandler.SendEvent(EventBase, DispatchMode)'

Show both package display name and description (localization?)

Well, except we can't show displayName if the package isn't installed. Instead, enhance the description to include the display name and show that.

Then again, let's lump this under localization. There's obviously no way to localize a package.json, so let's go crazy and hard-ish code it into the package ui. If we do end up localizing, then that probably solidifies not deprecating it.

Add a CatalogDatabase to reduce the number of FileSystemWatchers

This type used to exist and cached CatalogReferences. It was removed because catalog references also contain synchronizers, and two catalog references with different synchronizers each are allowed. As such, it wouldn't be right to cache CatalogReferences.

This time around...

  • CatalogReference loses its CatalogLocaleSynchronizer and is only a pointer to a GetTextCatalog
  • EZLocalization owns its CatalogLocaleSynchronizer

I'm about to do a change to unify the wonky initialization requirements of CatalogLocaleSynchronizer and CatalogReference, and I may end up taking this up along the way.

Label indirect dependencies as such in package manager

If possible! It currently doesn't get as shown installed.

It does get shown in UPM window if enabling showing of dependencies, so there's hypothetically a good way.

Hypothetically speaking, we could try to query the lockfile.

Actually just looked it up, and there's a includeIndirectDependencies parameter we can pass woo

Deprecate EZUtils Package Manager

Azure Artifacts now appears to be fully UPM compatible, so there's no longer a reason to have our own package manager.

We'll probably mainly just purge it from documentation.

Perhaps we'll also try to simplify bootstrap scripts into a single pass and not two. If I recall, the main reason is that the bootstrap script itself requires the package, since we do Azure Artifacts API calls. With these no longer needed, we can hopefully remove that initial dependency. Still need a good method for adding the scoped registry, though.

We'll keep the package manager around for a while longer, just in case, including installing it as part of bootstrap.

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.