* improve documentation for the fullstack server context
* Add a section about axum integration to the crate root docs
* make serve_dioxus_application accept the cfg builder directly
* remove unused server_fn module
* improve fullstack config docs
* improve documentation for the server function macro
* fix axum router extension link
* Fix doc tests
* Fix launch builder
* Remove redundant server_only inside server function
* Fix isrg config path
* Fix hot reloading components with keys
* include component formatted segment keys, but not dynamic component value
* extend each head component with the corresponding element
* Allow spreading custom attributes into components
* Fix component_literal_dyn_idx index
* add a new test for hot reloading components with keys
* FIx script without body warning and rendering styles with a href set
* fix clippy
* Chore: remove random old test fixture from CLI
* nuke oidc
* remove weird useless desktop example
* remove lua globals vscode setting for cli
* remove cli testcase
* hoist deps in core-macro
* we dont need prettyplease
* add hoisted dependencies
* hoist more despt
* rename rsx_rosetta to dioxus_rsx_rosetta
* drop cache thrashing when listening for features
* drop flag from mobile dep
* drop cli-config warning
* hoist more deps
* clippy...
* we dont use the tools module...
* bump lock
* hoist example projects, remove oidc
* move over example projects from the separate repo
* Update ecommerce site to the latest version of dioxus
* update wifi scanner to 0.5
* drop the chatbot example; might be restored in a separate PR
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Fixes scrolling on vscode using simple fix
Adds scroll modifier, scroll at 5 lines per scroll while holding shift key.
Adds error handling for manganis failure that still lets the build run.
Revises TUI rendering code.
Move TUI "info bars" to the bottom of the terminal.
Revised logging system with tracing
Working [c] clear keybind. This has been removed.
Removal of [h] hide keybind text (it does nothing)
Some opinionated cleanups and renames to make tui logic easier to understand.
Rolling log file & maybe add some more "internal" logging. Closes CLI Rolling Log File #2764
Removes log tabs. Closes CLI: Color-code logs and get rid of tabs #2857
Combines info bars.
Working and good text selection.
Print launch URL in console.
Handle log lines properly and add formatting.
Move MessageSource to a more reasonable location.
Add some background styling to powerline (info bar) - Tried this and it doesn't look the greatest.
Log Filtering
Final Cleaning & Changes - I could do this forever
Test Linux
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Use of async_std::task::sleep instead of tokio::time::sleep
* Make the clock example run on wasm
* Add control_focus and eval examples to Cargo.toml
* Use web-time on desktop; It just falls back to std on non-wasm platforms
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
* Fix hot reloading component properties out of order
* ignore signal write warnings in hot reloading
* Fix hot reloading components with only some literal properties
* Add a test for hot reloading component properties
* got a repro, but no solution :(
* hmmmmm 🤔
* awyayayayayayya
* omg it's because we dont create in rev
* Make nodes rev
* fix tests compile
* Clean up PR
* revert changes to native
* Clean up PR, add test
* CI: add docsrs to ci
* add env vars
* no need for tokio things
* whoops, wrong rust nightly
* add swc
* bump crate versions to 0.6.0-alpha.0
* hoist up warnings and shuffle cargo.toml
* update cargos and disable warnings from ci
* attempt fix of aws
* attempt disabling aws_lc_sys globally
* pull in lc-sys
* add fips feature to fix docs
* turn on features for aws-lc-sys on cargo-doc-all
* pass along more args
* fix cfg docs
* fix: flakey gen box test
* fix: doc_cfg in static gen
* dont include readme
* fix error on static gen
* remove random line
* temporarily disable warnings
* simplify axum desktop so it doesnt count as a lib
* fix binstall link
* bump locks
* lock fixes
* revert axum desktop
* dont publish some crates
* add new autofmt sample
* Feat: implement rustfmt::skip support for rsx
* generally improve error handling with better expect messages
* wip: nested rsx formatting and expression formatting
* nested rsx formatting works
* collapse autofmt crate
* cast indent through macros
* use proper whitespace
* no more eating comments!
* Use proper error handling
* Fix#2612: adjust readable trait to allow try_peek
Our implementation for Readable was inconsistent.
We had a try_unchecked variant for read but not for peek.
This resolves that by making a breaking change to the
Readable interface.
* fix doctests too
* use head elements and new manganis syntax in examples
* only enable desktop workspace example scraping during a dioxus release
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* unify the warning system
* fix VirtualDom::new warning with a component
* move warnings to dioxuslabs
* also allow writes in the component body when converting from T -> ReadOnlySignal<T>
* fix clippy from merge conflict
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* fix issue with AWS-LC-SYS
* after mergo of manganis revert back to original
---------
Co-authored-by: Oliver Schnabl <oliver.schnabl@drei.com>
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Handle deserialize errors rather than panic
* don't clone event data for deserialization in debug or release mode
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
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>
* switch to a Document trait and introduce Script/Head/Style/Meta components
* Fix desktop title
* Insert special elements into the head during the inital SSR render
* Make all head component attributes optional
* hydrate head elements
* improve the server streaming head warning
* Document fullstack head hydration approach
* deduplicate head elements by href
* move Link into head::Link
* document head components
* add meta and title examples
* Fix a few doc examples
* fix formatting
* Add title to playwright tests
* serde is optional on web, but it is enabled by hydrate
* remove leftover console log
* fix: template names
* fix: hot reload "resets" after reload
* revision: ensure all paths are split by `/`
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* feat: cli settings
* revision: lower msrv
* add previous line about hotreload settings just in case
* Fix issue with open
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>