Commit Graph

313 Commits

Author SHA1 Message Date
Sam Nolan
a542325f31 A simple showTypes prop 2022-05-02 15:59:37 +00:00
Sam Nolan
e8239bf049 Merge branch 'develop' into mobile-support 2022-05-02 15:37:39 +00:00
Sam Nolan
0bc016632f Mobile support 2022-05-02 15:36:20 +00:00
Sam Nolan
d6cec6886c Clean up the props, removing unused and making some optional 2022-04-30 18:40:18 +00:00
Sam Nolan
64fbe05f3a Basic stats table. Unformatted 2022-04-30 15:16:13 +00:00
Sam Nolan
99b9bc6b1e
Merge pull request #439 from quantified-uncertainty/remove-si-postfix
Remove si postfix from chart axis
2022-04-29 18:04:31 -04:00
Sam Nolan
3117dd81d6 Remove si prefix from chart axis 2022-04-29 21:16:22 +00:00
Sam Nolan
d09dbeb812 Format components code 2022-04-29 20:59:37 +00:00
Sam Nolan
2131e4eac1 Rename imports to jsImports in components 2022-04-29 20:58:06 +00:00
Sam Nolan
b710289096 Rename parameters to imports 2022-04-29 20:29:42 +00:00
Sam Nolan
39be07cac0 Add parameters to components interface 2022-04-29 19:02:43 +00:00
Sam Nolan
8f879b7168 Merge branch 'develop' into squiggle-editor-bindings 2022-04-29 13:51:31 +00:00
Sam Nolan
454ac0c252 Add bindings to Squiggle Editor 2022-04-29 13:50:57 +00:00
Quinn Dougherty
3e124cd91c fixed width stuff, playground, and fonts after antd factor-out
Value: [1e-3 to 2e-2]
2022-04-28 18:25:01 -04:00
Quinn Dougherty
fde75d4bc3 No antd and everything compiles
Value: [1e-3 to 3e-2]
2022-04-28 17:54:43 -04:00
Sam Nolan
00f862725c Add Dictionary Viewer and Recursive Array viewer 2022-04-28 18:59:15 +00:00
Sam Nolan
86e3d5865e Change components to return result rather than environment 2022-04-23 15:02:44 -04:00
Sam Nolan
9ea7d23489 Fix Squiggle components build 2022-04-21 19:07:24 -04:00
Ozzie Gooen
8a29205247 Refactored if statement into switch 2022-04-15 18:13:59 -04:00
Ozzie Gooen
012a1e4793 Added storybook stories for most SquiggleChart Types 2022-04-15 17:14:07 -04:00
Ozzie Gooen
3d10d8e6a5 Bug fix to get docs to show correctly 2022-04-15 14:51:08 -04:00
Ozzie Gooen
e7d5fb4ad8 Changing styles of Playground 2022-04-14 20:16:15 -04:00
Ozzie Gooen
478bbf5740 First attempt at handling arrays and records 2022-04-13 19:37:59 -04:00
Sam Nolan
60a345dd6d Implement mx for distributions 2022-04-12 17:39:38 +10:00
Sam Nolan
21458227ce Respond to reducer playground PR comments 2022-04-12 16:02:34 +10:00
Sam Nolan
440bfabffa Run prettier on monorepo + fix crashing playground 2022-04-12 15:41:36 +10:00
Sam Nolan
0d9e8c64c3 Merge branch 'staging' into reducer-playground 2022-04-11 16:21:51 +10:00
Sam Nolan
cb07f5f68a A playground based on reducer 2022-04-11 16:16:29 +10:00
Sam Nolan
79ac1700d1 Include a playground in the squiggle website 2022-04-11 09:14:39 +10:00
Ozzie Gooen
005d617dcf Changed size of discrete component points 2022-04-08 07:47:56 -04:00
Ozzie Gooen
b85c4f9a6b Separated out parts of SquiggleChart, and renamed files around 2022-04-07 13:26:47 -04:00
Ozzie Gooen
382733e6f3 Show errors in FunctionChart 2022-04-07 11:26:18 -04:00
Ozzie Gooen
f63c775cb6 Simple implementation of function hover working 2022-04-07 09:53:45 -04:00
Ozzie Gooen
624e788094 Cleaning axis of vega graphs 2022-04-07 07:56:17 -04:00
Ozzie Gooen
f8af290bcf Responded to code review comments 2022-04-07 07:28:33 -04:00
Ozzie Gooen
2d12e6b3ef Small padding increase to SquiggleEditor Input 2022-04-06 21:51:04 -04:00
Ozzie Gooen
7d086a9cde Added simple error component to SquiggleChart, when return is error 2022-04-06 21:37:08 -04:00
Ozzie Gooen
d5c183e7ee SquiggleChart accepts a height, and doesn't have a hover, because it was broken for mixed distributions 2022-04-06 20:46:22 -04:00
Ozzie Gooen
4d0a522e96 Moved NumberShower to its own Storybook, and slight cleanup to other code. 2022-04-06 17:51:24 -04:00
Sam Nolan
e1295e4f0f Fix PR comments:
- change the onChange handler to return onChange rather than onBlur
- Change the vega component to a checkbox
- Create new IDs + check whether it works with multiple editors
- Multiple line squiggle editors (noticed this was an issue)
- Remove ace imports that are not used
2022-04-06 11:18:18 +10:00
Sam Nolan
427c5d5615 Fix component PR comments
- use isFinite
- Refactor default props
- Fix height of single line
- Remove codejar dependency
2022-04-05 13:37:47 +10:00
Sam Nolan
097baadb04 Format and fix build error 2022-04-04 16:58:05 +10:00
Sam Nolan
de1c1d4e7e Fix build issues 2022-04-04 14:53:55 +10:00
Sam Nolan
9e472d57e9 Add style-loader and Playground to index 2022-04-02 20:36:33 +11:00
Sam Nolan
628c2ce914 Remove y-axis 2022-04-02 12:46:19 +11:00
Sam Nolan
1d735263ed Make width optional for text editor 2022-04-01 21:34:37 +11:00
Sam Nolan
423f1cbe98 Add width property 2022-04-01 17:29:37 +11:00
Sam Nolan
d18479e426 Fix performance regression by reducing settings
Fixes #112
2022-04-01 17:15:38 +11:00
Sam Nolan
59801f1f81 Remove sliders on graph for selects 2022-04-01 16:16:24 +11:00
Sam Nolan
4c1daab09f Add padding, remove undefined and fix CI 2022-04-01 13:16:06 +11:00
Sam Nolan
c6c96a3e24 Move Playground to components 2022-04-01 11:26:26 +11:00
Sam Nolan
9d189d489a Removes the action bubble from vega charts 2022-03-31 10:19:01 +11:00
Sam Nolan
41db968e99 Fix XSS issue with Squiggle Editor 2022-03-30 21:39:32 +11:00
Ozzie Gooen
2664ab68ed
Merge pull request #72 from QURIresearch/components-in-docs
Components in docs
2022-03-25 08:19:23 -04:00
Ozzie Gooen
4a62681209 Cleanup to documentation, changes to distribution colors 2022-03-25 08:13:56 -04:00
Sam Nolan
c4b6a8d097 Fix functions not rendering
Fixes #59
2022-03-25 15:35:32 +11:00
Sam Nolan
543dde9144 Reference lang source code directly from components 2022-03-25 10:27:17 +11:00
Sam Nolan
697bb85346 Extrapolate on the reason for ts-ignore 2022-03-23 11:51:04 +11:00
Sam Nolan
15c9fbd13b Add prettier and format 2022-03-23 11:38:01 +11:00
Sam Nolan
f122b5fd7f Add squiggle notebooks 2022-03-22 13:33:28 +11:00
Sam Nolan
73114c6a47 Allow settings to be edited by component users 2022-03-01 18:43:35 +11:00
Sam Nolan
46265ec884 Add documentation and improve components 2022-03-01 10:59:48 +11:00
Sam Nolan
212f53a940 Add storybook 2022-02-27 15:41:30 +11:00