Commit Graph

28 Commits

Author SHA1 Message Date
Sam Nolan
6973f70e4c Add graph settings to playground 2022-07-11 11:22:21 +10:00
Sam Nolan
c4d2ad922a Respond to PR comments 2022-07-05 17:32:02 +10:00
Sam Nolan
69aa8a8cc1 Add controlled and uncontrolled versions of components 2022-06-27 07:07:09 +00:00
Sam Nolan
fc68a8d069 Remove observable boilerplate + refactors 2022-06-24 03:43:30 +00:00
Vyacheslav Matyukhin
588cf0cb27
fix SquigglePlayground in storybook 2022-06-17 22:25:36 +03: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
Sam Nolan
ed6eb54165 Move from styled-components to tailwind 2022-05-30 11:30:10 +10:00
Ozzie Gooen
afb7613bcc Added simple input component for SquigglePlayground 2022-05-26 18:39:06 -04:00
Ozzie Gooen
f5474030ec Added number function to SquiggleChart 2022-05-26 17:18:10 -04:00
Ozzie Gooen
b63136080b Formatting 2022-05-15 15:29:54 -04:00
Ozzie Gooen
b015c20fa4 Cached FunctionChart percentiles calculation 2022-05-15 14:39:50 -04:00
Sam Nolan
47b67a9efb Add Patrial storybook and update partial bindings async 2022-05-02 19:58:24 +00: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
Sam Nolan
60a345dd6d Implement mx for distributions 2022-04-12 17:39:38 +10:00
Sam Nolan
440bfabffa Run prettier on monorepo + fix crashing playground 2022-04-12 15:41:36 +10:00
Ozzie Gooen
b85c4f9a6b Separated out parts of SquiggleChart, and renamed files around 2022-04-07 13:26:47 -04:00
Ozzie Gooen
f63c775cb6 Simple implementation of function hover working 2022-04-07 09:53:45 -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
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
c6c96a3e24 Move Playground to components 2022-04-01 11:26:26 +11:00
Sam Nolan
41db968e99 Fix XSS issue with Squiggle Editor 2022-03-30 21:39:32 +11:00
Sam Nolan
15c9fbd13b Add prettier and format 2022-03-23 11:38:01 +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