the change wiki:Calculator/Feature requests: Difference between revisions

From the change wiki
No edit summary
Line 1: Line 1:
Non-logged-in users can also make feature requests in [[Talk:Calculator]].
Non-logged-in users can also make feature requests in the {{talk}} page.


==General==
==General==
Line 11: Line 11:




* Green sections on pages need some kinda notice like "click a part of the equation for more details" (whenever there are 1 or more datapoints in the equation). Wiki writers shouldn't have to manually say it every time.
* Ability to split calculations onto multiple lines, for better readability.




* The 'from previous calculation' box could really benefit from having the numerical value in it (preferrably in the 'units wanted' of the previous calculation. Is this easy to implement?
* Green sections on pages would benefit from having some kinda notice like "click a part of the equation for more details" (whenever there are 1 or more datapoints in the equation). Wiki writers shouldn't have to manually say it every time.




* Better graceful failure when javascript isn't available. The green section should say something about needing a browser that has javascript. Instead, it currently just shows a half-baked calculation, in a way that would confuse most readers.
* The 'from previous calculation' box could really benefit from having the numerical value in it (preferrably in the 'units wanted' of the previous calculation. Is this easy to implement?




* Better graceful failure when datapoints aren't available. Just give some notice - maybe keep the equation the way it is, but put the result as 'unknown - missing data points' and put the missing datapoints as red links which show a box "data unavailable - research is unfinished" (or if that takes to long, then at least just have the datapoints as red text).
* Better error handling: Currently, syntax errors will bleed into the next calculations and produce messages that don't even make sense.
** Better graceful failure when datapoints aren't available. Just give some notice - maybe keep the equation the way it is, but put the result as 'unknown - missing data points' and put the missing datapoints as red links which show a box "data unavailable - research is unfinished" (or if that takes to long, then at least just have the datapoints as red text).





Revision as of 02:05, 4 April 2023

Non-logged-in users can also make feature requests in the page.

General

  • Have a margin of error for each datapoint, so you can combine all your high and low estimates into one calculation.
    • Maybe it could even generate a popup with a distribution curve (idk maybe that's too complicated to implement).
    • Ranges are supported by Frink, but not GNU Units. The calculator is currently powered by GNU Units. Switching to Frink might come with a lot of complications


Inline calculations (embedding on wikipages)

  • Ability to split calculations onto multiple lines, for better readability.


  • Green sections on pages would benefit from having some kinda notice like "click a part of the equation for more details" (whenever there are 1 or more datapoints in the equation). Wiki writers shouldn't have to manually say it every time.


  • The 'from previous calculation' box could really benefit from having the numerical value in it (preferrably in the 'units wanted' of the previous calculation. Is this easy to implement?


  • Better error handling: Currently, syntax errors will bleed into the next calculations and produce messages that don't even make sense.
    • Better graceful failure when datapoints aren't available. Just give some notice - maybe keep the equation the way it is, but put the result as 'unknown - missing data points' and put the missing datapoints as red links which show a box "data unavailable - research is unfinished" (or if that takes to long, then at least just have the datapoints as red text).


  • Alternative 'span'-type calculations that can fit inside tables. Should show just the result, but as a link that shows a popup with the equation . Ideally, this should load last, so you can have your summary table at the top of the page, one that depends on calculations below it.


Common calculator

  • Need a "copy wikitext" button beside each datapoint


  • Maybe the user interface should have a right arrow (forward) instead of "Link", and a left arrow (back) instead of "Do another calculation".


  • Maybe have some easy way to pull datapoints from wiki pages
    • box to paste wikitext into?
    • or some automatic thing when you publish a page? in which case, how would it handle multiple datapoints of the same name? too complicated; do the first option instead


See also