Commit graph

14 commits

Author SHA1 Message Date
cc5e0dbef6 Squash merge nostrfeed-ui into main 2025-10-21 21:31:25 +02:00
4e90a4e795 Update visibility logic in ThreadedPost component
- Refined the visibility logic to ensure a post is only hidden if its parent is collapsed, rather than if it is collapsed itself. This change enhances the clarity of post visibility in threaded discussions.
- Adjusted the parent-collapsed prop to reflect the current collapse state, improving the interaction and user experience within the NostrFeed module.
2025-09-23 23:59:43 +02:00
f0a6b2bd1d Implement limited replies feature in NostrFeed component
- Introduced a mechanism to track posts that should display limited replies (only the first 2) instead of collapsing them entirely, enhancing user interaction with threaded discussions.
- Updated the ThreadedPost component to support toggling between limited and full replies, improving visibility and engagement with nested replies.
- Enhanced the FeedService to ensure proper filtering and handling of feed types, contributing to a more organized and user-friendly experience within the NostrFeed module.
2025-09-23 23:59:43 +02:00
872954d5ce Implement centralized collapse state management in NostrFeed component
- Introduced a centralized mechanism for managing the collapse state of posts, allowing for automatic collapsing of posts with more than 2 direct replies.
- Enhanced the ThreadedPost component to utilize the centralized collapse state, improving the visibility and interaction of nested replies.
- Added cascading collapse functionality to ensure that all descendant posts are collapsed when a parent post is collapsed.

These changes contribute to a more organized and user-friendly experience within the NostrFeed module.
2025-09-23 23:59:43 +02:00
19ab660ed3 Enhance reply visibility and collapse functionality in ThreadedPost component
- Updated the collapse state logic to automatically collapse replies if there are more than 2 direct replies, improving user experience by reducing clutter.
- Added a "Load more replies" button to allow users to expand and view additional replies when collapsed, enhancing interaction and engagement.

These changes contribute to a more organized and user-friendly interface within the NostrFeed module.
2025-09-23 23:59:43 +02:00
7c5f75a8ea Update collapse behavior and styling in ThreadedPost component
- Modified the collapse state logic to automatically collapse replies if there are more than 2 direct replies, enhancing user experience by reducing clutter.
- Updated the styling of the vertical line connecting nested replies for improved visual consistency.

These changes contribute to a more organized and user-friendly interface within the NostrFeed module.
2025-09-23 23:59:43 +02:00
26ba27c87a Enhance styling and layout of action buttons in ThreadedPost component
- Updated button sizes and padding for Reply, Like, and Share actions to improve visual consistency and usability.
- Adjusted hover effects and removed unnecessary text for a cleaner interface.

These changes contribute to a more streamlined and user-friendly experience within the NostrFeed module.
2025-09-23 23:59:43 +02:00
c7ce34b301 Refactor post action buttons in ThreadedPost component
- Updated the layout and styling of action buttons (Reply, Like, Share) for improved usability and visual consistency.
- Adjusted button sizes, padding, and hover effects to enhance the user experience.

These changes contribute to a more streamlined and accessible interface within the NostrFeed module.
2025-09-23 23:59:43 +02:00
dfcb354a5c Refactor post action layout in ThreadedPost component
- Updated the layout of post action buttons to align them to the right, improving the visual structure of the component.
- Removed the mentions display section to streamline the interface and focus on action buttons.

These changes enhance the usability and clarity of the ThreadedPost component within the NostrFeed module.
2025-09-23 23:59:43 +02:00
eaf040d4a1 Update vertical line styling and indentation in ThreadedPost component
- Changed the class for the vertical line connecting nested replies to improve visual consistency.
- Adjusted the margin calculation for better alignment of nested posts, enhancing the overall layout of threaded discussions.

These updates contribute to a more organized and visually appealing interface within the NostrFeed module.
2025-09-23 23:59:43 +02:00
be8c7162b6 Refactor indentation and styling in ThreadedPost component
- Adjusted margin and padding values for nested posts to improve visual hierarchy and readability.
- Updated styles for post containers to enhance the overall layout of threaded discussions.

These changes contribute to a more organized and user-friendly interface within the NostrFeed module.
2025-09-23 23:59:43 +02:00
ba590d5a4a Remove unnecessary horizontal line for nested replies in ThreadedPost component
- Eliminated the horizontal line that visually connected nested replies, simplifying the layout of threaded posts.
- This change enhances the clarity and organization of the post display, contributing to a more streamlined user experience within the NostrFeed module.
2025-09-23 23:59:43 +02:00
791bdbe3eb Refactor indentation and styling in ThreadedPost component
- Adjusted margin and padding values for nested posts to improve visual hierarchy and readability.
- Updated styles for vertical lines and post containers to enhance the overall layout of threaded discussions.

These changes contribute to a more organized and user-friendly interface within the NostrFeed module.
2025-09-23 23:59:43 +02:00
ebc7885f04 Implement threaded post structure in NostrFeed module
- Introduced a new ThreadedPost component to display posts and their replies in a nested format, enhancing the readability of discussions.
- Updated the useFeed composable to include a computed property for building threaded posts from flat post data.
- Modified FeedService to support the extraction of reply information and build a hierarchical structure for posts, allowing for better organization of replies.
- Removed deprecated rideshare-related functions from NostrFeed.vue, streamlining the component and focusing on the threaded view.

These changes improve the user experience by facilitating clearer interactions within post discussions, promoting engagement and organization in the NostrFeed module.
2025-09-23 23:59:43 +02:00