Commit graph

1927 commits

Author SHA1 Message Date
Reinis Mazeiks
a8be789761 Remove unneeded lifetimes
This makes clippy (and me) happy
2022-06-30 23:35:23 +03:00
Reinis Mazeiks
69dd699b99 Remove outdated example; Add note on performance benchmark 2022-06-30 22:58:34 +03:00
Reinis Mazeiks
d2c3f98b55 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into delete-blank-docs 2022-06-30 22:50:04 +03:00
Reinis Mazeiks
48d96869d3 Reference: remove empty and almost empty pages
(Avoids confusion and improves navigation)
2022-06-30 22:49:19 +03:00
Jonathan Kelley
7550731a96 Merge branch 'master' of github.com:DioxusLabs/dioxus 2022-06-30 15:42:46 -04:00
Jonathan Kelley
a6e8852ced polish: make clippy happy on use_hook 2022-06-30 15:41:45 -04:00
Reinis Mazeiks
0ab2f38314 Guide: remove empty and almost empty pages
(Avoids confusion and improves navigation)
2022-06-30 22:39:34 +03:00
Jon Kelley
2ee703f509
Merge pull request #474 from rMazeiks/rewrite-example-readme
Rewrite Readme in example directory
2022-06-30 15:39:03 -04:00
Jonathan Kelley
e627a66acc Merge branch 'master' into jk/autofmt 2022-06-30 15:23:05 -04:00
Jonathan Kelley
28a0c67275 polish: clean up the examples and move autofmt sample into dedicated file 2022-06-30 15:19:58 -04:00
Jon Kelley
6e7015b997
Merge pull request #466 from Demonthos/fix_js_interperter
check that an node is an element before removing listeners
2022-06-30 15:18:40 -04:00
Reinis Mazeiks
2b3df609ee Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rewrite-example-readme 2022-06-30 22:03:56 +03:00
Jon Kelley
dde9ca6ce0
Merge pull request #406 from rMazeiks/rusty-events
Rustify events api for WheelData and KeyboardData
2022-06-30 14:56:02 -04:00
Reinis Mazeiks
f5fe4f8fd9 Re-write examples Readme
Delete useless table with mostly dead links.

Categorize examples for easy browsing.

Move missing examples to bottom of page.
2022-06-30 17:10:28 +03:00
Reinis Mazeiks
3b50a8e6b3 Merge branch 'rusty-events' into proofread-readme 2022-06-30 16:07:08 +03:00
Reinis Mazeiks
175e921ee6 Remove link to state management in Get Started section
It was dead, and didn't feel like it belonged there.
2022-06-30 15:46:02 +03:00
Evan Almloff
ab533864db Merge remote-tracking branch 'upstream/master' into fix_hot_reloading_svg_attributes 2022-06-30 07:18:08 -05:00
Evan Almloff
e444d3d4bc fix svg attributes 2022-06-30 07:17:59 -05:00
Demonthos
7f5ad96c0b
Merge pull request #462 from Demonthos/fix_hot_reload_paths
fix path separator for hot reloading
2022-06-29 12:24:14 -05:00
Jon Kelley
8d6afe70b8
Merge pull request #468 from Demonthos/fix_diffing_equal_length_listeners
Fix Diffing Equal Length Listeners
2022-06-29 11:48:13 -04:00
Evan Almloff
74fc28e5d1 add tests for diffing listeners 2022-06-29 10:09:37 -05:00
Evan Almloff
bf548d4a0e set id before creating listener 2022-06-29 09:48:16 -05:00
Evan Almloff
58a495351a check that an node is an element before removing listeners 2022-06-29 09:09:47 -05:00
Reinis Mazeiks
a9f286c52b Fix bug in TUI key repeat handling 2022-06-29 07:44:19 +03:00
Reinis Mazeiks
0777437243 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
 Conflicts:
	packages/tui/tests/events.rs
2022-06-29 02:18:57 +03:00
Reinis Mazeiks
ca60b01c49 Fix remaining warnings (unrelated) 2022-06-29 02:17:00 +03:00
Reinis Mazeiks
cae0c1409d Fix some warnings: avoid deprecated fields 2022-06-29 02:13:01 +03:00
Reinis Mazeiks
6aa800018b Create similar event demo for TUI 2022-06-29 01:52:03 +03:00
Reinis Mazeiks
0cdaeb1a8d Delete redundant examples (all events now demoed in single simple example) 2022-06-29 01:24:33 +03:00
Reinis Mazeiks
f30387597a Add wheel events to event example; make interface prettier 2022-06-29 01:18:09 +03:00
Reinis Mazeiks
a46ff93600 Improve keyboard event debug formatting 2022-06-29 01:09:17 +03:00
Jonathan Kelley
0aec375371 wip: clean up formatting package 2022-06-28 17:33:11 -04:00
Jon Kelley
ca13bf7358
Merge pull request #459 from Demonthos/clean_up_rsx_imports
Clean up rsx imports for components and tests
2022-06-28 17:32:39 -04:00
Jonathan Kelley
bd936d3af2 feat: more cleanup 2022-06-28 17:29:10 -04:00
Jonathan Kelley
fa756ba245 feat: manual props 2022-06-28 17:16:26 -04:00
Reinis Mazeiks
8f8a614a5c Add keyboard events to event example 2022-06-28 23:58:07 +03:00
Reinis Mazeiks
c090741c60 Improve event formatting 2022-06-28 23:46:24 +03:00
Reinis Mazeiks
6a6a028afc Create new example for all mouse events 2022-06-28 23:36:06 +03:00
Reinis Mazeiks
bfcfe2ca5f Remove use of deprecated functions 2022-06-28 23:10:44 +03:00
Jon Kelley
22677c2992
Merge pull request #463 from Demonthos/fix_escape_sequence
fix escape sequences in ifmt
2022-06-28 16:10:40 -04:00
Jonathan Kelley
5bab835843 fix: allow keys 2022-06-28 15:35:46 -04:00
Jonathan Kelley
1e4af430a8 wip: eliminate warnings 2022-06-28 15:15:09 -04:00
Jonathan Kelley
a825cdcf58 feat: simple support for comments 2022-06-28 15:01:51 -04:00
Reinis Mazeiks
6932924f57 Comment on crossterm key event conversion 2022-06-28 21:17:46 +03:00
Reinis Mazeiks
f3fcec2bdf Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
 Conflicts:
	packages/html/src/events.rs
	packages/tui/src/hooks.rs
2022-06-28 21:09:20 +03:00
Evan Almloff
cf2f504d77 fix unnessisary mut 2022-06-28 12:48:38 -05:00
Evan Almloff
f1f9f0df1a pass clippy 2022-06-28 12:37:19 -05:00
Evan Almloff
7730401288 fix escape sequences in ifmt 2022-06-28 12:19:07 -05:00
Evan Almloff
8c3c75cab6 update tests 2022-06-28 10:02:50 -05:00
Evan Almloff
884723831b fix path seperator 2022-06-28 09:48:19 -05:00