Browse Source

add BX currency, add link for user's activity, tweak verbiage

kb/add-usage-guide
Trent Larson 3 months ago
parent
commit
c7c6b7c071
  1. 2
      src/libs/util.ts
  2. 12
      src/views/AccountViewView.vue
  3. 2
      src/views/ContactsView.vue

2
src/libs/util.ts

@ -17,6 +17,7 @@ export const PRIVACY_MESSAGE =
/* eslint-disable prettier/prettier */ /* eslint-disable prettier/prettier */
export const UNIT_SHORT: Record<string, string> = { export const UNIT_SHORT: Record<string, string> = {
"BX": "BX",
"BTC": "BTC", "BTC": "BTC",
"ETH": "ETH", "ETH": "ETH",
"HUR": "Hours", "HUR": "Hours",
@ -26,6 +27,7 @@ export const UNIT_SHORT: Record<string, string> = {
/* eslint-disable prettier/prettier */ /* eslint-disable prettier/prettier */
export const UNIT_LONG: Record<string, string> = { export const UNIT_LONG: Record<string, string> = {
"BX": "Buxbe",
"BTC": "Bitcoin", "BTC": "Bitcoin",
"ETH": "Ethereum", "ETH": "Ethereum",
"HUR": "hours", "HUR": "hours",

12
src/views/AccountViewView.vue

@ -103,9 +103,9 @@
</div> </div>
<div class="mt-6"> <div class="mt-6">
<div class="flex justify-center text-center"> <div class="flex justify-center text-center">
People {{ profileImageUrl ? "without your image" : "" }} see this: People {{ profileImageUrl ? "without your image" : "" }} see this
<br /> <br />
(if you've let them see your activity) (if you've let them see your activity):
</div> </div>
<div class="flex justify-center"> <div class="flex justify-center">
<EntityIcon <EntityIcon
@ -149,6 +149,12 @@
</button> </button>
<span v-show="showDidCopy">Copied</span> <span v-show="showDidCopy">Copied</span>
</div> </div>
<div class="text-blue-500 text-sm font-bold">
<router-link :to="{ path: '/did/' + encodeURIComponent(activeDid) }">
Activity
</router-link>
</div>
</div> </div>
<!-- Registration notice --> <!-- Registration notice -->
@ -387,7 +393,7 @@
> >
<!-- label --> <!-- label -->
<span class="text-slate-500 text-sm font-bold">Contacts Display</span> <span class="text-slate-500 text-sm font-bold">Contacts Display</span>
<span class="ml-2">Show amounts given</span> <span class="ml-2">Show hours given & received</span>
<!-- toggle --> <!-- toggle -->
<div class="relative ml-2"> <div class="relative ml-2">
<!-- input --> <!-- input -->

2
src/views/ContactsView.vue

@ -47,7 +47,7 @@
class="text-md bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1 py-1 rounded-md" class="text-md bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1 py-1 rounded-md"
@click="toggleShowContactAmounts()" @click="toggleShowContactAmounts()"
> >
{{ showGiveNumbers ? "Hide Given Numbers" : "Show Given Numbers" }} {{ showGiveNumbers ? "Hide Given Hours" : "Show Given Hours" }}
</button> </button>
</div> </div>
<div class="flex justify-between mt-1" v-if="showGiveNumbers"> <div class="flex justify-between mt-1" v-if="showGiveNumbers">

Loading…
Cancel
Save