Show/Hide Button for private key in Options page. Move experimental page into separate sub-folder. Move delegation wizard to sub-folder. Move permission page into separate folder. Basic functional SwiftUI look for the app. Beginning to define the main app view. NavigationStack and Privacy Policy Show App Icon on main screen. Getting Started: macOS Getting Started: iPhone Getting Started: iPad Removing old default UIKit code. Added "No Thanks" toggle to the relay reminder. Clearly indicate in the Settings page when a profile is a delegated profile. Changed recommended relays to all public relays. Use x-cloak in all the places. Fix bundle display name to use capital N. Added copy button to pubkey in settings. Window default size. Updating event kind list. Allow events to be copied by clicking on them in the event log. Tweaking the colors for a more purple-ish look. Added Tips and Tricks view to native app. Move utilities modules into separate folder. Rename event_log files to event_history to escape some content blockers. Renamed Event Log to Event History in the UI as well.
42 lines
1.3 KiB
Swift
42 lines
1.3 KiB
Swift
//
|
|
// SwiftUIView.swift
|
|
// Nostore
|
|
//
|
|
// Created by Ryan Breen on 2/19/23.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct TipsAndTricks: View {
|
|
var body: some View {
|
|
ScrollView {
|
|
Text("Tips and Tricks")
|
|
.font(.largeTitle)
|
|
.foregroundColor(.accentColor)
|
|
Spacer(minLength: 20.0)
|
|
Text("Try a few of these:")
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
Spacer(minLength: 20)
|
|
Text("""
|
|
1. You can have multiple profiles, each corresponding to a different key.
|
|
|
|
2. Click **Event History** in settings to see a list of all events signed by the extension.
|
|
|
|
3. Each client has its own set of permissions. You can review them at any time in **Settings**. They are organized by application host.
|
|
|
|
4. Clicking the event text in the **Event History** will copy a the raw event JSON.
|
|
|
|
5. If you have authorized the extension to talk to the client, but still don't see a special extension login button on the site, try hitting refresh on the site. The client may not recognize the extension code until you do that.
|
|
""")
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
.padding([.horizontal], 25)
|
|
}.padding(.all)
|
|
}
|
|
}
|
|
|
|
struct Tipsandtricks_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
TipsAndTricks()
|
|
}
|
|
}
|