Commit Graph

326 Commits

Author SHA1 Message Date
Conor Barnes
87c6ff1c3d width substitute 2022-08-29 20:32:32 -03:00
Vyacheslav Matyukhin
a7bbfad94b
store location in values; render both result and bindings 2022-08-30 01:51:44 +04:00
Conor Barnes
496bd0e539 storybook for date distribution, grab missing things necessary for date distribution in spec 2022-08-29 18:01:07 -03:00
Conor Barnes
0292c66c80 combined distribution chart component 2022-08-29 17:27:13 -03:00
Conor Barnes
7c00897833 don't let rule-line intercept hover events 2022-08-29 16:00:51 -03:00
Conor Barnes
e88d93ac9e more stringent logic over visibility of rule-line and announcer 2022-08-29 15:28:31 -03:00
Vyacheslav Matyukhin
b7aa126e6a
output bindings when result is void 2022-08-28 21:45:15 +04:00
Vyacheslav Matyukhin
481483e937
rename and stringify enum tags 2022-08-28 21:33:16 +04:00
Vyacheslav Matyukhin
feeb9e85f1
fix typescript errors, basic playground features work 2022-08-28 00:02:13 +04:00
Vyacheslav Matyukhin
32cefb40da
TS & components (WIP) 2022-08-27 23:57:45 +04:00
Conor Barnes
754fc8531f combined distribution chart component 2022-08-24 21:45:46 -03:00
Conor Barnes
a9e43ee7cf bring back the stems 2022-08-24 21:13:50 -03:00
Conor Barnes
a99ee96f5c announce x-axis date properly 2022-08-24 20:56:22 -03:00
Conor Barnes
f8e5396d57 use domain to feed sample for bottom band 2022-08-24 15:26:47 -03:00
Conor Barnes
865b01f48d significant digits on hover value 2022-08-24 13:57:35 -03:00
Conor Barnes
10db239920 hover line 2022-08-23 12:04:35 -03:00
Conor Barnes
d0468f9ea3 sample points below 2022-08-23 11:05:02 -03:00
Conor Barnes
90ad0fdbdc announcer for hover values 2022-08-22 12:00:28 -03:00
Conor Barnes
376e272c08 add offset 2022-08-22 11:42:21 -03:00
Vyacheslav Matyukhin
bf02f69aca
legends, blues colors scheme, remove color setting 2022-08-19 21:14:08 +04:00
Vyacheslav Matyukhin
fc29a7211e
minor improvements 2022-08-19 15:17:41 +04:00
Vyacheslav Matyukhin
7866203ac4
reimplement parsePlot with yup 2022-08-19 15:17:31 +04:00
Vyacheslav Matyukhin
61051ffe5f
multiple plots story 2022-08-19 15:15:43 +04:00
Sam Nolan
70f26a08ba Fix multiple charting 2022-08-13 10:52:56 +01:00
Sam Nolan
c97d1d457e Remove unneccesary line 2022-08-11 14:22:55 +01:00
Sam Nolan
4aab78b45c Format code 2022-08-11 12:31:44 +01:00
Sam Nolan
ffb9e85d75 Merge branch 'develop' into multiple-charts 2022-08-11 12:29:08 +01:00
Sam Nolan
ba59047d31 Merge branch 'develop' into multiple-charts 2022-08-11 12:12:59 +01:00
Vyacheslav Matyukhin
482ceb76dc
check expression type in viewer to mitigate the void bug 2022-07-29 23:20:15 +04:00
Ozzie Gooen
a5adcdbeb6 Changed FunctionChart1Number to use regular count of operations, was slow for many functions 2022-07-28 17:32:25 -07:00
Ozzie Gooen
42528eb07e Merge branch 'develop' into documentation-refactors-jul
* develop:
  delete SquiggleItem
  hotfix: version increment
  copy share link button
  revert last commit
  changed import from local docusaurus component to `@quri/squiggle-components` component
  inherit props to `runPartial`
  absolute path for `bindingsImportsFile`
  `yarn format` compels me
  fix build
  trailing slash?
  @berekuk's CR
  lazy tabs (fixes #506)
  remove SquiggleItem, unused
  fix lint
  checking in editor.jsx file
  removed comment, cleaned up a function
  imported bindings
2022-07-28 16:00:13 -07:00
Ozzie Gooen
f7e6061f17
Merge pull request #897 from quantified-uncertainty/copy-share-link
"Copy share link" button
2022-07-28 12:18:10 -07:00
Vyacheslav Matyukhin
3d41d8a8d1
delete SquiggleItem 2022-07-28 23:03:13 +04:00
Quinn
b064e6bd7f
Merge pull request #893 from quantified-uncertainty/fix-chart-size
Fix chart sizes in tabs in docs
2022-07-28 12:56:30 -04:00
Quinn
ffa0f40fb1
Merge pull request #892 from quantified-uncertainty/mdx-cli
imported bindings
2022-07-28 12:55:35 -04:00
Vyacheslav Matyukhin
55ec328745
copy share link button 2022-07-28 20:24:09 +04:00
Quinn Dougherty
779fcf4fc6 inherit props to runPartial 2022-07-28 11:07:32 -04:00
Quinn Dougherty
7fc646f5b5 fix build 2022-07-28 10:43:27 -04:00
Quinn Dougherty
ff05685634 @berekuk's CR 2022-07-28 10:33:31 -04:00
Vyacheslav Matyukhin
5618ef3f34
remove SquiggleItem, unused 2022-07-28 18:14:20 +04:00
Ozzie Gooen
31626b05c4 Added a simple example 2022-07-27 22:09:43 -07:00
Quinn Dougherty
5f3dd12542 fix lint 2022-07-27 17:44:09 -04:00
Quinn Dougherty
a46f50dd0f removed comment, cleaned up a function 2022-07-27 17:40:21 -04:00
Quinn Dougherty
405c1bf8f3 imported bindings 2022-07-27 17:31:40 -04:00
Vyacheslav Matyukhin
ec4777bd61
don't spin pause icon on runs 2022-07-27 23:01:15 +04:00
Vyacheslav Matyukhin
b1e7164c7e
delayed overlay and autorun spinner 2022-07-27 22:37:46 +04:00
Vyacheslav Matyukhin
329bb9432e
playground renders code on second pass 2022-07-27 21:28:21 +04:00
Vyacheslav Matyukhin
eacc1adf1d
executionId for code re-runs 2022-07-27 13:03:23 +04:00
Vyacheslav Matyukhin
724fb4956d
Merge branch 'collapsible' into autorun-improvements 2022-07-27 13:02:38 +04:00
Vyacheslav Matyukhin
3bdc5c67a2
spinner in autorun mode; autorun refactorings 2022-07-27 12:12:03 +04:00
Vyacheslav Matyukhin
a599768638
increase modal width 2022-07-27 01:26:54 +04:00
Vyacheslav Matyukhin
d6cc3a419b
remove toggle animation 2022-07-26 23:00:20 +04:00
Vyacheslav Matyukhin
e3e9c76af2
smooth scrolling when scrolling back to item from modal 2022-07-26 21:56:12 +04:00
Vyacheslav Matyukhin
8be3f91d8e
improve tooltip positioning 2022-07-26 21:55:38 +04:00
Vyacheslav Matyukhin
2abb3968dd
fix tooltip padding on website 2022-07-26 20:47:42 +04:00
Vyacheslav Matyukhin
e76a4beb4d
close modals on escape key 2022-07-26 20:27:10 +04:00
Vyacheslav Matyukhin
fd36e9ef9e
change variable border color 2022-07-26 20:19:31 +04:00
Vyacheslav Matyukhin
b76e1df819
smart modal positioning 2022-07-26 20:17:36 +04:00
Vyacheslav Matyukhin
a11030814c
Merge branch 'develop' into collapsible 2022-07-24 02:26:46 +04:00
Ozzie Gooen
25c95170e6
Merge pull request #873 from quantified-uncertainty/homepage-changes
Docs improvements - July 23
2022-07-23 11:54:16 -07:00
Vyacheslav Matyukhin
b9dc7c7033
improve playground padding on the website 2022-07-23 21:14:12 +04:00
Vyacheslav Matyukhin
3eccd9afd1
filter out Math.* and System.* in viewer 2022-07-23 00:18:38 +04:00
Vyacheslav Matyukhin
43fed64f82
Merge branch 'develop' into collapsible 2022-07-22 23:59:50 +04:00
Vyacheslav Matyukhin
daf11ea121
remove DropdownMenu, it's not needed 2022-07-22 23:54:06 +04:00
Vyacheslav Matyukhin
9385146d56
some comments 2022-07-22 23:51:54 +04:00
Vyacheslav Matyukhin
d2fb973e1d
disableLogX flag in local settings 2022-07-22 23:32:39 +04:00
Vyacheslav Matyukhin
eefdfbb2fe
modal window for local settings 2022-07-22 23:24:49 +04:00
Ozzie Gooen
3250d6009a Updated colors and light styles of homepage 2022-07-22 11:50:56 -07:00
Ozzie Gooen
4055d1e93c
Merge pull request #865 from quantified-uncertainty/reducer-void
Reducer: void type
2022-07-20 16:46:48 -07:00
Vyacheslav Matyukhin
8f4259cef3
Merge branch 'develop' into collapsible 2022-07-20 23:22:16 +04:00
Vyacheslav Matyukhin
8d390c4433
local chart settings via dropdown menu 2022-07-20 23:16:34 +04:00
Ozzie Gooen
590ffac552 Minor component fix to show Void statements 2022-07-20 09:28:32 -07:00
Ozzie Gooen
ee244463fa Merged with develop 2022-07-18 22:27:59 -07:00
Ozzie Gooen
5891d23462
Merge pull request #845 from quantified-uncertainty/reducer-typecheck
Reducer typecheck
2022-07-18 22:25:40 -07:00
Ozzie Gooen
5aa2689832
Merge pull request #861 from quantified-uncertainty/error-message-function-fail
Print error messages when functions fail
2022-07-18 21:13:24 -07:00
Sam Nolan
03edf60663 Show x coordinate when drawing discrete distributions 2022-07-19 13:08:45 +10:00
Sam Nolan
938b20b4cd Print error messages when functions fail 2022-07-19 12:38:05 +10:00
Sam Nolan
b71823b4c5 Merge branch 'develop' into multiple-charts 2022-07-19 11:42:44 +10:00
Sam Nolan
7e33ea1fe7 Merge branch 'develop' into multiple-charts 2022-07-19 11:40:59 +10:00
Ozzie Gooen
30f721eeb6 Simple conversion away from using modules 2022-07-18 16:10:19 -07:00
Ozzie Gooen
8f742bf99f Quick fix for component 2022-07-18 08:47:02 -07:00
Sam Nolan
2f789e983a Fix #837 2022-07-16 13:29:18 +10:00
Sam Nolan
ad1d391f49 Rename plotting to plotParser 2022-07-14 16:36:12 +10:00
Ozzie Gooen
c1a351a704 Minor UI refactors 2022-07-13 13:55:35 -07:00
Sam Nolan
9cc000070b Refactor parsing to lib files 2022-07-13 15:54:45 +10:00
Sam Nolan
a5a131daf1 Remove console.log 2022-07-13 15:33:38 +10:00
Sam Nolan
0c7ac98aaf Color discrete components of distributions 2022-07-13 15:32:28 +10:00
Sam Nolan
b536637c98 Make parser of distributions stricter 2022-07-13 15:29:39 +10:00
Sam Nolan
98ae0459c9 Refactor specification to include discrete 2022-07-13 14:15:07 +10:00
Sam Nolan
9cbeee0451 Add multiple plotting 2022-07-12 17:09:24 +10:00
Sam Nolan
6973f70e4c Add graph settings to playground 2022-07-11 11:22:21 +10:00
Vyacheslav Matyukhin
12eb63c789
SquiggleViewer refactoring; persistent collapsed settings via context 2022-07-08 18:28:12 +04:00
Vyacheslav Matyukhin
3ca80daee8
remove showTypes setting 2022-07-08 17:13:26 +04:00
Vyacheslav Matyukhin
a4684ddf39
collapse on border click 2022-07-08 17:09:46 +04:00
Vyacheslav Matyukhin
c401f39520
remove collapse animation; tooltips with types 2022-07-08 16:58:34 +04:00
Vyacheslav Matyukhin
afbc1e1455
collapsible tree 2022-07-07 20:54:40 +04:00
Vyacheslav Matyukhin
8a2269b7d0
collapsible results (WIP) 2022-07-06 19:21:54 +04:00
Sam Nolan
ec721b83ce Merge branch 'develop' into more-graph-settings 2022-07-06 11:59:53 +10:00
Vyacheslav Matyukhin
cdfddf5888
animate autorun toggle 2022-07-06 02:07:18 +04:00
Vyacheslav Matyukhin
7d3366389b
extract run logic to a custom hook 2022-07-06 01:41:29 +04:00