diff --git a/src/app/auth/onboarding/step-3.tsx b/src/app/auth/onboarding/step-3.tsx index 7eaffe42..e9a6b437 100644 --- a/src/app/auth/onboarding/step-3.tsx +++ b/src/app/auth/onboarding/step-3.tsx @@ -118,10 +118,11 @@ export function OnboardStep3Screen() { ) : relaysAsArray.length === 0 ? ( -
+

- Can't found any relays, you can skip this step and use default relays - instead + Lume couldn't find any relays from your follows. +
+ You can skip this step and use default relays instead.

) : ( @@ -145,7 +146,7 @@ export function OnboardStep3Screen() { )) )} {relays.size > 5 && ( -
+

Using too much relay can cause high resource usage

diff --git a/src/app/space/components/widgetList.tsx b/src/app/space/components/widgetList.tsx index ac049729..5501cd8b 100644 --- a/src/app/space/components/widgetList.tsx +++ b/src/app/space/components/widgetList.tsx @@ -25,11 +25,12 @@ export function WidgetList({ params }: { params: Widget }) { return (

{row.title}

-
+
{row.data.map((item, index) => ( ))} @@ -41,11 +42,27 @@ export function WidgetList({ params }: { params: Widget }) { ); return ( -
+
{DefaultWidgets.map((row: WidgetGroup) => renderItem(row))}
+
+
+ +
+
); } diff --git a/src/shared/composer/composer.tsx b/src/shared/composer/composer.tsx index 107f6dbf..c23ca261 100644 --- a/src/shared/composer/composer.tsx +++ b/src/shared/composer/composer.tsx @@ -125,7 +125,7 @@ export function Composer() { autoCapitalize="off" className={twMerge( 'scrollbar-hide markdown max-h-[500px] overflow-y-auto break-all pr-2 outline-none', - expand ? 'min-h-[500px]' : 'min-h-[120px]' + expand ? 'min-h-[500px]' : reply.id ? 'min-h-min' : 'min-h-[120px]' )} /> {reply.id && ( diff --git a/src/stores/widgets.ts b/src/stores/widgets.ts index f59a5978..1d2c8034 100644 --- a/src/stores/widgets.ts +++ b/src/stores/widgets.ts @@ -46,18 +46,22 @@ export const DefaultWidgets = [ { kind: WidgetKinds.tmp.xfeed, title: 'Group feeds', + description: 'All posts from specific people you want to keep up with', }, { kind: WidgetKinds.local.files, title: 'Files', + description: 'All files shared by people in your network', }, { kind: WidgetKinds.local.articles, title: 'Articles', + description: 'All articles shared by people in your network', }, { kind: WidgetKinds.local.follows, title: 'Follows', + description: 'All posts from people you are following', }, ], }, @@ -67,27 +71,32 @@ export const DefaultWidgets = [ { kind: WidgetKinds.tmp.xhashtag, title: 'Hashtag', + description: 'All posts have a specific hashtag', }, { kind: WidgetKinds.global.files, title: 'Files', + description: 'All files shared by people in your current relay set', }, { kind: WidgetKinds.global.articles, title: 'Articles', + description: 'All articles shared by people in your current relay set', }, ], }, { - title: 'Trending (nostr.band)', + title: 'nostr.band', data: [ { kind: WidgetKinds.nostrBand.trendingAccounts, title: 'Accounts', + description: 'Trending accounts from the last 24 hours', }, { kind: WidgetKinds.nostrBand.trendingNotes, title: 'Notes', + description: 'Trending notes from the last 24 hours', }, ], }, diff --git a/src/utils/types.d.ts b/src/utils/types.d.ts index 80543cda..ed6d414b 100644 --- a/src/utils/types.d.ts +++ b/src/utils/types.d.ts @@ -44,6 +44,7 @@ export interface WidgetGroup { export interface WidgetGroupItem { title: string; + description: string; kind: number; }