The top components can use_resource and be properly setup during
hydration. The sub components need to use_server_resource so that they
can be hydrated later.
The blog title can now be set to be an image. If not it will default to
the text. If no text it will just be "Blog".
A Post has now been given a default post image that will be used for all
posts for their openGraph sharing. This can later be expanded to allow
a blog post to have a desired image.
It was determined to use the Author's desired name and no handle. The
handle will only be used for unique linking.
Also, the CyberMages LLC was dropped from the Author metadata until a
company can be specified per Author. Not all users will be associated
with CyberMages.
use_server_future was not reliably re-running when url_tag changed during
direct URL navigation, causing tags to remain unselected. use_resource
provides consistent reactivity across all navigation methods and handles
both data fetching and selection logic atomically.
This was done because setting up a test even as an example was hard with
the dependencies and other things. It may be doable, but the time
required was not worth it.
The SQL was not properly searching the tales. It had been searching and
finding all the tags that matched the search criteria, but it was
dropping all the other tag information. Now it properly keeps all the
tag information. This fixed an issue where the tags of a post were
disapearing and reapearing as the TagSelector was toggled.
When using dioxus it would be greate to use the types from this library
on the backend and the front end. To do this we need to be able to cut
out the sqlx package because it uses mio which doesn't compile to WASM.
To do this we put the database code behind a database feature flag.
The Publisher feature will also trigger the database flag.