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

From the change wiki
 
(6 intermediate revisions by the same user not shown)
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 8: Line 8:




==Inline calculations (embedding on wikipages)==
==Calculations embedded on wikipages==




* 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).


===Tables===
* 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 {{x|should act basically the same as the popups of you currently get when clicking on datapoints - because the subpopup problem is already solved there}}. 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.
* 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 {{x|should act basically the same as the popups of you currently get when clicking on datapoints - because the subpopup problem is already solved there}}. 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.
 
** Implementation idea subpage: [[/Spreadsheets]]
 


==[https://olam.wiki/calc Common calculator]==
==[https://olam.wiki/calc Common calculator]==
Line 42: Line 42:


==See also==
==See also==
* [[Calculator/known bugs]]
* [[{{NAMESPACE}}:Calculator/Known bugs]]
* [[Expandables/feature requests]]
* [[{{NAMESPACE}}:Expandables/Feature requests]]

Latest revision as of 14:59, 17 October 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


Calculations embedded 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).

Tables

  • 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