Commit Graph

273 Commits

Author SHA1 Message Date
Ozzie Gooen
9096ee7051 More small modifications 2022-07-29 08:07:11 -07:00
Ozzie Gooen
a23b2e3709 Minor text fix 2022-07-28 18:12:25 -07:00
Ozzie Gooen
b37e372815 Formatted 2022-07-28 17:00:06 -07:00
Ozzie Gooen
f7834b0f46 Lots of minor touch-ups 2022-07-28 16:59:52 -07:00
Ozzie Gooen
42528eb07e Merge branch 'develop' into documentation-refactors-jul
* develop:
  delete SquiggleItem
  hotfix: version increment
  copy share link button
  revert last commit
  changed import from local docusaurus component to `@quri/squiggle-components` component
  inherit props to `runPartial`
  absolute path for `bindingsImportsFile`
  `yarn format` compels me
  fix build
  trailing slash?
  @berekuk's CR
  lazy tabs (fixes #506)
  remove SquiggleItem, unused
  fix lint
  checking in editor.jsx file
  removed comment, cleaned up a function
  imported bindings
2022-07-28 16:00:13 -07:00
Ozzie Gooen
f7e6061f17
Merge pull request #897 from quantified-uncertainty/copy-share-link
"Copy share link" button
2022-07-28 12:18:10 -07:00
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
3f6e1b2caf revert last commit 2022-07-28 11:26:22 -04:00
Quinn Dougherty
91246ffad3 changed import from local docusaurus component to @quri/squiggle-components component 2022-07-28 11:17:14 -04:00
Quinn Dougherty
c77795c832 absolute path for bindingsImportsFile 2022-07-28 10:57:58 -04:00
Quinn Dougherty
a536f1f4e1 trailing slash? 2022-07-28 10:37:00 -04:00
Quinn Dougherty
ff05685634 @berekuk's CR 2022-07-28 10:33:31 -04:00
Vyacheslav Matyukhin
e1f178d0ae
lazy tabs (fixes #506) 2022-07-28 18:16:31 +04:00
Ozzie Gooen
31626b05c4 Added a simple example 2022-07-27 22:09:43 -07:00
Ozzie Gooen
327dc521f1 Modifiying Overview page and Guides 2022-07-27 21:08:10 -07:00
Ozzie Gooen
b1cc459d13 Merge branch 'develop' into documentation-refactors-jul
* develop: (35 commits)
  don't spin pause icon on runs
  delayed overlay and autorun spinner
  playground renders code on second pass
  executionId for code re-runs
  spinner in autorun mode; autorun refactorings
  increase modal width
  remove toggle animation
  hideOnScoll navbar on website
  smooth scrolling when scrolling back to item from modal
  improve tooltip positioning
  fix tooltip padding on website
  close modals on escape key
  change variable border color
  smart modal positioning
  fixes #872
  ⬆️ Bump @typescript-eslint/parser from 5.30.6 to 5.30.7
  ⬆️ Bump @types/node from 18.0.6 to 18.6.1
  ⬆️ Bump mathjs from 10.6.4 to 11.0.1
  ⬆️ Bump webpack from 5.73.0 to 5.74.0
  ⬆️ Bump @testing-library/user-event from 14.2.6 to 14.3.0
  ...
2022-07-27 16:54:50 -07:00
Ozzie Gooen
3f8b99aa3a Improving Overview 2022-07-27 16:54:25 -07:00
Quinn Dougherty
2279624750 checking in editor.jsx file 2022-07-27 17:42:46 -04:00
Quinn Dougherty
405c1bf8f3 imported bindings 2022-07-27 17:31:40 -04:00
Vyacheslav Matyukhin
8fbf5decf8
hideOnScoll navbar on website 2022-07-26 21:58:03 +04:00
Ozzie Gooen
68238ba914 Added new logo 2022-07-24 16:37:24 -07: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
Ozzie Gooen
8414cde819 Ran formatting 2022-07-23 11:41:12 -07:00
Vyacheslav Matyukhin
dd778dab76
show spinner immediately 2022-07-23 22:17:04 +04:00
Ozzie Gooen
ff1f8e8e84 Several small documentation improvements 2022-07-23 11:06:15 -07:00
Vyacheslav Matyukhin
111b4975ee
prettify 2022-07-23 22:03:50 +04:00
Vyacheslav Matyukhin
ce31dc62c2
more precise FallbackSpinner height for SquiggleEditor 2022-07-23 21:56:28 +04:00
Vyacheslav Matyukhin
0ad09c96aa
fallback spinner for the website 2022-07-23 21:44:08 +04:00
Vyacheslav Matyukhin
b9dc7c7033
improve playground padding on the website 2022-07-23 21:14:12 +04:00
Ozzie Gooen
349b99b3ef Minor docs cleanup 2022-07-22 15:31:05 -07:00
Vyacheslav Matyukhin
c7bf40e3e8
remove showControls from website code and vscode ext 2022-07-23 00:03:55 +04:00
Vyacheslav Matyukhin
43fed64f82
Merge branch 'develop' into collapsible 2022-07-22 23:59:50 +04:00
Ozzie Gooen
3250d6009a Updated colors and light styles of homepage 2022-07-22 11:50:56 -07:00
Ozzie Gooen
0ef01da963
Update DistGeneric.mdx 2022-07-21 15:44:46 -07:00
Ozzie Gooen
5c78ad1fc4
Update DistSampleSet.md 2022-07-21 15:36:56 -07:00
Ozzie Gooen
57782aa2a6
Update DistSampleSet.md 2022-07-21 14:59:36 -07:00
Ozzie Gooen
0a806b4fe2 Website lint 2022-07-21 11:41:32 -07:00
Ozzie Gooen
47f1be0702 Story cleanup 2022-07-21 11:29:59 -07:00
Vyacheslav Matyukhin
8f4259cef3
Merge branch 'develop' into collapsible 2022-07-20 23:22:16 +04:00
Ozzie Gooen
90d3f89c0a Trying to fix things, but breaking a lot of tests. 2022-07-19 21:32:11 -07:00
Ozzie Gooen
35cd9f37d1 Basic changes to API 2022-07-19 20:52:08 -07:00
Ozzie Gooen
100ec2c1a8 Adjusting documentation to reflect new functions 2022-07-19 16:18:28 -07:00
dependabot[bot]
9a3c569290
⬆️ Bump @docusaurus/preset-classic
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.22 to 2.0.0-rc.1.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-rc.1/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 15:48:58 +00:00
dependabot[bot]
715000daf1
⬆️ Bump @docusaurus/core from 2.0.0-beta.22 to 2.0.0-rc.1
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.22 to 2.0.0-rc.1.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-rc.1/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 14:35:08 +00:00
dependabot[bot]
2e5ec355d6
⬆️ Bump @docusaurus/preset-classic
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.21 to 2.0.0-beta.22.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.22/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 17:35:37 +00:00
dependabot[bot]
604953a346
Merge pull request #815 from quantified-uncertainty/dependabot/npm_and_yarn/clsx-1.2.1 2022-07-11 17:33:42 +00:00
dependabot[bot]
d87e5062c2
⬆️ Bump clsx from 1.2.0 to 1.2.1
Bumps [clsx](https://github.com/lukeed/clsx) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/lukeed/clsx/releases)
- [Commits](https://github.com/lukeed/clsx/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: clsx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 17:26:24 +00:00
dependabot[bot]
5e4f99f5a1
⬆️ Bump @docusaurus/core from 2.0.0-beta.21 to 2.0.0-beta.22
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.21 to 2.0.0-beta.22.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.22/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 17:00:08 +00:00
Vyacheslav Matyukhin
3ca80daee8
remove showTypes setting 2022-07-08 17:13:26 +04:00
Vyacheslav Matyukhin
7746b5673d
hotfix: hash links in playground 2022-07-06 19:34:39 +04:00
Ozzie Gooen
b425743484
Merge pull request #785 from quantified-uncertainty/beta-from-mean-stdev
`beta({mean: 0.39, stdev: 0.1})` #497
2022-07-05 21:02:38 -04:00
Sam Nolan
d46d524859
Merge pull request #759 from quantified-uncertainty/observable-refactor
Remove observable boilerplate + refactors
2022-07-06 07:36:28 +10:00
dependabot[bot]
c065510413
⬆️ Bump clsx from 1.1.1 to 1.2.0
Bumps [clsx](https://github.com/lukeed/clsx) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/lukeed/clsx/releases)
- [Commits](https://github.com/lukeed/clsx/compare/v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: clsx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 14:44:40 +00:00
dependabot[bot]
0eb2268875
⬆️ Bump prism-react-renderer from 1.3.3 to 1.3.5
Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.3.3 to 1.3.5.
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/v1.3.3...v1.3.5)

---
updated-dependencies:
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 14:33:51 +00:00
Quinn Dougherty
5b41019c04 hotfix: relative path 2022-06-30 14:38:59 -04:00
Quinn Dougherty
e0289ed23f documented addition to beta api 2022-06-30 12:29:09 -04: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
Recursing
126033b029 Prefix hash for potential future changes and transparency 2022-06-22 21:36:19 +02:00
Recursing
24cc765027 Don't fill history with garbage 2022-06-22 20:19:57 +02:00
Recursing
8c38991f5b compress strings with pako 2022-06-22 01:48:27 +02:00
Recursing
35a6a0c4e5 Save playground state in URL, for easy sharing
fix ssr
2022-06-22 01:48:27 +02:00
Recursing
f365cdef70 Mention requirement on components in README 2022-06-21 23:02:55 +02:00
dependabot[bot]
b3d64f8cbf
⬆️ Bump react-dom from 18.1.0 to 18.2.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 18.1.0 to 18.2.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.2.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 14:54:39 +00:00
Ozzie Gooen
8f3502b1a2 Ran formatter 2022-06-17 07:47:46 -07:00
Ozzie Gooen
86fa502e5a Added scaleMultiply to docs 2022-06-17 06:49:55 -07:00
Ozzie Gooen
76281ee16d
Merge pull request #686 from quantified-uncertainty/documentation-refactor-June12-2022
Documentation refactor june12 2022
2022-06-14 16:57:09 -07:00
Ozzie Gooen
605afc03cc Ran formatter 2022-06-14 16:47:31 -07:00
Ozzie Gooen
1d4aea2731 Added descriptions to last API types 2022-06-14 16:12:29 -07:00
Ozzie Gooen
d4e3579211 Fixed link that was breaking build 2022-06-14 14:47:09 -07:00
Ozzie Gooen
858e0e5ee5 Small edits to guides section 2022-06-14 14:37:59 -07:00
Vyacheslav Matyukhin
a9ebd5b961
don't use tailwindcss/forms in website 2022-06-14 12:05:13 +03:00
Ozzie Gooen
62ed997de2 More progress on DistGeneric 2022-06-13 18:13:43 -07:00
Ozzie Gooen
6a4132c955 Ran format 2022-06-13 12:10:24 -07:00
Ozzie Gooen
5f26ac9532 Removed the definitions tags in documentation 2022-06-12 21:42:52 -07:00
Ozzie Gooen
bea4e13cd3 Minor cleanup on distributions 2022-06-12 21:33:40 -07:00
Ozzie Gooen
bb85869303 Lots of documentation tweaks 2022-06-12 21:19:28 -07:00
Ozzie Gooen
afb69e2e06 Format on website 2022-06-11 08:57:02 -07:00
Ozzie Gooen
79b71c39a0 Ran formatter and fixed tests 2022-06-11 08:47:52 -07:00
Ozzie Gooen
2d4d8a8f4d Attempting to make all api docs formatting mostly consistent 2022-06-11 08:28:38 -07:00
Ozzie Gooen
6dc8b711bb Lots of simple cleanup to api docs 2022-06-10 17:35:48 -07:00
Ozzie Gooen
8fd5c6a1be Merge branch 'develop' into Documentation-auto-generation
* develop: (22 commits)
  components-lint respects components prettierignore
  format main.css and prettierignore base.css
  scoped tailwind preflight, top-level .squiggle wrapper
  grammar: identifiers with modules
  Refactored reducerInterface files
  Added simple scientific units
  Added stdev to table of stats, when needed
  Added stdev and variance to Distribution Operation Constructors
  Quick addition of stdev-variance-min-max-mode
  ⬆️ Bump @types/node from 17.0.38 to 17.0.40
  ⬆️ Bump webpack from 5.72.1 to 5.73.0
  ⬆️ Bump @storybook/react from 6.5.6 to 6.5.7
  ⬆️ Bump ts-node from 10.8.0 to 10.8.1
  ⬆️ Bump @storybook/builder-webpack5 from 6.5.6 to 6.5.7
  ⬆️ Bump peggy from 2.0.0 to 2.0.1
  ⬆️ Bump @storybook/addon-essentials from 6.5.6 to 6.5.7
  ⬆️ Bump @storybook/preset-create-react-app from 4.1.1 to 4.1.2
  ⬆️ Bump @hookform/resolvers from 2.8.10 to 2.9.0
  ⬆️ Bump typescript from 4.7.2 to 4.7.3
  ⬆️ Bump @storybook/manager-webpack5 from 6.5.6 to 6.5.7
  ...
2022-06-09 16:50:46 -07:00
Vyacheslav Matyukhin
d812084614
scoped tailwind preflight, top-level .squiggle wrapper 2022-06-09 23:57:45 +03:00
Ozzie Gooen
16a1afe53c Merged with develop 2022-06-06 05:54:02 -07:00
Ozzie Gooen
18c14089c6 Updated a few of the API pages 2022-06-05 22:16:29 -07:00
Ozzie Gooen
441ac3c251 Changed the name of select functions 2022-06-05 21:47:29 -07:00
Sam Nolan
966213bfd1 Fix Netlify build commands 2022-06-06 04:38:13 +00:00
Sam Nolan
cd8a92e91f Add css into docusaurus 2022-06-06 04:24:38 +00:00
Ozzie Gooen
6567f1b8ef Moved API files to API directory 2022-06-05 20:02:17 -07:00
Ozzie Gooen
4409ceb6c7 Formatted code 2022-06-05 14:13:56 -07:00
Ozzie Gooen
d49f7889b0 First attempt at most type definitions 2022-06-05 13:59:45 -07:00
Sam Nolan
906534615a BROKEN: Sam's attempt at getting component css into the website 2022-06-05 06:48:31 +00:00
Ozzie Gooen
19477fd637 Fixed broken links 2022-06-04 09:36:30 -07:00
Ozzie Gooen
b0b48c7129 First attempt at new API documentation generation 2022-06-04 09:26:52 -07:00
Ozzie Gooen
10de355f86 First attempt at auto-documentation 2022-06-03 17:59:02 -07:00
Ozzie Gooen
2142dc17bb Formatted 2022-05-31 14:53:57 -07:00
Ozzie Gooen
b1d5e5efac Added tailwindcss to docusaurus config 2022-05-31 14:33:08 -07:00