Can only create new message on nostr feed

This commit is contained in:
austinkelsay 2024-10-18 14:49:01 -05:00
parent 1d2a21e24c
commit b9672f940d
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
3 changed files with 9 additions and 7 deletions

View File

@ -24,12 +24,12 @@ const headerTemplate = (options, windowWidth, platform, id) => {
<div className="flex flex-row justify-between items-end mb-2"> <div className="flex flex-row justify-between items-end mb-2">
<GenericButton outlined severity="primary" size="small" className="py-0" onClick={options.onTogglerClick} icon={options.collapsed ? 'pi pi-chevron-down' : 'pi pi-chevron-up'} tooltip={windowWidth <= 768 ? null : 'comments'} tooltipOptions={{ position: 'right' }} /> <GenericButton outlined severity="primary" size="small" className="py-0" onClick={options.onTogglerClick} icon={options.collapsed ? 'pi pi-chevron-down' : 'pi pi-chevron-up'} tooltip={windowWidth <= 768 ? null : 'comments'} tooltipOptions={{ position: 'right' }} />
<GenericButton <GenericButton
label={windowWidth > 768 ? `View in ${platform}` : null} label={windowWidth > 768 ? `View ${platform === 'nostr' ? 'on' : 'in'} ${platform}` : null}
icon="pi pi-external-link" icon="pi pi-external-link"
outlined outlined
size="small" size="small"
onClick={() => window.open(getPlatformLink(platform, id), '_blank')} onClick={() => window.open(getPlatformLink(platform, id), '_blank')}
tooltip={windowWidth < 768 ? `View in ${platform}` : null} tooltip={windowWidth < 768 ? `View ${platform === 'nostr' ? 'on' : 'in'} ${platform}` : null}
tooltipOptions={{ position: 'left' }} tooltipOptions={{ position: 'left' }}
/> />
</div> </div>

View File

@ -87,7 +87,7 @@ const AboutPage = () => {
<div className="flex items-start"> <div className="flex items-start">
<i className="pi pi-users text-2xl text-primary mr-2 text-purple-400 mt-1"></i> <i className="pi pi-users text-2xl text-primary mr-2 text-purple-400 mt-1"></i>
<div> <div>
<h3 className="text-lg font-semibold">:</h3> <h3 className="text-lg font-semibold">Feeds:</h3>
<p className='text-lg'>All of the current PlebDevs Community channels.</p> <p className='text-lg'>All of the current PlebDevs Community channels.</p>
<ul className="list-disc list-inside ml-2 mt-2 space-y-2"> <ul className="list-disc list-inside ml-2 mt-2 space-y-2">
<li><span className="text-lg font-semibold">Nostr:</span> Public plebdevs nostr chat (Read / Write) <br /> <span className="pl-4">* this is the only feed that you can write to from the plebdevs platform currently.</span></li> <li><span className="text-lg font-semibold">Nostr:</span> Public plebdevs nostr chat (Read / Write) <br /> <span className="pl-4">* this is the only feed that you can write to from the plebdevs platform currently.</span></li>

View File

@ -78,9 +78,11 @@ const Feed = () => {
/> />
</div> </div>
<Divider /> <Divider />
{selectedTopic === 'nostr' && (
<MessageInput <MessageInput
collapsed={false} collapsed={false}
/> />
)}
</div> </div>
<div className="min-bottom-bar:hidden"> <div className="min-bottom-bar:hidden">
<CommunityMenuTab <CommunityMenuTab