Commit Graph
113 Commits
Author SHA1 Message Date
Calum H. ecbb5e3582 polish: remove green bg from CapeLikeTextButton when selected. 2025-06-14 17:45:05 +02:00
Calum H. cf354d2bbc polish: use figma values 2025-06-14 17:45:04 +02:00
Calum H. 560b674cb7 polish: skin buttons 2025-06-14 17:45:04 +02:00
Calum H. 6a18f7cf04 fix: login button & provide/inject AccountsCard 2025-06-14 17:45:04 +02:00
Alejandro González 949078e572 chore(app-frontend): fix typos 2025-06-14 17:45:04 +02:00
Calum H. 8ac11129cb revert: .gltf formatting 2025-06-14 17:45:04 +02:00
Calum H. aa778707d4 fix: hide error notification when logged out 2025-06-14 17:44:37 +02:00
Calum H. 075a9d597a refactor: Start on cleanup and polish 2025-06-14 17:41:57 +02:00
Calum H. 77796e8761 fix: lint fixes 2025-06-14 17:41:57 +02:00
Calum H. b558a0f0e6 feat: capes in preview renderer & baked renders 2025-06-14 17:41:56 +02:00
Calum H. 4000777c8d feat: fix sizing on SkinButton and SkinLikeButton, also implement bust positioning 2025-06-14 17:41:56 +02:00
Calum H. c5813a9435 feat: batched skin rendering - remove vzge references (apart from capes, wip) 2025-06-14 17:41:56 +02:00
Calum H. d7cf1d232b fix: mojang username not modrinth username 2025-06-14 17:41:56 +02:00
Calum H. 1a45575225 fix: renderer not updating variant 2025-06-14 17:41:56 +02:00
Calum H. 87c07064ad feat: Editing? 2025-06-14 17:41:55 +02:00
Calum H. cd4b2eb566 fix: types (for modal + renderer) 2025-06-14 17:41:55 +02:00
Calum H. cf29286603 fix: types 2025-06-14 17:41:55 +02:00
Calum H. c8492f1ffb fix: logic for Skins.vue 2025-06-14 17:41:55 +02:00
Calum H. 6dfeb05109 feat: skin rendering on load 2025-06-14 17:41:55 +02:00
Calum H. 46261d1f70 feat: finish cape modal 2025-06-14 17:41:54 +02:00
Calum H. d8cb19bf40 feat: Finish new skin modal 2025-06-14 17:41:54 +02:00
Calum H. fd6e263e0a feat: Start on edit modal + cape button cleanup + renderer fixes 2025-06-14 17:41:54 +02:00
Calum H. 79f0dfd1c0 feat: hide nametag setting (impl) 2025-06-14 17:41:54 +02:00
Calum H. 7032a1e264 fix: positioning of meshes 2025-06-14 17:41:53 +02:00
Calum H. 6294fce33d feat: hide nametag setting (sql) 2025-06-14 17:41:12 +02:00
Calum H. 1aa961004c feat: setting for nametag 2025-06-14 17:41:09 +02:00
Calum H. 79c18d35c8 feat: start on SkinPreviewRenderer 2025-06-14 17:41:05 +02:00
Prospector 5a8bbae244 Cape preview 2025-06-14 17:31:05 +02:00
Prospector 161dc73d5d Begin skins frontend 2025-06-14 17:31:02 +02:00
Alejandro González 8abbc021ea chore: fix new prettier lints 2025-06-14 16:16:24 +02:00
Alejandro González ed8ff79809 refactor(theseus): extend auth subsystem to fetch complete user profiles 2025-06-14 16:16:22 +02:00
Alejandro González ab8e474339 Update Rust and Turbo versions (#3781)
* chore: bump Rust version from 1.86 to 1.87

* chore: update Turbo

* chore(.cargo/config.toml): minor comment tweak
2025-06-13 21:03:35 +00:00
Alejandro González 8a26011e76 fix(app): make per-instance launch hooks clearable (#3757)
* fix(app): make per-instance launch hooks clearable

* chore(apps/app-frontend): fix Prettier lints
2025-06-13 20:53:47 +00:00
Alejandro González 4e3bd4e282 enh(ci): optimize Turbo CI check workflow, track Rust and Node toolchain versions in well-known files (#3776)
* enh(ci): optimize Turbo CI check workflow, track Rust and Node toolchain versions in well-known files

* fix(ci): build `sqlx-cli` with `rustls` to fix Postgres TLS failures
2025-06-12 16:47:28 -07:00
Magnus Jensen 6955731def fix: undefined instance path by using emitted event instead when opening world folder (#3746)
* fix: undefined instance path by using emitted event instead

* fix: linting
2025-06-11 22:25:20 +00:00
IMB11andCopilot a2e323c9ee fix: MOD-292 repair button showing during installation (#3734)
* fix: MOD-292 repair button showing during installation

* fix: lint

* Update apps/app-frontend/src/pages/instance/Index.vue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: IMB11 <hendersoncal117@gmail.com>

* fix: lint issues

---------

Signed-off-by: IMB11 <hendersoncal117@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-11 21:54:08 +00:00
Magnus Jensen 3489771d2e fix: reset reset-icon state value correctly in edit world modal (#3748) 2025-06-05 22:03:52 +00:00
Prospector c0accb42fa Servers new purchase flow (#3719)
* New purchase flow for servers, region selector, etc.

* Lint

* Lint

* Fix expanding total
2025-06-03 09:20:53 -07:00
lumiscosity 37cc81a36d chore: optimize PNGs (#3647) 2025-05-15 11:49:01 +00:00
Prospector ec2a56cd73 intl:extract 2025-05-07 19:18:13 -07:00
Calum H. 1884410e0d fix: standardize relative timestamping (#3612)
* fix(frontend): relative timestamps are incorrectly rounded.

Closes: #1371

* fix(all): remove legacy fromNow for proper relative timestamp creation

Closes: #1395
2025-05-07 21:37:35 +00:00
Josiah Glosson 2d5d2d5df8 Fix to attached world data (#3618)
* Add AttachedWorldData::remove_for_world

* Box the S3 error for daedelus_client ErrorKind::S3

* Delete attached world data on world deletion
2025-05-06 15:06:46 +00:00
Alejandro González 8dd32bbe98 Fix macOS Theseus build issue, cleanup platform specific code (#3604)
* chore(theseus): significantly cleanup MacOS-specific code

* fix(labrinth): only use jemalloc allocator for Linux targets

The upstream crate asserts that its tests only pass for Linux targets,
and there's little point in supporting other OS for now since practical
Labrinth deployments run under a Linux environment anyway. This change
made it easier for me to cross-compile Labrinth.

* chore(theseus): tweak traffic lights pos according to https://github.com/modrinth/code/commit/c39bb78e38cb9cfe13f01f4a9bee277881b52efb

As far as I understand it, that PR introduced the seemingly ad-hoc
additions of 6 and 12 units to the traffic light position calculations,
not directly modifying the `const` values introduced by
https://github.com/modrinth/code/commit/d6a72fbfc4613a45acaa38e0e73da9bcc455e87a.

* fix: re-enable app window shadows on Linux

* chore: log `window.set_shadow` errors

* chore: trigger CI
2025-05-05 19:38:10 +00:00
Prospector 4180544e0a Bump version 2025-05-01 17:49:31 -07:00
3dad6b317f MR App 0.9.5 - Big bugfix update (#3585)
* Add launcher_feature_version to Profile

* Misc fixes

- Add typing to theme and settings stuff
- Push instance route on creation from installing a modpack
- Fixed servers not reloading properly when first added

* Make old instances scan the logs folder for joined servers on launcher startup

* Create AttachedWorldData

* Change AttachedWorldData interface

* Rename WorldType::World to WorldType::Singleplayer

* Implement world display status system

* Fix Minecraft font

* Fix set_world_display_status Tauri error

* Add 'Play instance' option

* Add option to disable worlds showing in Home

* Fixes

- Fix available server filter only showing if there are some available
- Fixed server and singleplayer filters sometimes showing when there are only servers or singleplayer worlds
- Fixed new worlds not being automatically added when detected
- Rephrased Jump back into worlds option description

* Fixed sometimes more than 6 items showing up in Jump back in

* Fix servers.dat issue with instances you haven't played before

* Fix too large of bulk requests being made, limit max to 800 #3430

* Add hiding from home page, add types to Mods.vue

* Make recent worlds go into grid when display is huge

* Fix lint

* Remove redundant media query

* Fix protocol version on home page, and home page being blocked by pinging servers

* Clippy fix

* More Clippy fixes

* Fix Prettier lints

* Undo `from_string` changes

---------

Co-authored-by: Josiah Glosson <soujournme@gmail.com>
Co-authored-by: Alejandro González <me@alegon.dev>
2025-05-01 16:13:13 -07:00
Jai A 9e9fb0a9fc Bump app version + update posthog URL 2025-04-26 18:14:17 -07:00
ff4c7f47b2 Direct World Joining (#3457)
* Begin work on worlds backend

* Finish implementing get_profile_worlds and get_server_status (except pinning)

* Create TS types and manually copy unparsed chat components

* Clippy fix

* Update types.d.ts

* Initial worlds UI work

* Fix api::get_profile_worlds to take in a relative path

* sanitize & security update

* Fix sanitizePotentialFileUrl

* Fix sanitizePotentialFileUrl (for real)

* Fix empty motd causing error

* Finally actually fix world icons

* Fix world icon not being visible on non-Windows

* Use the correct generics to take in AppHandle

* Implement start_join_singleplayer_world and start_join_server for modern versions

* Don't error if server has no cached icon

* Migrate to own server pinging

* Ignore missing server hidden field and missing saves dir

* Update world list frontend

* More frontend work

* Server status player sample can be absent

* Fix refresh state

* Add get_profile_protocol_version

* Add protocol_version column to database

* SQL INTEGER is i64 in sqlx

* sqlx prepare

* Cache protocol version in database

* Continue worlds UI work

* Fix motds being bold

* Remove legacy pinging and add a 30-second timeout

* Remove pinned for now and match world (and server) parsing closer to spec

* Move type ServerStatus to worlds.ts

* Implement add_server_to_profile

* Fix pack_status being ignored when joining from launcher

* Make World path field be relative

* Implement rename_world and reset_world_icon

* Clippy fix

* Fix rename_world

* UI enhancements

* Implement backup_world, which returns the backup size in bytes

* Clippy fix

* Return index when adding servers to profile

* Fix backup

* Implement delete_world

* Implement edit_server_in_profile and remove_server_from_profile

* Clippy fix

* Log server joins

* Add edit and delete support

* Fix ts errors

* Fix minecraft font

* Switch font out for non-monospaced.

* Fix font proper

* Some more world cleanup, handle play state, check quickplay compatibility

* Clear the cached protocol version when a profile's game version is changed

* Fix tint colors in navbar

* Fix server protocol version pinging

* UI fixes

* Fix protocol version handler

* Fix MOTD parsing

* Add worlds_updated profile event

* fix pkg

* Functional home screen with worlds

* lint

* Fix incorrect folder creation

* Make items clickable

* Add locked field to SingleplayerWorld indicating whether the world is locked by the game

* Implement locking frontend

* Fix locking condition

* Split worlds_updated profile event into servers_updated and world_updated

* Fix compile error

* Use port from resolve SRV record

* Fix serialization of ProfilePayload and ProfilePayloadType

* Individual singleplayer world refreshing

* Log when worlds are perceived to be updated

* Push logging + total refresh lock

* Unlisten fixes

* Highlight current world when clicked

* Launcher logs refactor (#3444)

* Switch live log to use STDOUT

* fix clippy, legacy logs support

* Fix lint

* Handle non-XML log messages in XML logging, and don't escape log messages into XML

---------

Co-authored-by: Josiah Glosson <soujournme@gmail.com>

* Update incompatibility text

* Home page fixes, and unlock after close

* Remove logging

* Add join log database migration

* Switch server join timing to being in the database instead of in a separate log file

* Create optimized get_recent_worlds function that takes in a limit

* Update dependencies and fix Cargo.lock

* temp disable overflow menus

* revert home page changes

* Enable overflow menus again

* Remove list

* Revert

* Push dev tools

* Remove default filter

* Disable debug renderer

* Fix random app errors

* Refactor

* Fix missing computed import

* Fix light mode issues

* Fix TS errors

* Lint

* Fix bad link in change modpack version modal

* fix lint

* fix intl

---------

Co-authored-by: Josiah Glosson <soujournme@gmail.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Jai Agrawal <18202329+Geometrically@users.noreply.github.com>
2025-04-26 18:09:58 -07:00
maksimetny f695fe0ee7 Adds drag region support for touch screens (#3178)
https://github.com/tauri-apps/tauri/issues/4746#issuecomment-2007114269

Signed-off-by: maksimetny <46288028+maksimetny@users.noreply.github.com>
2025-04-19 19:18:37 +00:00
Magnus JensenandEmma Alexia 42731521f1 fix: instance project author link not checking for organizations (#3315)
Co-authored-by: Emma Alexia <emma@modrinth.com>
2025-04-19 13:44:46 +00:00
Prospector a20374d6e3 Fix errors with intl extraction, extract error.vue (#3421)
* Fix errors with intl extraction, extract error.vue

* Update changelog and fix lint
2025-03-25 10:38:04 -07:00