Skip to content

Commit

Permalink
change economic event symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
LeosPrograms committed Feb 6, 2024
1 parent 6f5f115 commit 9d537da
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 2 deletions.
44 changes: 44 additions & 0 deletions ui/src/lib/graphql/plan.fragments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,50 @@ export const SIMPLIFIED_PLAN_RETURN_FIELDS = gql`
}
`

export const COMMITMENT_RETURN_FIELDS = gql`
fragment CommitmentReturnFields on Commitment {
id
revisionId
hasBeginning
action {
id
label
}
meta {
retrievedRevision {
id
time
}
}
provider {
id
name
}
receiver {
id
name
}
resourceQuantity {
hasNumericalValue
hasUnit {
id
label
}
}
resourceConformsTo {
id
name
defaultUnitOfResource {
label
}
}
fulfilledBy {
id
}
finished
}
`

export const PROCESS_RETURN_FIELDS = gql`
fragment ProcessReturnFields on Process {
id
Expand Down
19 changes: 17 additions & 2 deletions ui/src/lib/icons/EconomicEvent.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<svg
<!-- <svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
Expand All @@ -11,4 +11,19 @@
<path
d="M4 12h16m-16 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"
/>
</svg>
</svg> -->

<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
<!-- Notebook cover -->
<rect x="10%" y="10%" width="80%" height="80%" fill="#fff" stroke="black" stroke-width="1"/>

<!-- Dollar sign -->
<text x="48%" y="58%" font-size="80%" fill="black">☰</text>
<text x="48%" y="88%" font-size="80%" fill="black">☰</text>

<!-- Notebook binding -->
<line x1="50%" y1="10%" x2="50%" y2="90%" stroke="black" stroke-width="2"/>

<!-- Dollar sign -->
<text x="15%" y="65%" font-size="80%" fill="black">$</text>
</svg>

0 comments on commit 9d537da

Please sign in to comment.