Commit graph

6351 commits

Author SHA1 Message Date
AHQ
ce0c3771ec
Replace "and soon, mobile" to "and mobile" to reflect the tauri v2 launch (#3199) 2024-11-12 08:07:30 -05:00
dependabot[bot]
239a4b82dc
Bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9 (#3193)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.8 to 4.6.9.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.8...v4.6.9)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 18:27:38 -05:00
Evan Almloff
45a1147ffd
Fix subscriptions for read only signals passed as props (#3173)
* add a fuzzing test for reference counted generational boxes

* Fix subscriptions for readonlysignal passed as props

* Don't subscribe to dropped contexts

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-11-10 21:35:33 -05:00
Evan Almloff
5186d8dded
Fix as web event (#3178) 2024-11-06 23:53:56 -05:00
Evan Almloff
416811ba3a
Fix providing context to server functions (#3174)
* Fix providing context to server functions

* Fix fullstack context test
2024-11-06 13:30:41 -05:00
Chung
3c30a2bffb
complete implementation of IntoAttributeValue for number types (#3169) 2024-11-06 13:30:12 -05:00
Rahul721999
2f8f185930
Remove debug printlns (#3179) 2024-11-05 07:25:30 -06:00
Jonathan Kelley
8b586352a2
Make wasm-bindgen parallel/disable log, speed up 2-10x (#3161)
* wip: pull out incr linker intercept and debug=true for wasm for faster builds

* make walrus parallel

* clean up impl
2024-11-04 18:32:23 -08:00
Jonathan Kelley
e700e00b6a
wip: faster playwright test with better caching (#3160) 2024-11-02 00:57:40 -07:00
Ali Fellahi
9e621746d1
Typo in README.md (#3158) 2024-11-01 17:20:25 -07:00
Jonathan Kelley
cf64eb909b
fmt 2024-11-01 17:18:55 -07:00
Jonathan Kelley
d126466702
Convert warn to trace to silence warnings before launching in serve 2024-11-01 17:15:54 -07:00
Jonathan Kelley
e0575b3eb5
Release: dioxus v0.6.0-alpha.4 2024-11-01 16:39:02 -07:00
Jonathan Kelley
61f5aa090c
hoist and bump versions 2024-11-01 16:24:51 -07:00
Jonathan Kelley
a2e8e1d69e
Remove latent dependencies in router 2024-11-01 16:11:24 -07:00
Jonathan Kelley
aa9216d34c
fix: clippy 2024-11-01 15:55:35 -07:00
Jonathan Kelley
4a7f669245
fix: pin throbber widgets 2024-11-01 15:45:45 -07:00
Jonathan Kelley
e19e8d48fe
Fix: race condition in asset resolution 2024-11-01 15:34:48 -07:00
Jonathan Kelley
24b6853c24
reset log levels 2024-11-01 15:18:41 -07:00
Jonathan Kelley
85c4c09811
feat: enable ssg using /api/static_routes (#3157)
* feat: enable ssg using  `/api/static_routes`
2024-11-01 15:02:23 -07:00
Evan Almloff
bb0de9a55a
Fix isg streaming (#3156) 2024-11-01 13:01:04 -07:00
Jonathan Kelley
3d16ae855e
remove latent comment with typo 2024-11-01 12:08:09 -07:00
Evan Almloff
412f0b5c44
Fix the current route in ssr fullstack rendering (#3153) 2024-11-01 11:30:52 -07:00
Evan Almloff
caa9759e44
add a warning about using use_hook(RefCell) in the docs (#3151) 2024-10-31 12:49:49 -07:00
Evan Almloff
37a6e9200f
Fix if chain attributes with mixed expressions and strings (#3149)
* Fix if chain attributes with mixed expressions and strings
2024-10-31 12:48:25 -07:00
Klemen
292f757d5d
SystemTray (#3123)
* Added tray icon
2024-10-31 12:46:17 -07:00
Evan Almloff
281087469a
Move the history provider into the context (#3048)
* move history providers into a separate crate

* start moving route providers into the renderers

* clean up intoroutable

* remove into routable

* fix router tests

* Provide history providers in each renderer

* implement nested routers

* move the lens out of the history crate

* re-export dioxus history trait in the prelude

* also re-export the history function

* fix history doctests

* some light cleanups

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-10-31 12:44:04 -07:00
Chris Rogus
e5a1a62644
use DragEvent not MouseEvent for drag events (#3137)
* use DragEvent not MouseEvent for drag events

* Simplify drag events and remove WebDragData struct

* use DragEvent not MouseEvent for drag events

* re-add the web_sys event reference for drag + mouse data

* remove now vestigial impls for MouseEvent

---------

Co-authored-by: Matt Hunzinger <matthunz2@gmail.com>
2024-10-31 09:44:27 -05:00
Evan Almloff
5d99889728
Fix liveview launch (#3145) 2024-10-30 09:32:18 -07:00
Jonathan Kelley
a35655a457
fix: don't panic while reading file in hotreload (#3142) 2024-10-30 00:37:49 -07:00
Jonathan Kelley
6216a26a40
fix: allow deadcode for rustflags 2024-10-29 17:05:04 -07:00
Jonathan Kelley
c487071cfd
Don't set rustflags in CLI 2024-10-29 17:02:14 -07:00
Jonathan Kelley
5f34822a66
Fix prevent_default on external link 2024-10-28 22:11:21 -07:00
Jonathan Kelley
04dbb7939c
fix href on stylesheet 2024-10-28 17:55:56 -07:00
Jonathan Kelley
42f6b91390
feat: add stylesheet component to dioxus document (#3138)
* feat: add stylesheet component to dioxus document

* fix asset path

* add cache key to playwright
2024-10-28 17:52:28 -07:00
Miles Murgaw
9ebcbc6bd9
fix: no-default-features (#3130) 2024-10-28 12:27:35 -07:00
Jonathan Kelley
38c8469d5c
Remove println!() in serve 2024-10-28 11:30:44 -07:00
Jonathan Kelley
ebaca480a1
Better caching in CI (#3127)
* merge nix, better caching

* use faster runner  for playwright
2024-10-28 11:25:31 -07:00
Miles Murgaw
8a0eca1c8a
remove: default_platform toml field (#3108) 2024-10-28 11:20:35 -07:00
Ahmet Kaan GÜMÜŞ
d3404bd13a
fix: 🔒 removed the line that exposes file structure of web server (#3118)
in web/src/lib there is a line that says "Starting up" to the browser console. This is leaking information about server file structure.
Related: https://github.com/DioxusLabs/dioxus/issues/3117
2024-10-28 00:28:19 -07:00
Jonathan Kelley
81409c46de
Add codeowners 2024-10-27 22:08:41 -07:00
Miles Murgaw
f96a42a5b9
Fix: CLI Release & Profile Conflict (#3115)
* fix: cli release & profile conflict

* remove: commented code
2024-10-27 23:13:32 -04:00
Matt Hunzinger
d53a631b5a
Capture current scope ID in use_muda_event_handler (#3120)
* Capture current scope ID in use_muda_event_handler

* Enter scope in wry_handler instead
2024-10-28 01:10:14 +00:00
Miles Murgaw
6c69c2902c
fix: windows hot reload (#3103) 2024-10-25 18:48:47 -07:00
Miles Murgaw
0866aefa33
fix: yt link (#3102) 2024-10-25 18:22:10 -07:00
Jonathan Kelley
7053f3f8fe
rust files are not supposed to be git ignored 2024-10-25 17:58:04 -07:00
Jonathan Kelley
7ec3453ca3
Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779)
* wip: fix manganis import path
* upgrade tauri bundler, convert todo!() to unimplemented!()
* feat: mobile hotreloading + ios asset configuration
* remove oid demo and its associated env vars
* nuke all the things that cause cache thrashing
* swap to Asset type
* add some more logs
* display impl for attrvalue
* dont panic on collect failure
* cut down web deps to 150
* clean up deps in a lot of places, simplify build scripts
* clean up asset resolution and cli-dev profile
* wire up absolute paths for manganis asset in a particular mode
* move document related things around to shorten compile times
* move most things to `document::Item` and then decompose the cli-config
* switch link to stylesheet for clarity in examples
* move manganis workspace example to examples folder
* decompose manganis-cli-support
* dont need mobile demo anymore
* remove gloo dialogs
* html doesnt need document
* rename hotreload to devtools
* really clean up the html crate
* fix weird rsx spacing
* clean up desktop to use callback
* clean up document a bit
* re-wire up devsocket
* fix utf css
* yeeeet that js out of here
* synthetic web system works
* web crate almost done being cleaned up
* desktop mostly cleaned up too
* clean up cli a bit
* more cli cleanup
* cli builds again
* clean up cli, inline structs, cut down number of unique types where possible
* hotreload works again for desktop and this time, mobile too
* cfg out tungstenite
* devserver err
* more refactor to cli builder
* switch to unbounded_send
* new structure is much cleaner
* add http serve subcommand
* bundled hotreload
* kick stylsheets
* clean up a bit more, split up eventloop
* amazingly serve seems done
* change from pub to pub(crate) in cli
* remove tools
* bit more polish to cli
* fix issue with join
* gracefully handle fullstack without a server
* fullstack mobile demo
* fix launch function, move projects into example-projects folder
* hoist examples
* add "run" command
* clean up launch
* remove old manual websocket receiver
* doctor command
* allow desktop to scroll
* cut apart router crate
* dont put launch in prelude
* use dioxus::launch where possible
* rename rsx, cut out hotreload tests
* remove liveview project
* bump native
* fix compile for renderers
* move sync event response out of interpreter
* move render in serve
* rollback settings change
* cli compiles, huzzah!
* change uris for asset
* fix asset
* new tui screen
* new cargo-like tui works
* very very verty close
* it works! very small bug with incorrect grapheme calc
* Clean up devserver a bit
* status sytem
* tidy up debug filters
* clean up logging situation
* Fix a number of bugs with log printing
* new printing system is more reliable
* wire up more stuff
* things working but fullstack is having issues
* fullstack works again!
* hotreloading bundled assets works again
* bundled hotreload and beginnings of macos bundling
* Hotreload desktop
* combined server builds
* add build handle
* fix fullstack assets
* make open async, add some hooks for ios
* migrate filemap to runner
* wip global crate system
* fixup bundles + organize asset
* fix asset location bug
* all the bundled reloading!
* open ios simulator!
* full hotreload support for mobile + serverfn
* basic cleanups
* clean up dx
* Move filemap
* fix cutting of newlines
* assets workibg, some android
* hoist wry/tao
* use sync locks and headers to fix issues with android
* desktop -> mac/win/linux with alias
* better logging
* feat: workspace (entire computer!) hotreload
* should rebuild toggle, ios simulator bootup
* proper mobile support in launch
* more robust handling of assets
* fix cargo
* bring back some of tauri bundle
* make warnings go away, clippy happy on cli
* some final clippy cleanups
* fmt
* move manganis to its own folder
* upgrade bundle to stable
* drastically slim down manganis, prepping for merge
* typos, failing test, docsrs config
* remove static gen test
* nix static gen test
* we use --platform web instead of --platform fullstack now
* only bind dev urls in desktop/mobile
* install gtk
* nix static gen
* split build dir by app name
2024-10-25 17:23:45 -07:00
Evan Almloff
ef436e4ed0
Fix inserting attributes after expanding dynamic nodes (#3094) 2024-10-24 13:43:39 -07:00
Chung
3f8c32d1ff
fix fullstack doc (#3071) 2024-10-20 15:32:54 -04:00
hackartist
306fbe2e75
fix fullstack build bug when --release (#3078)
* rust 1.82.0 doesn't allow custom profile when release build
2024-10-20 15:21:13 -04:00