mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
* refactor: remove unused legacy onboarded flag * sqlx prepare * feat: add onboarding checklist app db and add vue provider * feat: add welcome page * feat: add onboarding checklist component * feat: move checklist visibility source of truth in app db * feat: split up import modpack button * feat-small: style tweak * feat: remove discover section from homepage and add library * refactor: move welcome screen to component * refactor: move grid display into /library * refactor: rename existing components * refactor: split up the current library page files * feat: add create group modal * feat: add instance group definitions * feat: update accordian for instance groups * feat: add delete group * feat: implement rename instance groups * refactor: move instance group api out * feat: add context menu for groups * feat: style instance items in library * feat: add selected instance item state * feat: implement action bar for selection * feat: drag and drop to move between groups * feat: show ungrouped with header * feat: improve edit group name * small fix * small style fixes * feat: improve selection behaviour * fix: dont toggle group when context menu open * feat: drag and drop multiple selected * small * feat: add remove from group in action bar * feat: add delay on icon hiding in inline input * feat: improve icon hiding delay * fix: bad routes.js * feat: implement sort and filter options * refactor: dont prefix filenames * feat: change open/collapse group target * feat: improve ungrouped behaviour * feat: add shift to select multiple instances * fix: icon disappear transition * feat: add esc while dragging to cancel * feat: update sorting and moved label * feat: update context menu * fix: multiple context menus can be opened * refactor: instance groups to be identified by ID instead of name, names become display data * feat: creating new group always adds instance * feat: create group button, fix instance selection, and increase group name max length * feat: strokes * fix: show getting started checklist in all sidebar * feat: set size on microsoft login screen * fix: use ButtonStyled in Chips component * feat: creating groups with selected instances and fix some moving selection and duplication bugs * pnpm prepr * feat: add tooltip for instance already in group * feat: create instance with content in creation flow modal - search modpack becomes search projects - creation flow modal context receives prepareProjectInstall and createProjectInstall callbacks, from content-install.ts (shared with ContentInstallModal) * feat: update instance card styles * refactor: separate out instance card content * update styles * refactor: instance card * fix: width of instance * feat: update empty state * feat: update sort and grouping dropdowns * feat: better context menu options * feat: add group action buttons * feat: add/remove favourites group * remove manual sort * feat: improve the "New group" jank * feat: add group by instance type and change group sorting * feat: welcome screen styles match figma * feat: not signed in skins demo * feat: new hosting empty state * feat: new instance card style * feat: add tooltip and spice up animation more * feat: improve the transitions for groups after dropping many instances * feat: set instance group membership for bulk moving * feat: remove fade out * fix: allow dragging from buttons inside instance card * fix: library page load in behaviour * small fix * feat: add group ordering and reordering * feat: add drag to reorder groups * fix: switching page not clearing selected instances * style fixes * style fix * fix spacing * feat: jump in changes * feat: add styled newly created instances * feat: improve jump in cards styles * fix: welcome screen style * fix: empty state styles * feat: max 5 jump in items * feat: max new instances to 3 * fix: search icon * feat: clear selection after move * feat: skins list use check icon styles * feat: list will be deleted instances and default sort last played * fix: stroke * remove: no more group settings in instance general settings * fix: resolving modpack server install * feat: icon editor * feat: add three hue shifted variants * fix: surprise me doesnt pick symbol * feat: add customize icon to create instance modal * feat: skins loading state style * fix: welcome logo * fix: copy * fix: left over usage of ButtonStyled from main's refactor * feat: some leaked merge stuff * feat: server empty state styles * remove: instance helper text * remove: auto link in set up stage * feat: auto focus on search when modal open * fix: delete instance modal style * remove: modpack meta repeating * fix: icon * fix: font weight * fix: dropdown filter preview heights * pnpm prepr * fix: sign into modrinth flashing change in position * feat: add avatar transparent corner gets padding * feat: drag and hold over group opens group * feat: add random icon for custom instance * feat: update loading icon * polish: empty state for search * polish: jump in cards * fix: avatar could skip checking for image if tauri loads it first * feat: add icon customize and randomizer in content install modal for add to new instances * fix: avatar cannot read image pixels due to cors * refactor: popup notifications toast type for instance sharing notifications * feat: apply random icons modal and add popup notification for it * polish: style * fix: set_webview_visible * QA * qa * feat: add inner white 15 opacity stroke around avatar * add to catalog * pnpm prepr * fix: app event import * feat: add new icons and backgrounds for icon editor * feat: recents list generate from randomized icons and save icon in editor + icon editor modal fixes * qa * refactor: recipe -> config * fix: event bus * polish * feat: add safe guard against randomizing empty icons * feat: navigate to instance after creation * fix: icon file names * i18n on welcome screen * i18n pass on PR * fix: inconsistent max group name length * refactor: use sqlx macro * feat: add instance icon background selection drag * feat: update catalog order * fix: remove gradient for welcome screen * remove: frog * fix: min width * feat: update corner size * fix: context menu styles * prepr * fix: instance name trimming * reorder * fix: instance card loading state stayed until hovering * feat: add icon randomizer blacklist * blog * prepr --------- Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
309 lines
11 KiB
JSON
309 lines
11 KiB
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "\n SELECT\n i.id AS \"id!: String\",\n i.path AS \"path!: String\",\n i.applied_content_set_id AS \"applied_content_set_id?: String\",\n i.install_stage AS \"install_stage!: String\",\n i.launcher_feature_version AS \"launcher_feature_version!: String\",\n i.update_channel AS \"update_channel!: String\",\n i.name AS \"name!: String\",\n i.icon_path AS \"icon_path?: String\",\n config.background AS \"icon_config_background?: String\",\n config.symbol AS \"icon_config_symbol?: String\",\n i.created AS \"created!: i64\",\n i.modified AS \"modified!: i64\",\n i.last_played AS \"last_played?: i64\",\n i.submitted_time_played AS \"submitted_time_played!: i64\",\n i.recent_time_played AS \"recent_time_played!: i64\",\n cs.id AS \"content_set_id?: String\",\n cs.instance_id AS \"content_set_instance_id?: String\",\n cs.name AS \"content_set_name?: String\",\n cs.source_kind AS \"content_set_source_kind?: String\",\n cs.status AS \"content_set_status?: String\",\n cs.game_version AS \"content_set_game_version?: String\",\n cs.protocol_version AS \"content_set_protocol_version?: i64\",\n cs.loader AS \"content_set_loader?: String\",\n cs.loader_version AS \"content_set_loader_version?: String\",\n cs.created AS \"content_set_created?: i64\",\n cs.modified AS \"content_set_modified?: i64\",\n COALESCE(link.link_kind, 'unmanaged') AS \"link_kind!: String\",\n link.modrinth_project_id AS \"modrinth_project_id?: String\",\n link.modrinth_version_id AS \"modrinth_version_id?: String\",\n link.server_project_id AS \"server_project_id?: String\",\n link.content_project_id AS \"content_project_id?: String\",\n link.content_version_id AS \"content_version_id?: String\",\n link.hosting_server_id AS \"hosting_server_id?: String\",\n json(link.hosting_instance_ids) AS \"hosting_instance_ids?: String\",\n link.hosting_active_instance_id AS \"hosting_active_instance_id?: String\",\n link.shared_instance_id AS \"shared_instance_id?: String\",\n link.shared_instance_role AS \"shared_instance_role?: String\",\n link.shared_instance_manager_id AS \"shared_instance_manager_id?: String\",\n link.shared_instance_server_manager_name AS \"shared_instance_server_manager_name?: String\",\n link.shared_instance_server_manager_icon_url AS \"shared_instance_server_manager_icon_url?: String\",\n link.shared_instance_linked_user_id AS \"shared_instance_linked_user_id?: String\",\n sync.applied_update_id AS \"shared_sync_applied_update_id?: String\",\n sync.latest_available_update_id AS \"shared_sync_latest_available_update_id?: String\",\n sync.status AS \"shared_sync_status?: String\",\n link.imported_name AS \"imported_name?: String\",\n link.imported_version_number AS \"imported_version_number?: String\",\n link.imported_filename AS \"imported_filename?: String\",\n COALESCE((\n SELECT json_group_array(id)\n FROM (\n SELECT groups.id\n FROM instance_group_memberships memberships\n INNER JOIN instance_groups groups\n ON groups.id = memberships.group_id\n WHERE memberships.instance_id = i.id\n ORDER BY groups.name\n )\n ), '[]') AS \"group_ids!: String\",\n json(overrides.overrides) AS \"launch_overrides?: String\"\n FROM instances i\n LEFT JOIN instance_content_sets cs\n ON cs.id = i.applied_content_set_id\n AND cs.instance_id = i.id\n LEFT JOIN instance_links link\n ON link.instance_id = i.id\n LEFT JOIN instance_content_set_sync_state sync\n ON sync.content_set_id = cs.id\n AND sync.provider = 'shared_instance'\n LEFT JOIN instance_launch_overrides overrides\n ON overrides.instance_id = i.id\n LEFT JOIN instance_icon_configs config\n ON config.instance_id = i.id\n WHERE 1 = ?",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id!: String",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "path!: String",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "applied_content_set_id?: String",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "install_stage!: String",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "launcher_feature_version!: String",
|
|
"ordinal": 4,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "update_channel!: String",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "name!: String",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "icon_path?: String",
|
|
"ordinal": 7,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "icon_config_background?: String",
|
|
"ordinal": 8,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "icon_config_symbol?: String",
|
|
"ordinal": 9,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created!: i64",
|
|
"ordinal": 10,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "modified!: i64",
|
|
"ordinal": 11,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "last_played?: i64",
|
|
"ordinal": 12,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "submitted_time_played!: i64",
|
|
"ordinal": 13,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "recent_time_played!: i64",
|
|
"ordinal": 14,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "content_set_id?: String",
|
|
"ordinal": 15,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_instance_id?: String",
|
|
"ordinal": 16,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_name?: String",
|
|
"ordinal": 17,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_source_kind?: String",
|
|
"ordinal": 18,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_status?: String",
|
|
"ordinal": 19,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_game_version?: String",
|
|
"ordinal": 20,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_protocol_version?: i64",
|
|
"ordinal": 21,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "content_set_loader?: String",
|
|
"ordinal": 22,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_loader_version?: String",
|
|
"ordinal": 23,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_set_created?: i64",
|
|
"ordinal": 24,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "content_set_modified?: i64",
|
|
"ordinal": 25,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "link_kind!: String",
|
|
"ordinal": 26,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "modrinth_project_id?: String",
|
|
"ordinal": 27,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "modrinth_version_id?: String",
|
|
"ordinal": 28,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "server_project_id?: String",
|
|
"ordinal": 29,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_project_id?: String",
|
|
"ordinal": 30,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_version_id?: String",
|
|
"ordinal": 31,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "hosting_server_id?: String",
|
|
"ordinal": 32,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "hosting_instance_ids?: String",
|
|
"ordinal": 33,
|
|
"type_info": "Null"
|
|
},
|
|
{
|
|
"name": "hosting_active_instance_id?: String",
|
|
"ordinal": 34,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_instance_id?: String",
|
|
"ordinal": 35,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_instance_role?: String",
|
|
"ordinal": 36,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_instance_manager_id?: String",
|
|
"ordinal": 37,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_instance_server_manager_name?: String",
|
|
"ordinal": 38,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_instance_server_manager_icon_url?: String",
|
|
"ordinal": 39,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_instance_linked_user_id?: String",
|
|
"ordinal": 40,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_sync_applied_update_id?: String",
|
|
"ordinal": 41,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_sync_latest_available_update_id?: String",
|
|
"ordinal": 42,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "shared_sync_status?: String",
|
|
"ordinal": 43,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "imported_name?: String",
|
|
"ordinal": 44,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "imported_version_number?: String",
|
|
"ordinal": 45,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "imported_filename?: String",
|
|
"ordinal": 46,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "group_ids!: String",
|
|
"ordinal": 47,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "launch_overrides?: String",
|
|
"ordinal": 48,
|
|
"type_info": "Null"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
null,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
null
|
|
]
|
|
},
|
|
"hash": "2399d3074def96c3dbc29eccca98432a5f4a6588f644b2fded4fdfc0b0d9d407"
|
|
}
|