Commit graph

5 commits

Author SHA1 Message Date
Otavio Cordeiro
d15f7a1be3 Improve dropzone when dragging an image from Finder 2025-12-17 22:30:54 +01:00
Otavio Cordeiro
f5a4bf476d Fix 401 error when publishing a new weblog entry
The add entry button in the toolbar wasn’t passing the selected address
to the lower layers. As result, Triton was making a network request to
create a new post without the address. In such cases, the API returns an
error, 401.

This commit ensures the address is getting passed down to the lower
layers before making the network request.
2025-12-17 21:56:35 +01:00
Otavio Cordeiro
853a1e1e8b Handle optional account name with "Anonymous" fallback
Make account name optional in API response and map nil/empty values to
"Anonymous" at the network boundary. This ensures users who haven't set
their name can remain anonymous while keeping the name non-optional in
domain and UI layers.

- Make AccountInformationResponse.Response.name optional (String?)
- Add mapping logic in AccountUpdateNetworkService to default nil/empty
  names to "Anonymous"
- Preserve non-optional String type in AccountResponse and
  Account models
- No changes required in UI or persistence layers
2025-12-17 13:39:39 +01:00
Otavio Cordeiro
9115e25017 Use .jpg extension for all image preview URLs
All preview images generated by the backend are JPEG format, regardless
of the original image format (e.g., foo.png -> foo.preview.jpg).

Updated the imagePreviewURL getter, its documentation, and all tests to
reflect this behavior.
2025-12-17 13:29:01 +01:00
Otávio
3e878667a1 Add Triton App
Signed-off-by: Otavio Cordeiro <otaviocc@users.noreply.github.com>
2025-12-15 20:39:07 +01:00