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
Sam Nolan
8d391f789d
Keep props consistent
2022-05-10 16:16:36 +00:00