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
Vyacheslav Matyukhin
87bb752c92
extract ui components from playground; show spinner on keyboard-initiated plays
2022-07-06 00:49:48 +04:00
Vyacheslav Matyukhin
4fe30107a4
submit editor on cmd+enter
2022-07-06 00:47:55 +04:00
Vyacheslav Matyukhin
9208330038
playground: manual play mode
2022-07-06 00:46:47 +04:00
Sam Nolan
2c2f299e46
Fix build error
2022-07-05 17:43:13 +10:00
Sam Nolan
04188a55f1
Merge branch 'develop' into more-graph-settings
2022-07-05 17:35:50 +10:00
Sam Nolan
c4d2ad922a
Respond to PR comments
2022-07-05 17:32:02 +10:00
Sam Nolan
f836afce7a
Merge branch 'develop' into observable-refactor
2022-06-27 07:08:00 +00:00
Sam Nolan
69aa8a8cc1
Add controlled and uncontrolled versions of components
2022-06-27 07:07:09 +00:00
Ozzie Gooen
0846a6fbd0
Show contents of modules, except for Math
2022-06-24 07:20:15 -07:00
Sam Nolan
0c66bb0579
Add more options for distribution charts
...
Changing title, color, tick format, and domain
2022-06-24 07:22:31 +00:00
Sam Nolan
fc68a8d069
Remove observable boilerplate + refactors
2022-06-24 03:43:30 +00:00
Ozzie Gooen
06d78048db
Merge pull request #753 from quantified-uncertainty/graph-settings
...
Add logX and expY props
2022-06-22 20:53:24 -07:00
Sam Nolan
3983fa8f0f
Add errors when log on graphs with negative domain
2022-06-23 03:21:24 +00:00
Sam Nolan
c42c646838
Add logX and expY as playground settings
2022-06-23 03:16:35 +00:00
Sam Nolan
f5db5afe09
Add logX and expY props
2022-06-23 03:08:44 +00:00
Recursing
126033b029
Prefix hash for potential future changes and transparency
2022-06-22 21:36:19 +02:00
Recursing
35a6a0c4e5
Save playground state in URL, for easy sharing
...
fix ssr
2022-06-22 01:48:27 +02:00
Quinn Dougherty
ddb373de8a
ran prettier from toplevel
2022-06-20 11:53:19 -04:00
Vyacheslav Matyukhin
0cd5a9547f
don't set playground height ( fixes #660 )
2022-06-18 22:49:52 +03:00
Vyacheslav Matyukhin
cf96d1b2d9
fix playground focus issue
2022-06-18 19:47:05 +03:00
Ozzie Gooen
60213d8321
Merged with develop
2022-06-17 16:01:30 -07:00
Ozzie Gooen
0bd407d3f4
Merge branch 'develop' into vscode
...
* develop:
fix SquigglePlayground in storybook
Ran formatter
Added scaleMultiply to docs
Added scaleMultiply
useSquiggle and useSquigglePartial hooks
v0.2.11
fix: Make lodash a dependency, rather than a dev dependency
Ran formatting
Normalize after trunctae
Ran formatter
Added descriptions to last API types
Fixed link that was breaking build
Small edits to guides section
More progress on DistGeneric
Ran format
Added key math variables, all lowercase
Removed the definitions tags in documentation
Minor cleanup on distributions
Lots of documentation tweaks
2022-06-17 15:57:36 -07:00
Ozzie Gooen
38a0e78873
Refactors to address CR
2022-06-17 15:47:37 -07:00
Ozzie Gooen
a563898a5f
Merge with develop
2022-06-17 12:45:42 -07:00
Vyacheslav Matyukhin
588cf0cb27
fix SquigglePlayground in storybook
2022-06-17 22:25:36 +03:00
Ozzie Gooen
342b5ba17b
Tiny css cleanup
2022-06-17 07:45:58 -07:00
Ozzie Gooen
8e7756fe35
Added Module type display and better error message if no type is found
2022-06-17 07:42:44 -07:00
Ozzie Gooen
f156840d65
Added toggle to optionally display code editor
2022-06-17 07:31:59 -07:00
Vyacheslav Matyukhin
618028d772
vscode extension
...
also:
- don't bundle react and react-dom with webpack
- controlled mode for SquigglePlayground
2022-06-17 00:37:20 +03:00
Vyacheslav Matyukhin
e8e8a06f7a
useSquiggle and useSquigglePartial hooks
2022-06-16 13:05:48 +03:00
Vyacheslav Matyukhin
2842965913
fix react-ace/tailwind css collision ( fixes #672 )
...
Also: fix preflight configuration
2022-06-14 11:57:28 +03:00
Vyacheslav Matyukhin
4d64f831b0
format main.css and prettierignore base.css
2022-06-10 00:46:38 +03:00
Vyacheslav Matyukhin
d812084614
scoped tailwind preflight, top-level .squiggle wrapper
2022-06-09 23:57:45 +03:00
Ozzie Gooen
d125664e57
Added stdev to table of stats, when needed
2022-06-06 12:25:09 -07:00
Vyacheslav Matyukhin
958c187e82
Various components cleanups
...
- coding style (let -> const, etc.)
- avoid double typing of component props, it's not necessary
- consistent non-default exports everywhere (except for
SquigglePlayground since I'm not 100% sure it's not used somewhere
else)
- extract common components in SquigglePlayground to avoid copy-paste
- other minor improvements
2022-06-04 23:38:16 +03:00
Ozzie Gooen
7f3cacae59
Merge pull request #622 from quantified-uncertainty/May-tailwind-refactor
2022-06-02 05:17:04 -07:00
Ozzie Gooen
793c42ce20
Merge pull request #599 from quantified-uncertainty/toPointSet-fn
2022-06-02 05:16:32 -07:00
Ozzie Gooen
4bad537a5d
Format
2022-06-01 21:44:46 -07:00
Ozzie Gooen
6aef52ef79
Added resultType for error message
2022-06-01 21:41:24 -07:00
Ozzie Gooen
800a832a06
Formatted, converted tab to component
2022-06-01 20:13:19 -07:00
Ozzie Gooen
88adccf2e7
Added max widths to settings pages
2022-06-01 20:04:50 -07:00
Ozzie Gooen
70eecde587
Refactored SquigglePlayground a bit
2022-06-01 19:42:03 -07:00
Ozzie Gooen
43643124e0
Refactored Alert, added more to Playground forms
2022-06-01 13:13:16 -07:00
Ozzie Gooen
6b7b3b049a
Minor tweaks
2022-05-31 16:01:13 -07:00
Ozzie Gooen
c453794e96
Simple styling for arrays
2022-05-31 14:14:55 -07:00
Ozzie Gooen
ddc8763f77
Minor styling to functions, strings, numbers
2022-05-30 20:33:47 -07:00
Ozzie Gooen
5e0dc6e4ed
Minor adjustments to code tabs
2022-05-30 16:40:32 -07:00
Ozzie Gooen
1213ca2bf0
Cleaning up Playground toolbar
2022-05-30 16:29:46 -07:00
Ozzie Gooen
d6bc942265
Added simple pill for code-settings toggle
2022-05-30 14:09:59 -07:00
Ozzie Gooen
6b80118e7e
Added lots of tailwind styling
2022-05-30 13:10:25 -07:00
Ozzie Gooen
afbc0199aa
Added tailwind/form
2022-05-30 06:40:03 -07:00
Sam Nolan
7f54bdce30
Fix typescript errors about children
2022-05-30 13:23:12 +10:00
Sam Nolan
ed6eb54165
Move from styled-components to tailwind
2022-05-30 11:30:10 +10:00
Ozzie Gooen
c2b90b7023
ToDiscretePointSet
2022-05-27 14:03:41 -04:00
Ozzie Gooen
d0102ae4f2
Changed graph axis to use .9-s format
2022-05-27 08:26:10 -04:00
Ozzie Gooen
b2c4f4f959
Merged with develop
2022-05-27 07:37:55 -04:00
Ozzie Gooen
4eac2f59be
Ran formatter
2022-05-27 07:32:03 -04:00
Ozzie Gooen
8482a51332
Minor fixes to get build to pass
2022-05-27 07:23:17 -04:00
Ozzie Gooen
afb7613bcc
Added simple input component for SquigglePlayground
2022-05-26 18:39:06 -04:00
Ozzie Gooen
7f6fe1a0aa
Minor component cleanup
2022-05-26 17:39:28 -04:00
Ozzie Gooen
30dc66db7c
Ran prettier
2022-05-26 17:21:17 -04:00
Ozzie Gooen
f5474030ec
Added number function to SquiggleChart
2022-05-26 17:18:10 -04:00
Ozzie Gooen
d38caff28f
Minor cleanup
2022-05-26 16:16:40 -04:00
Ozzie Gooen
f393cfda9f
Simple line chart for Functions
2022-05-26 14:41:58 -04:00
Ozzie Gooen
c9a54d4c14
First attempt at playground configurable toggles
2022-05-26 10:08:19 -04:00
Ozzie Gooen
554e50901e
Added VariableBox for functiona and function declaration
2022-05-26 08:30:37 -04:00
Ozzie Gooen
d630f7335d
Minor fixes
2022-05-26 08:23:43 -04:00
Ozzie Gooen
298d3923bc
Fixed bug caused by bad genType format of Declaration
2022-05-25 19:27:15 -04:00
Ozzie Gooen
3404534b10
Found some of the problem, will debug that next
2022-05-25 13:11:35 -04:00
Ozzie Gooen
5d8f07c1b4
Minor fixes
2022-05-25 10:55:03 -04:00
Ozzie Gooen
c5673fd1b1
Trying to add squigglechart types for declaration
2022-05-24 19:14:13 -04:00
Ozzie Gooen
533c97c41c
Added very simple lambdaDeclaration to React components
2022-05-24 17:23:37 -04:00
Ozzie Gooen
6af2e242f8
Simple better format for Duration toString
2022-05-22 22:11:28 -04:00
Ozzie Gooen
f1d2a1a12f
Added better Duration toString and Date makeWithYear functionality
2022-05-22 21:40:06 -04:00
Ozzie Gooen
364190dc7b
Simple dateTime integration
2022-05-22 18:37:07 -04:00
Ozzie Gooen
9ac99c781c
Responded to CR
2022-05-15 15:58:37 -04:00
Ozzie Gooen
b63136080b
Formatting
2022-05-15 15:29:54 -04:00
Ozzie Gooen
56728c7ea5
Removed unneeded code
2022-05-15 15:23:58 -04:00
Ozzie Gooen
91ccd333e0
Minor refactors
2022-05-15 15:21:00 -04:00
Ozzie Gooen
b015c20fa4
Cached FunctionChart percentiles calculation
2022-05-15 14:39:50 -04:00
Sam Nolan
d31619baa5
Merge pull request #524 from quantified-uncertainty/react-keys
...
Add react keys to remove warnings
2022-05-13 11:47:34 -04:00
Sam Nolan
006204f1ac
Add react keys to remove warnings
2022-05-13 15:40:52 +00:00
Sam Nolan
ae2ee48511
Memo the sampling of functions
2022-05-13 15:19:16 +00:00