* modernize github workflows
this mainly fixes some inconsistencies in style, outdated or wrong comments and action version
- replace Legit-Labs/action-download-artifact with actions/download-artifact
- fix Swatinem/rust-cache arguments
- fix benchmark transformations
- expand feature soundness lints
- wording and capitalization in comments
* fix no_run on crate level doc
* fix some more small issues
* Split repository into multiple workspaces, update CI
* pull_request_target for build-website workflow
This should allow the workflow to read secrets instead of requiring a different, publish-website workflow to be needed to publish the side
* pull_request_target for build-api-docs workflow
This should allow the workflow to read secrets instead of requiring a different, publish-api-docs workflow to be needed to publish the side
* use `paths` instead of `path_ignore` for examples
* cleanup main-checks.yml
* it's rustfmt, not fmt
* correct paths for workflow files
* it's rustfmt, not fmt: part 2 electric bolgoo
* me idiot: part infinity
* ???
* main checks should be the same then?
* ??? part 2
* it should work now
* more fixes
* checkout before using file, actually use stable for wasm-bindgen-cli
* Revert "pull_request_target for build-api-docs workflow"
This reverts commit 38977292c8.
* Revert "pull_request_target for build-website workflow"
This reverts commit 1638a0cd24.
* Benchmark workflow uses pull_request event
* pull_request for size-cmp
- Remove agents example
- Agents example is replaced by web_worker_fib as they both serve the same purpose now that trunk 0.15 has been released
- Clean up CI setup and ensure that examples are deployed in publish-examples.yml as they're built in size-cmp.yml
* fix docs.rs logo url
* fix formatting
* bump docusaurus to beta14
* bring back the semicolon
* cache npm for build-website workflow
* Add prebuilt cargo-sweep binary
* Optimize website CI
* per-job caching, stale cache invalidation
* extract fmt job as workflow
move website test as a prerequisite for publish
* fix typo in cargo-sweep executable path
* chmod +x
* rename to main-checks.yml
* --exclude has to be used with --workspace
* revert accidental revert
* Switch from cargo-sweep to rust-cache
* link to this related issue of extra brackets
* remove blanks
* exclude website-test in main tests
* rename suffixes from .mdx to .md
* replace actions-rs/install with wasm-pack-action
fixes#2351
* shouldn't ignore .md because website snippet tests depends on .md files and there can be
#[doc(include("../some.md"))] in the code
* restore accidentally deleted mdx files
* include tools/website-test (for real this time)
* correctly reflect the status of multi_thread example
* commiting a partially working example ported from 0.18 to next
* make the app actually start
* remove example from github workflows
* rust-fmt
* cargo make pr-flow done succesfully :)
* update per comments
* fix build errors
* fix cargo fmt
* fix stuff
* Apply suggestions from code review
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Update examples/web_worker_fib/src/app.rs
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Remove space
* Update .github/workflows/publish-examples.yml
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
Co-authored-by: SpanishPear <shrey.somaiya@gmail.com>
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
* time for more hygiene
* update corresponding tests
* while I'm at it
* now let's fix the actual issue
* fix the publish examples CI while I'm at it
* resolve clippy warnings
* let's try to make firebase channels work
* let's see if this even does anything
* trigger
* add a comment
* separate
* fix syntax
* don't deploy yet
* use action fork
* ah right, it's called main now
* add paths back in
* how did this even happen
* remove getrandom from game_of_life
I know the wasm-bindgen feature is deprecated but this is more convenient for now
and all the other examples use it this way as well.
We can update all of them in one go when rand 0.8 rolls around
* update todomvc README
* clean up yew-macro makefile
See: https://github.com/yewstack/yew/pull/1541#discussion_r488747622
* Use Firebase Hosting
* remove old files
* update counter
* update crm example
* Add readme for counter
* update custom_components
* update webgl example
* update two_apps
* update todomvc
* mark special case multithread
* update dashboard
* update examples readme
* file_upload example
* fragments example
* futures example
* game_of_life example
* inner_html example
* js_callback example
* keyed_list example
* remove large_table
* remove minimal
* mount_point example
* I can't count apparently
* nested_list example
* node_refs example
* timer example
* store example
* pub_sub example
* rip npm_and_my_sanity
* use a title™️
* clean up multi_thread
* fix format
* boids part 1
* boids part 2
* add workflow
See: <https://github.com/siku2/yew/pull/13>
* remove my little scratchpad again
* add boids to examples table
* runtime-generated list in nested_list example
* update workflow
* first batch of yewtil examples
* clippy "futures"
* remove old yew-router examples
* add a new router example to the main examples
* remove remaining yewtil examples
* more progress
* update for testing purposes
* author list
* improve content generation
* revert this mistake
I thought it would be great to use `unimplemented!()` in case the component doesn't have any properties.
This helps avoid the mistake of forgetting to update the change method when adding props later on.
What I didn't consider is that just because the props are () that doesn't mean that Yew isn't going to call it...
So yeah, it's still a good idea for update, but certainly not for change.
* missed a few
* turn router switch example into test
* seems to be working
* make it possible to host the router example on a sub-path
* create a 404 file for SPA
* remove the three examples and update table
* remove the 404 file because it isn't working anyway
* fix small router issue relating to the sub-path hack