Browse Source
			
			
			
			
				
		Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/kick-starter-for-time-pwa/pulls/13tweaks
				 19 changed files with 336 additions and 120 deletions
			
			
		| @ -0,0 +1,11 @@ | |||
| export interface Contact { | |||
|   did: string; | |||
|   name?: string; | |||
|   publicKeyBase64?: string; | |||
|   seesMe?: boolean; | |||
|   registered?: boolean; | |||
| } | |||
| 
 | |||
| export const ContactsSchema = { | |||
|   contacts: "++did, name, publicKeyBase64, registered, seesMe", | |||
| }; | |||
| @ -0,0 +1,13 @@ | |||
| // a singleton
 | |||
| export type Settings = { | |||
|   id: number; | |||
|   firstName?: string; | |||
|   lastName?: string; | |||
|   showContactGivesInline?: boolean; | |||
| }; | |||
| 
 | |||
| export const SettingsSchema = { | |||
|   settings: "id", | |||
| }; | |||
| 
 | |||
| export const MASTER_SETTINGS_KEY = 1; | |||
| @ -0,0 +1,139 @@ | |||
| <template> | |||
|   <!-- QUICK NAV --> | |||
|   <nav id="QuickNav" class="fixed bottom-0 left-0 right-0 bg-slate-200"> | |||
|     <ul class="flex text-2xl p-2 gap-2"> | |||
|       <!-- Home Feed --> | |||
|       <li class="basis-1/5 rounded-md text-slate-500"> | |||
|         <router-link :to="{ name: 'home' }" class="block text-center py-3 px-1"> | |||
|           <fa icon="house-chimney" class="fa-fw"></fa> | |||
|         </router-link> | |||
|       </li> | |||
|       <!-- Search --> | |||
|       <li class="basis-1/5 rounded-md text-slate-500"> | |||
|         <router-link | |||
|           :to="{ name: 'discover' }" | |||
|           class="block text-center py-3 px-1" | |||
|         > | |||
|           <fa icon="magnifying-glass" class="fa-fw"></fa> | |||
|         </router-link> | |||
|       </li> | |||
|       <!-- Projects --> | |||
|       <li class="basis-1/5 rounded-md text-slate-500"> | |||
|         <router-link | |||
|           :to="{ name: 'projects' }" | |||
|           class="block text-center py-3 px-1" | |||
|         > | |||
|           <fa icon="folder-open" class="fa-fw"></fa> | |||
|         </router-link> | |||
|       </li> | |||
|       <!-- Contacts --> | |||
|       <li class="basis-1/5 rounded-md text-slate-500"> | |||
|         <router-link | |||
|           :to="{ name: 'contacts' }" | |||
|           class="block text-center py-3 px-1" | |||
|         > | |||
|           <fa icon="users" class="fa-fw"></fa> | |||
|         </router-link> | |||
|       </li> | |||
|       <!-- Profile --> | |||
|       <li class="basis-1/5 rounded-md text-slate-400"> | |||
|         <router-link | |||
|           :to="{ name: 'account' }" | |||
|           class="block text-center py-3 px-1" | |||
|         > | |||
|           <fa icon="circle-user" class="fa-fw"></fa> | |||
|         </router-link> | |||
|       </li> | |||
|     </ul> | |||
|   </nav> | |||
| 
 | |||
|   <!-- CONTENT --> | |||
|   <section id="Content" class="p-6 pb-24"> | |||
|     <!-- Heading --> | |||
|     <h1 id="ViewHeading" class="text-4xl text-center font-light pt-4 mb-8"> | |||
|       Help | |||
|     </h1> | |||
| 
 | |||
|     <div> | |||
|       <h2 class="text-xl font-semibold">Introduction</h2> | |||
|       <p> | |||
|         This app is a window into data that you and your friends own, focused on | |||
|         gifts and collaboration. | |||
|       </p> | |||
| 
 | |||
|       <h2 class="text-xl font-semibold">How do I backup all my data?</h2> | |||
|       <p> | |||
|         There are two parts to backup your data: the identifier secrets and the | |||
|         other data such as settings, contacts, etc. | |||
|       </p> | |||
| 
 | |||
|       <div class="px-4"> | |||
|         <h2 class="text-xl font-semibold"> | |||
|           How do I backup my identifier (secret) data? | |||
|         </h2> | |||
|         <ul class="list-disc list-inside"> | |||
|           <li> | |||
|             Go to Your Identity <fa icon="circle-user" class="fa-fw" /> page. | |||
|           </li> | |||
|           <li> | |||
|             Click on "Backup Identifier Seed" and follow the instructions. | |||
|           </li> | |||
|         </ul> | |||
| 
 | |||
|         <h2 class="text-xl font-semibold"> | |||
|           How do I backup my other (non-identifier-secret) data? | |||
|         </h2> | |||
|         <ul class="list-disc list-inside"> | |||
|           <li> | |||
|             Go to Your Identity <fa icon="circle-user" class="fa-fw" /> page. | |||
|           </li> | |||
|           <li> | |||
|             Click on "Download Settings...". That will save a file to your | |||
|             downloads folder. That is your backup, so put it someplace where you | |||
|             won't lose it. | |||
|           </li> | |||
|         </ul> | |||
|       </div> | |||
| 
 | |||
|       <h2 class="text-xl font-semibold">How do I restore my data?</h2> | |||
|       <p> | |||
|         There are two parts to restore your data: the identity secrets and the | |||
|         other data such as settings, contacts, etc. | |||
|       </p> | |||
| 
 | |||
|       <div class="px-4"> | |||
|         <h2 class="text-xl font-semibold"> | |||
|           How do I restore my identifier (secret) data? | |||
|         </h2> | |||
|         <ul class="list-disc list-inside"> | |||
|           <li> | |||
|             You only have one identifier at a time. If you have an identifier on | |||
|             Your Identity <fa icon="circle-user" class="fa-fw" /> page, you'll | |||
|             need to clear it out; | |||
|             <a | |||
|               href="https://www.lifewire.com/how-to-clear-cache-2617980" | |||
|               class="text-blue-500" | |||
|             > | |||
|               here are some helpful instructions. | |||
|             </a> | |||
|             But beware! This will also clear out your settings and contact data, | |||
|             so be sure to back that up first. | |||
|           </li> | |||
|           <li> | |||
|             <router-link class="text-blue-500" to="/"> | |||
|               Go to the start | |||
|             </router-link> | |||
|             and choose "Yes" to enter the identity you backed up. | |||
|           </li> | |||
|         </ul> | |||
| 
 | |||
|         <h2 class="text-xl font-semibold"> | |||
|           How do I restore my other (non-identifier-secret) data? | |||
|         </h2> | |||
|         <ul class="list-disc list-inside"> | |||
|           <li>Make sure you have your backup file (above), then contact us.</li> | |||
|         </ul> | |||
|       </div> | |||
|     </div> | |||
|   </section> | |||
| </template> | |||
					Loading…
					
					
				
		Reference in new issue