Commit graph

1926 commits

Author SHA1 Message Date
Jonathan Kelley
d090b24f8d chore: prevent reference from being uploaded 2022-07-18 13:52:01 -07:00
Jonathan Kelley
dbb842e285 Merge branch 'master' of github.com:DioxusLabs/dioxus 2022-07-18 13:50:11 -07:00
Jonathan Kelley
62b9a0593f chore: use taffy dimension directly 2022-07-15 22:17:00 -04:00
Reinis Mazeiks
d734dc5b46
Remove argument from use_hook closure (#496)
Also; update docs for said function
2022-07-11 15:50:56 -04:00
Breno Rocha
6ea076fa7f
Add PT-BR translations (#456)
* Translate final.md, hello_world.md, README.md, ROADMAP.md and SUMMARY.md

* Translatation complete

* Internationalization: move guide to en folder and preserve its history. (#494)

* Clean files and build mdBook with localization feature

* Rebase, remove leftovers and check book builds for every language: 

Co-authored-by: Jon Kelley <jkelleyrtp@gmail.com>
2022-07-11 13:28:12 -04:00
Jonathan Kelley
2369b0cc7f chore: remove outdated docs 2022-07-09 15:22:54 -04:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. (#387)
* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jon Kelley
c97ca7dff6
Internationalization: move guide to en folder and preserve its history. (#494)
* chore: move guide to en folder

* docs: add english as language
2022-07-09 12:31:46 -04:00
Reinis Mazeiks
7fdc72726d
Exclude benchmarks from testing (#492)
* Exclude benchmarks from testing
2022-07-07 09:59:00 -04:00
Reinis Mazeiks
726e1d50bd
Remove reference from docs CI (#491) 2022-07-07 06:29:40 -05:00
Reinis Mazeiks
6c323e9fc5
Rework Guide (#486)
* Move getting started to Guide

* Clean up summary and getting started

* Shorten intro by moving stuff to individual platform docs

* Make intro even shorter, summarize features

* Further cleanup; move development-related docs to separate section

* Make `guide` a crate. Turn code samples into examples so that we can check if they compile

* Rewrite "Describing the UI":

* Focus on RSX syntax (interactivity covered in later chapters); make sure samples are tested; concise language

* Move some "special attribute" samples to the `examples` directory

* Simplify introduction to components

* Simplify introduction to component props

* Document Prop features; add code samples

* Simplify component children docs

* Interactivity: better introduction to events

* Hooks: better introduction

* Remove outdated doc

* Introducs use_ref

* Simplify User Input chapter

* Document event handler props

* Meme editor example

* Meme editor walkthrough

* Add dark mode example

* Guide for context; dark mode example

* Guide: custom hooks

* Guide: conditional rendering

* Guide: rendering lists

* Guide: rendering lists + keys

* Move remaining infor from Reference to guide

* Delete reference book
2022-07-07 08:50:36 +00:00
Jonathan Kelley
92a8b7c75f fmt: fix formatting 2022-07-07 02:52:37 -04:00
Jonathan Kelley
3d47cb48fa fix: autofmt on single line rsx calls 2022-07-07 02:06:50 -04:00
Jonathan Kelley
2b9888627b Merge branch 'master' of github.com:DioxusLabs/dioxus 2022-07-07 01:46:48 -04:00
Jonathan Kelley
7ff4d616d3 chore: remove outdated docs 2022-07-07 01:42:03 -04:00
Demonthos
4a5ae758ee
Allow Multiple dependencies for states in the RealDom (native core) (#412)
* WIP multable deps

* WIP: refactor and genralize state macro

* add traversable trait

* update tui to use elementid to index dom
2022-07-07 00:50:22 -04:00
Adia Robbie
c271fc132e
dioxus-desktop(Update-dep): tauri 0.19.x (#489)
* Update(dep): tauri 0.19.x
2022-07-06 12:05:31 -04:00
Demonthos
baaa1752d3
add query context (#400) 2022-07-05 19:44:54 -05:00
Jonathan Kelley
251aafa5fd fix: fmting 2022-07-05 18:42:00 -04:00
Jonathan Kelley
575f92d2d4 chore: update readme and tests for autofmt 2022-07-05 18:23:30 -04:00
Jonathan Kelley
76581e7400 fix: disappearing manual props 2022-07-05 18:03:04 -04:00
Jonathan Kelley
19e6e43358 fix: only apply comments if relevant 2022-07-05 17:59:33 -04:00
Jonathan Kelley
fa9ebe17cc feat: fix autoformatting around one liners 2022-07-05 17:49:16 -04:00
Jonathan Kelley
64d669e934 chore: add todo list to autofmt crate 2022-07-05 13:31:26 -04:00
Jonathan Kelley
2634755620 fix: handle comments around attributes better 2022-07-05 02:06:54 -04:00
Jonathan Kelley
4471ccba49 fix: even better comment handling 2022-07-05 01:53:08 -04:00
Jonathan Kelley
47f3cc2529 fix: correct comment handling for first line 2022-07-05 00:30:09 -04:00
Jonathan Kelley
150d824561 feat: more advanced comment handling 2022-07-05 00:22:06 -04:00
Jon Kelley
3a30b36f68
fix: some edge cases around autoformatting (#485)
* wip: remove comment support from autofmt

* fix: some edge cases around autoformatting

* fix: revert readme

* fix: failing test
2022-07-04 21:11:03 -04:00
Demonthos
3a5d1a2ff8
fix web imports and extract hot reload handlers into seperate files (#484) 2022-07-04 13:18:11 -05:00
Jonathan Kelley
7e454e770a chore: remove some hotpath logging 2022-07-03 00:14:15 -04:00
Jonathan Kelley
94004cfe19 chore: clean up some clippy stuff 2022-07-03 00:11:28 -04:00
Jonathan Kelley
2884d72b08 chore: make clippy happy 2022-07-02 23:45:32 -04:00
Jonathan Kelley
fcbd260f1a chore: clean up example a bit more 2022-07-02 23:17:48 -04:00
Jonathan Kelley
41872a075f chore: clean up all_events example 2022-07-02 23:12:26 -04:00
Jon Kelley
faf1103597
Merge pull request #473 from Demonthos/fix_hot_reloading_svg_attributes
Fix hot reloading svg attributes
2022-07-02 22:58:07 -04:00
Jon Kelley
c70cd04835
Merge pull request #454 from DioxusLabs/jk/autofmt
Add autoformatting package
2022-07-02 22:57:28 -04:00
Jonathan Kelley
59c38c2ff1 Merge branch 'master' into jk/autofmt 2022-07-02 22:49:21 -04:00
Jonathan Kelley
30c1e702b3 fix: fmt 2022-07-02 22:49:19 -04:00
Demonthos
c9b7b5b3b8 Merge remote-tracking branch 'upstream/master' into pr/Demonthos/473 2022-07-02 20:17:28 -05:00
Jon Kelley
2de8bfc176
Merge pull request #482 from Demonthos/allow_custom_attributes_hot_reload
allow custom attributes to be captured for hot reloading
2022-07-02 20:59:39 -04:00
Demonthos
de3e2a48f8 Merge remote-tracking branch 'upstream/master' into pr/Demonthos/482 2022-07-02 19:03:08 -05:00
Demonthos
55e262b2c6 Merge remote-tracking branch 'upstream/master' into pr/Demonthos/473 2022-07-02 18:48:32 -05:00
Demonthos
4b8f61593e
Merge pull request #481 from Demonthos/default_to_panic_error_handler_hot_reload
panic on errors in hot-reload if no error handler socket is connected
2022-07-01 16:43:27 -05:00
Evan Almloff
c0b9b54d9b allow custom string literals to be captured for hot reloading 2022-07-01 10:51:11 -05:00
Evan Almloff
f0655a11ad panic on errors in hot-reload if no error handler socket is connected 2022-07-01 09:01:15 -05:00
Jon Kelley
5c767ececd
Merge pull request #476 from rMazeiks/delete-blank-docs
Delete blank docs
2022-06-30 16:37:48 -04:00
Jon Kelley
67f78bc8ae
Merge pull request #477 from rMazeiks/remove-lifetimes
Remove unneeded lifetimes
2022-06-30 16:36:41 -04:00
Jonathan Kelley
cd7ee47e40 fix: make clippy happier with rust 1.63 2022-06-30 16:35:33 -04:00
Reinis Mazeiks
a8be789761 Remove unneeded lifetimes
This makes clippy (and me) happy
2022-06-30 23:35:23 +03:00