Skip to content

Commit

Permalink
nip-51 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wds4 committed Oct 14, 2023
1 parent b99e5d6 commit 2d4a4ab
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 20 deletions.
Empty file modified assets/icons/1024x1024.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/128x128.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/16x16.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/24x24.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/256x256.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/32x32.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/48x48.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/512x512.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/64x64.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icons/96x96.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ const DownloadContainer = () => {
By default, lists entitled 'Nostr Devs' and 'imported Nostr Devs' are
downloaded at startup for use with some of the feature demos. Lists
authored by individual users are downloaded automatically in the Lists
section of the user profile page.
section of the user profile page. You can clear the local database in the
NIP-51 Settings page.
</div>
</div>
</>
Expand Down
4 changes: 3 additions & 1 deletion src/renderer/window1/apps/nostr/landingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ export default class NostrLandingPage extends React.Component {
</div>
</NavLink>
<div>Updating pubkey list for Channels ...</div>
<ChannelManagement />
<div style={{display: 'none'}}>
<ChannelManagement />
</div>
</div>
</div>
</>
Expand Down
32 changes: 24 additions & 8 deletions src/renderer/window1/apps/prettyGood/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,29 @@ export default class PrettyGoodHome extends React.Component {
</div>
<div id="mainCol">
<Masthead />
<div id="mainPanel" style={{ paddingLeft: '20px' }}>
<div id="mainPanel" style={{ paddingLeft: '20px', fontSize: '20px' }}>
<div className="h2">Welcome to the Pretty Good family of apps</div>

<p>
Pretty Good Apps was built as a test of{' '}
Pretty Good Apps exists for one purpose: to experiment with different ways to
bring WEB OF TRUST to nostr!!
</p>

<p>
Strategy: build on the successes of NIP-51, which describes LISTS, with the
goal of giving Alice the ability to
delegate list curation to her web of trust via the{' '}
<a
href="https://github.com/wds4/DCoSL/tree/main"
target="_blank"
rel="noreferrer"
style={{ textDecoration: 'none' }}
>
DCoSL: Decentralized Curation of Simple Lists
</a>
. The DCoSL protocol allows you to <i>crowdsource</i> a list to
your web of trust in a way that is designed to resist sybil
DCoSL protocol
</a>{' '}
(Decentralized Curation of Simple Lists).
DCoSL is designed to allow users to <i>crowdsource</i> a list to
one's web of trust in a way that is designed to resist sybil
attacks and to generate{' '}
<a
href="https://github.com/wds4/DCoSL/blob/main/glossary/looseConsensus.md"
Expand All @@ -57,8 +65,16 @@ export default class PrettyGoodHome extends React.Component {
</p>

<p>
I don't claim DCoSL to be perfect. But I do think it's pretty
good! Give it a spin, see how it works, and decide for yourself.
STEP 1: the NIP-51 Lists app, including support for nostr's "a"-tag which allows Alice
to create a list composed of other lists by other users. I consider this to be a "minor" milestone
on the road towards WoT. It is possible today, with no changes to the nostr protocol.
I hope to see more devs add support for the a-tag to NIP-51 lists!
</p>

<p>
STEP 2: the Curated Lists app which provides full support for DCoSL. I consider this to be
a much more sophisticated and powerful implementation of WoT, but also requires much more
at the protocol level.
</p>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/renderer/window1/css/nostr/userList.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
.agTableSmallAvatarContainer {
display:inline-block;
position:relative;
width:30px;
height:30px;
width:35px;
height:35px;
}
.userListSmallAvatarContainer {
display:inline-block;
Expand All @@ -23,8 +23,8 @@
background-color:white;
border:1px solid black;
border-radius:250px;
width:95%;
height:95%;
width:94%;
height:94%;
margin: 0;
position: absolute;
top: 50%;
Expand Down
12 changes: 6 additions & 6 deletions src/renderer/window1/navbars/leftNavbar1/universalNavbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ const UniversalLeftNavbar1 = () => {
isActive ? 'leftNavButton leftNavButtonActive' : 'leftNavButton'
}
onClick={() => {
dispatch(updateCurrentApp('curatedLists'));
dispatch(updateCurrentApp('nip51'));
}}
to="/CuratedListsHome/CuratedListsWithScoresV8"
to="/NIP51Home"
>
<div style={{ fontSize: '32px' }}>📃</div>
<div style={{ fontSize: '12px' }}>Curated Lists</div>
<div style={{ fontSize: '12px' }}>NIP-51 Lists</div>
</NavLink>
</div>

Expand All @@ -117,12 +117,12 @@ const UniversalLeftNavbar1 = () => {
isActive ? 'leftNavButton leftNavButtonActive' : 'leftNavButton'
}
onClick={() => {
dispatch(updateCurrentApp('nip51'));
dispatch(updateCurrentApp('curatedLists'));
}}
to="/NIP51Home"
to="/CuratedListsHome/CuratedListsWithScoresV8"
>
<div style={{ fontSize: '32px' }}>📃</div>
<div style={{ fontSize: '12px' }}>NIP-51 Lists</div>
<div style={{ fontSize: '12px' }}>Curated Lists</div>
</NavLink>
</div>

Expand Down

0 comments on commit 2d4a4ab

Please sign in to comment.