Miles Murgaw
bd58a92441
CLI: Toasts & Tweaks ( #2702 )
...
* progress: cli toasts
* forgot the html
* progress: toasts
* revision: don't open splash on desktop
* fix: fmt, spellcheck
2024-07-25 14:38:45 -07:00
88af3e7eff
Hotreloading of for/if/body, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI ( #2258 )
...
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com >
2024-07-17 19:11:18 -07:00
Andrew Scott
69d7098d0e
feat (desktop): upgrade from wry 37 to 41 ( #2618 )
2024-07-10 12:50:04 -07:00
Andrew Scott
bb52280a51
fix (regression): hide desktop window until initial render ( #2614 )
2024-07-09 12:32:05 -07:00
Evan Almloff
487570d897
Add CI step to test packages with debug assertions off ( #2507 )
...
* test packages in release mode
* run release tests in a separate job
* fix release generation box tests
2024-06-12 13:07:52 -07:00
Evan Almloff
79e18c2d62
fix hooks release build
2024-06-10 07:41:15 -05:00
Russell Mull
46b0eeb12c
Implement the "Toggle Developer Tools" menu item in desktop ( #2198 )
2024-04-02 10:53:26 -07:00
Jonathan Kelley
329c323b35
Doc fixes, running examples instructions, change menubar behavior for desktop
2024-03-27 17:57:05 -07:00
Evan Almloff
e464294c66
fix hot reload on windows ( #2142 )
2024-03-26 00:36:11 -07:00
Jonathan Kelley
e923c6462c
Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus ( #2116 )
...
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state
* Make clappy hippier
* remove console log
* use simpler css invalidator
* Less flash, remove log on web hotreload
* Fix floating window managed behavior on mac
* clippy...
2024-03-20 09:16:18 -07:00
Jonathan Kelley
4bb807a3ce
Reduce churn in window behavior
2024-03-18 22:38:33 -07:00
Evan Almloff and Jonathan Kelley
d442dac168
Add a menu bar option to the desktop config ( #2107 )
...
* add an option to set a custom menu in the desktop config
* Fix rename issue
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-03-18 22:36:47 -07:00
Jonathan Kelley
f9f902732b
Fix: update wry, tao, to fix android issues
2024-03-15 20:12:13 -07:00
Jonathan Kelley
bb8b4dc2fb
FIx:
...
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading
2024-03-13 15:10:44 -07:00
Jonathan Kelley
81f38a0bc5
cfg out globalhotkey
2024-03-06 16:42:45 -08:00
Jonathan Kelley
4b2e426958
clippy, and don't hash invisible files for ts generation
2024-03-05 22:38:38 -08:00
Jonathan Kelley
624e58bd78
native file drop
2024-03-05 14:11:12 -08:00
Jonathan Kelley
78d16536a7
wip: native file handles when dropping 🎉
2024-03-05 13:57:28 -08:00
Jonathan Kelley
403e8e2f49
Clean up file uploads in desktop/liveview, remove minify
2024-03-05 13:00:27 -08:00
Jonathan Kelley
127709f83f
Tiny aesthetic tweaks
2024-01-18 10:59:43 -08:00
Jonathan Kelley
94b17cc8ca
Fix non tokio builds for desktop
2024-01-18 04:07:28 -08:00
Evan Almloff
25ad3da659
remove some generics from LaunchBuilder
2024-01-17 20:15:16 -06:00
Evan Almloff
499e81fa82
fix fullstack send bound
2024-01-17 15:46:29 -06:00
Evan Almloff
dab87c0144
try not double boxing
2024-01-17 15:07:45 -06:00
Jonathan Kelley
c94af9538b
Remove phantom markers and just default to Rc<dyn Fn(props) -> Element> where it makes sense
2024-01-16 15:07:22 -08:00
Evan Almloff
7e4d2debe0
implement launch builder for the desktop and web platforms
2024-01-16 08:42:16 -06:00
Jonathan Kelley
8beec2f41f
fix rendering issue
2024-01-11 17:15:01 -08:00
Jonathan Kelley
8c94f0bc4a
get compiling
2024-01-11 16:51:18 -08:00
Evan Almloff
e004c1722f
set the required environment variable for manganis support
2024-01-10 11:19:51 -06:00
Jonathan Kelley
3aabaa8c8f
Commit cargo.lock and allow mobile example to be part of workspace
2024-01-08 15:27:59 -08:00
Jonathan Kelley
6b240e1169
remove unused deps
2024-01-08 13:39:03 -08:00
Jonathan Kelley
5ccbeeab46
Merge branch 'master' into add-file-data-drag-event
2024-01-08 13:34:24 -08:00
Jonathan Kelley
c90f31a4f6
Fix moutned data on desktop
2024-01-08 13:03:47 -08:00
Evan Almloff
194c9d43e3
fix merge
2024-01-08 14:51:35 -06:00
Jonathan Kelley
1b883b2858
Use the correct serialized event converter
2024-01-08 12:19:43 -08:00
Jonathan Kelley
f01a684379
fix windows
2024-01-06 01:44:46 -08:00
Jonathan Kelley
d07808634a
disable linux menubar
2024-01-06 00:10:46 -08:00
Jonathan Kelley
ce088acb0c
use proper extension traits
2024-01-05 23:40:01 -08:00
Jonathan Kelley
0ac8955bab
Fix android/ios muda cfg
2024-01-05 23:37:10 -08:00
Jonathan Kelley
20135368b8
Put asset collection behind a feature flag
2024-01-05 23:14:03 -08:00
Jonathan Kelley
8323e45970
Call handlers from context of a runtime and scope
2024-01-05 17:35:37 -08:00
Jonathan Kelley
bc857bf339
Make clippy happy
2024-01-05 12:54:39 -08:00
Jonathan Kelley
cbed09b95c
Clean up shared context in desktop
2024-01-05 12:37:47 -08:00
Jonathan Kelley
8e9984b4b5
Fix merge conflicts with new event system
2024-01-05 12:28:33 -08:00
Jonathan Kelley
42e25c407f
A few more stylistic changes
2024-01-04 20:41:48 -08:00
Jonathan Kelley
b5a125b963
Refactor IPC a bit
2024-01-04 20:27:04 -08:00
Jonathan Kelley
4adc912189
Collapse objects into single shared object
2024-01-04 20:17:38 -08:00
Jonathan Kelley
38216fa272
Make the tokio runtime optional
2024-01-04 19:09:59 -08:00
Jonathan Kelley
060490892a
Clean up desktop even more
2024-01-04 18:19:28 -08:00