Commit Graph

85 Commits

Author SHA1 Message Date
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