-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into custom-image-styling-issue
- Loading branch information
Showing
9 changed files
with
133 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
frontend/marketplace/src/components/ProjectDetailMaterial.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<script setup lang="ts"> | ||
import type { MaterialProperty } from "@/types/GraphqlSchema"; | ||
import { | ||
findPlasticTypeInMaterial, | ||
stripPlasticTypeFromMaterial, | ||
prettifyCardProperty, | ||
} from "@/utils/utils"; | ||
interface Props { | ||
materials: MaterialProperty[][]; | ||
label: string; | ||
} | ||
defineProps<Props>(); | ||
</script> | ||
<template> | ||
<div> | ||
<h2 class="details-label">{{ label }}</h2> | ||
<div v-for="(material, index) in materials" :key="`material-${index}`"> | ||
<h3>{{ findPlasticTypeInMaterial(material)?.value }}</h3> | ||
<ul class="list-disc ml-6"> | ||
<li | ||
v-for="property in stripPlasticTypeFromMaterial(material)" | ||
:key="property.key" | ||
class="text-title14" | ||
> | ||
{{ prettifyCardProperty(property) }} | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# v2.0.0 Upgrade | ||
|
||
The upgrade is scheduled for block `2697000`, which should be about _13:00 CET on 20th December 2023_. | ||
|
||
These instructions assume you are running Cosmovisor. | ||
NOTE: Cosmovisor will preform a full backup unless `UNSAFE_SKIP_BACKUP=true` is set as an environment variable. | ||
|
||
### Go version | ||
|
||
Go version 1.20.x is required to run the upgrade. | ||
|
||
### Build | ||
|
||
```bash | ||
# get the new version (run inside the repo) | ||
git fetch origin --tags | ||
git checkout v2.0.0 | ||
cd chain && make build && make install | ||
|
||
# check the version - should be v2.0.0 | ||
$HOME/go/bin/empowerd version | ||
> 2.0.0 | ||
# make a dir if you haven't | ||
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v2/bin | ||
|
||
# if you are using cosmovisor you then need to copy this new binary | ||
cp /home/<your-user>/go/bin/empowerd $DAEMON_HOME/cosmovisor/upgrades/v2/bin | ||
|
||
# find out what version you are about to run - should be v2.0.0 | ||
$DAEMON_HOME/cosmovisor/upgrades/v2/bin/empowerd version | ||
|
||
``` |