Skip to content

feat(channels,boards,forums,people,network): search clear buttons + post count + date improvements (#65)#117

Open
64johnlee wants to merge 27 commits into
RetroShare:masterfrom
64johnlee:ralph/RS-065d
Open

feat(channels,boards,forums,people,network): search clear buttons + post count + date improvements (#65)#117
64johnlee wants to merge 27 commits into
RetroShare:masterfrom
64johnlee:ralph/RS-065d

Conversation

@64johnlee
Copy link
Copy Markdown

@64johnlee 64johnlee commented May 3, 2026

Summary

Search UX improvements and post display enhancements.

Search Clear Buttons (all sections)

Add X button to clear search text and show all items:

  • Channels: SearchBar in channels_util.js
  • Forums: SearchBar in forums_util.js
  • Boards: SearchBar in boards_util.js
  • People: SearchBar in people_util.js
  • Network: FriendsList SearchBar in network.js

Post Card Improvements (Channels & Boards)

  • Post count in section header (e.g., "Posts (12)")
  • Publish date shown below post title in cards
  • Grid layout with thumbnail, title, and date

Files Changed

  • webui-src/app/channels/channel_view.js - post count + date
  • webui-src/app/boards/board_view.js - post count + date
  • webui-src/app/channels/channels_util.js - SearchBar clear button
  • webui-src/app/forums/forums_util.js - SearchBar clear button
  • webui-src/app/boards/boards_util.js - SearchBar clear button
  • webui-src/app/people/people_util.js - SearchBar clear button
  • webui-src/app/network/network.js - SearchBar clear button
  • webui-src/styles.css - card + searchbar styles

64johnlee added 2 commits May 4, 2026 01:23
…are#52)

- Add Content-Type: application/json header in rsJsonApiRequest
- Fixes the content type of REST requests
- Issue RetroShare#52: 'the content type of REST request is not application/json'
- Add X button to clear search when text is present
- Shows/hides based on searchString content
- Resets all items to visible when cleared
@64johnlee 64johnlee changed the title feat(channels): add clear button to search bar feat(channels,forums): add clear button to search bars (#65) May 3, 2026
@64johnlee 64johnlee changed the title feat(channels,forums): add clear button to search bars (#65) feat(search bars): add clear button to search in channels, forums, boards, people, network (#65) May 3, 2026
@64johnlee 64johnlee changed the title feat(search bars): add clear button to search in channels, forums, boards, people, network (#65) feat(channels,forums,boards,people,network): search clear buttons + channel post improvements (#65) May 3, 2026
@64johnlee 64johnlee changed the title feat(channels,forums,boards,people,network): search clear buttons + channel post improvements (#65) feat(channels,boards,forums,people,network): search clear buttons + post count + date improvements (#65) May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant