Non modpack wireup & Project to profile install (#90)

* Base impl

* Make project type selectable

* Update Browse.vue

* address changes

* Quick create

* Run linter

* fix merge

* Addressed changes

* Installation improvements

* Run lint

* resourcepacks

* automatic installation of dependencies

* Fix bugs with search

* Addressed changes

* Run linter

* Fixed direct install not working

* Remove back to search

* Update Index.vue

* Addressed some changes

* Shader fix

* fix resetting

* Update Browse.vue

* fixed install not working properly

* Update Index.vue

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
This commit is contained in:
Adrian O.V
2023-05-08 19:27:27 -04:00
committed by GitHub
parent 65c1942037
commit b094a30677
14 changed files with 675 additions and 64 deletions

View File

@@ -45,7 +45,7 @@
:disabled="!filterLoader && !filterVersions && !filterCompatible"
:action="clearFilters"
>
<CheckCircleIcon />
<ClearIcon />
Clear Filters
</Button>
</div>
@@ -65,8 +65,14 @@
@click="$router.push(`/project/${$route.params.id}/version/${version.id}`)"
>
<div class="table-cell table-text">
<Button color="primary" icon-only @click.stop="() => install(version.id)">
<DownloadIcon />
<Button
color="primary"
icon-only
:disabled="installed"
@click.stop="() => install(version.id)"
>
<DownloadIcon v-if="!installed" />
<CheckIcon v-else />
</Button>
</div>
<div class="name-cell table-cell table-text">
@@ -126,7 +132,8 @@
import {
Card,
Button,
CheckCircleIcon,
CheckIcon,
ClearIcon,
Badge,
DownloadIcon,
Checkbox,
@@ -155,6 +162,10 @@ defineProps({
type: Function,
required: true,
},
installed: {
type: Boolean,
required: true,
},
})
</script>