Git Product home page Git Product logo

Comments (3)

XenotropicDev avatar XenotropicDev commented on August 16, 2024

possibly related to XenotropicDev/TheOracle2#14

from theoracle.

rsek avatar rsek commented on August 16, 2024

could handle rerolling individual fields by having a dropdown menu for that (probably hidden behind a "..." button). there's a maximum of 25 fields in an embed and 25 options in a select menu. ditto deleting fields.

from theoracle.

rsek avatar rsek commented on August 16, 2024

otherwise, i'm strongly in favour of removing rolls that have reached maximum recommended rolls from the list for entities (or at least from the primary list - they could be accessible through other means), at least as far as oracles are concerned.

imo, recommended number of rolls per table is fairly important information (it's "top of the table, next to the title" stuff, not "footnote at the bottom" stuff)... so i reckon it's something that needs to be conveyed regardless. we could invent some other way to convey it (and force users to do the extra work of checking the limit and then counting existing results if they want to use the table as recommended), or we could convey it by removing it from the list of recommendations (e.g. the most obvious/readily available dropdown - implicitly a list of the recommended options) when it's no longer recommended.

on one of my branches i handle this by including the number of remaining rolls for a given oracle in the dropdown value string, decrementing it as part of the component interaction that makes the new roll, and removing it if it hits 0 (the same function can be used in building the embed/menu's initial output, too). -1 is used as a magic number to indicate "roll this as many times as you want", but there's probably other ways of handling that too.

from theoracle.

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.