Coder Social home page Coder Social logo

Comments (3)

happy-cujo avatar happy-cujo commented on September 27, 2024 1

Just adding my 2 cents.

HUD is lacking some basic functionalities that allow us to customize (main) categories, like removing/hiding or reordering them.

A structure of the HUD and it's categories (including subcategories) should be editable from configuration page. In the scope of what could be configured I have a list:

  • The main category is only a placeholder for subcategories.
  • A subcategory can define what type of data it stores (items/attributes/skills/features/conditions/effects) and then it should allow further filtering based on defined type. Example: "items" subcategory allows you to include "weapons", "features", "spells", and so on. Each of those option you can check/uncheck. For each option you can set up additional filtering (something that renders a form similar to the one from item details tab of given item type). In this form you can define that attributes given item should have in order to show up.
  • All of the subcategories should allow whitelisting/blacklisting it's items by name.
  • Each of the subcategories should have toggle to hide/show for players or/and permission check (example: only trusted players can see and use category with effects/conditions)
  • Allowing more options in filtering can result in heavy operations, so some kind of more advanced cache needs to be added (like listening on add/remove/update events for given document to add or remove it from token/actor cache).
  • It could be beneficial to have such configurations stored per token/actor type (or linked/unlinked token). A NPC token doesn't need to show the same categories as a player's token does. For NPC single category "Actions" that contain "Items", "Spells", "Features" subcategories is more that enough. Players have wider range of options to chose from so splitting them on root level makes more sense.
  • Allow categories/subcategories reordering (could be a part of first element of this list).
  • Player itself can hide/show defined categories, but there is no need to give him access to add new or modify existing.

from fvtt-tokenactionhud.

apoapostolov avatar apoapostolov commented on September 27, 2024

If the system data is a pair file of a functions JS with a JSON configuration file with name, metadata and query for each category, this would allow power users to do anything, from renaming categories in the config file to editing the queries themselves, and adding new categories with ease.

from fvtt-tokenactionhud.

Larkinabout avatar Larkinabout commented on September 27, 2024

Resolved for D&D 5e with Token Action HUD D&D 5e. Development of this nature will now continue with Token Action HUD Core.

from fvtt-tokenactionhud.

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.