Skip to content

Conversation

ericholguin
Copy link
Collaborator

This PR adds the NDB search functionality from the pull down search in the posting timeline to the universe view.

https://v.nostr.build/LtG2oHq7kUUPuMKX.mp4

Changelog-Added: Added NDB search functionality to the universe view

This PR adds the NDB search functionality from the pull down search in the
posting timeline to the universe view.

Changelog-Added: Added NDB search functionality to the universe view

Signed-off-by: ericholguin <[email protected]>
@jb55
Copy link
Collaborator

jb55 commented Sep 21, 2024

I didn't see this until now... will test soon after these ios18 fixes land

@alltheseas alltheseas added this to the 1.11 - lists milestone Sep 23, 2024
@jb55
Copy link
Collaborator

jb55 commented Sep 27, 2024

testing this now

Copy link
Collaborator

@danieldaquino danieldaquino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ericholguin! I really liked this new feature, I think it significantly improves search UX.

I just added two minor comments, but otherwise looks good to me!

.overlay(
RoundedRectangle(cornerRadius: 20)
.stroke(DamusColors.neutral3, lineWidth: 1)
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should define this gray button style as a reusable view, to reduce code duplication between TextSearch and HashtagSearch

HStack {
HashtagSearch(multi.hashtag)
TextSearch(multi.text)
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we should add more spacing between these buttons and the profile search results below it.

Right now the spacing between the button and the top looks much larger than the button and the profile results below it, making it look a bit asymmetrical.
Screenshot 2024-09-27 at 11 27 11

jb55 added a commit that referenced this pull request Sep 27, 2024
William Casarin (3):
      search: use lazyvstack
      search: expand search results to 128

ericholguin (1):
      ui: add ndb search to universe view
@jb55 jb55 merged commit 6277261 into damus-io:master Sep 27, 2024
@jb55
Copy link
Collaborator

jb55 commented Sep 27, 2024

merged and expanded the search results to 128!

18ec8e6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

4 participants