refactor: content tab styling (#7091)

* refactor: managed content card

* fix: update filter pill styling to be chips-like

* fix: modpack exporting

* fixed: vanilla server projs + header

* refactor: filters

* refactor: detect external file icons + other metadata inside

* refactor: support json5 metadata

* fix: qa

* fix: qa

* fix: fmt + prepr

* fix: fmt

* fix: qa

* fix: headers

* feat: locking

* fix: clippy

* fix: qa

* fix: frozen loc

* fix: shared instances diff calc break

* fix: env filter + remove categories
This commit is contained in:
Calum H.
2026-08-13 14:55:35 +00:00
committed by GitHub
parent e087e571f3
commit 06b7c44dcc
126 changed files with 3654 additions and 3473 deletions
+12
View File
@@ -46,6 +46,7 @@ pub fn init<R: tauri::Runtime>() -> tauri::plugin::TauriPlugin<R> {
instance_add_project_from_path,
instance_is_file_on_modrinth,
instance_toggle_disable_project,
instance_set_project_locked,
instance_remove_project,
instance_update_managed_modrinth_version,
instance_repair_managed_modrinth,
@@ -702,6 +703,17 @@ pub async fn instance_toggle_disable_project(
.await?)
}
#[tauri::command]
pub async fn instance_set_project_locked(
instance_id: &str,
project_path: &str,
locked: bool,
) -> Result<()> {
theseus::instance::set_project_locked(instance_id, project_path, locked)
.await?;
Ok(())
}
#[tauri::command]
pub async fn instance_remove_project(
instance_id: &str,