mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Tweak onboarding, add empty state for messages
This commit is contained in:
parent
24715a52be
commit
14a3eb5d86
12
ROADMAP.md
12
ROADMAP.md
@ -1,13 +1,7 @@
|
|||||||
# Current
|
# Current
|
||||||
|
|
||||||
- [ ] Collapse relaycard and relaycardsimple?
|
- [ ] Collapse relaycard and relaycardsimple?
|
||||||
- [ ] Onboarding
|
- [ ] Create my own version of nostr.how and extension explanation
|
||||||
- [ ] Create my own version of nostr.how and extension explanation
|
|
||||||
- [ ] Move extension suggestion to later in the app, maybe a notification if they don't have one installed
|
|
||||||
- [ ] Reassure user that if they don't copy the key now they can get it later in settings
|
|
||||||
- [ ] Design empty state for messages page
|
|
||||||
- [ ] Add copy to explain that chat is public, dms are encrypted
|
|
||||||
- [ ] Add QR code that pre-fills follows and relays for a new user
|
|
||||||
|
|
||||||
- [ ] Review sampleRelays, seems like we shouldn't be shuffling
|
- [ ] Review sampleRelays, seems like we shouldn't be shuffling
|
||||||
- [ ] Go over onboarding process, suggest some good relays for newcomers
|
- [ ] Go over onboarding process, suggest some good relays for newcomers
|
||||||
@ -41,6 +35,10 @@
|
|||||||
|
|
||||||
# Custom views
|
# Custom views
|
||||||
|
|
||||||
|
- [ ] Add QR code that pre-fills follows and relays for a new user
|
||||||
|
- If logged in, open a detail page that shows the relays and people
|
||||||
|
- If not logged in, pre-populate follows/relays in onboarding flow
|
||||||
|
- [ ] If someone logs in with their private key, create a notification to install an extension
|
||||||
- [ ] Add customize icon and route with editable custom view cards using "lists" nip
|
- [ ] Add customize icon and route with editable custom view cards using "lists" nip
|
||||||
- nevent1qqspjcqw2hu5gfcpkrjhs0aqvxuzjgtp50l375mcqjfpmk48cg5hevgpr3mhxue69uhkummnw3ez6un9d3shjtnhd3m8xtnnwpskxegpzamhxue69uhkummnw3ezuendwsh8w6t69e3xj7spramhxue69uhkummnw3ez6un9d3shjtnwdahxxefwv93kzer9d4usz9rhwden5te0wfjkccte9ejxzmt4wvhxjmcpr9mhxue69uhkummnw3ezuer9d3hjuum0ve68wctjv5n8hwfg
|
- nevent1qqspjcqw2hu5gfcpkrjhs0aqvxuzjgtp50l375mcqjfpmk48cg5hevgpr3mhxue69uhkummnw3ez6un9d3shjtnhd3m8xtnnwpskxegpzamhxue69uhkummnw3ezuendwsh8w6t69e3xj7spramhxue69uhkummnw3ez6un9d3shjtnwdahxxefwv93kzer9d4usz9rhwden5te0wfjkccte9ejxzmt4wvhxjmcpr9mhxue69uhkummnw3ezuer9d3hjuum0ve68wctjv5n8hwfg
|
||||||
- [ ] Custom views should combine pubkeys, relays, event ids, and topics
|
- [ ] Custom views should combine pubkeys, relays, event ids, and topics
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<Content size="lg" class="text-center">No alerts found - check back later!</Content>
|
<Content size="lg" class="text-center">No notifications found - check back later!</Content>
|
||||||
{/each}
|
{/each}
|
||||||
</Content>
|
</Content>
|
||||||
{:else}
|
{:else}
|
||||||
|
@ -29,5 +29,10 @@
|
|||||||
<Tabs tabs={["messages", "requests"]} {activeTab} {setActiveTab} {getDisplay} />
|
<Tabs tabs={["messages", "requests"]} {activeTab} {setActiveTab} {getDisplay} />
|
||||||
{#each getContacts(activeTab) as contact (contact.pubkey)}
|
{#each getContacts(activeTab) as contact (contact.pubkey)}
|
||||||
<MessagesListItem {contact} />
|
<MessagesListItem {contact} />
|
||||||
|
{:else}
|
||||||
|
<Content size="lg" class="text-center">
|
||||||
|
No messages found - start a conversation by clicking the envelope button on someone's
|
||||||
|
profile.
|
||||||
|
</Content>
|
||||||
{/each}
|
{/each}
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
export let privkey
|
export let privkey
|
||||||
|
|
||||||
const nsec = nip19.nsecEncode(privkey)
|
const nsec = nip19.nsecEncode(privkey)
|
||||||
const nip07 = "https://github.com/nostr-protocol/nips/blob/master/07.md"
|
|
||||||
|
|
||||||
const copyKey = () => {
|
const copyKey = () => {
|
||||||
copyToClipboard(nsec)
|
copyToClipboard(nsec)
|
||||||
@ -34,8 +33,6 @@
|
|||||||
</Anchor>
|
</Anchor>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
Avoid pasting your key into too many apps and websites. Instead, use a <Anchor
|
If you don't want to save your keys now, you can find them later in Coracle's settings.
|
||||||
href={nip07}
|
|
||||||
external>compatible browser extension</Anchor> to securely store your key.
|
|
||||||
</p>
|
</p>
|
||||||
</Content>
|
</Content>
|
||||||
|
Loading…
Reference in New Issue
Block a user