Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add from:me search syntax #2044

Closed
wants to merge 1 commit into from

Conversation

mary-ext
Copy link
Contributor

@mary-ext mary-ext commented Jan 12, 2024

Alternative to bluesky-social/social-app#2504 which does it in the client itself

Adds from:me convenient search syntax to search your own posts, done by replacing instances of from:me with the account's DID, with special care taken to avoid string replacements inside quotes as they are exact string matches.

I thought of adding it to Palomar directly, but since Palomar is unauthenticated I decided it'd be wise to implement it in the AppView layer instead.

@mary-ext mary-ext force-pushed the feat/search-from-me branch from 49cd6ec to 54e65ac Compare January 12, 2024 03:30
@mary-ext
Copy link
Contributor Author

closing this in favor of adding a param to searchPostsSkeleton, I believe that'd be the better choice as Palomar gets to handle it

@mary-ext mary-ext closed this Jan 29, 2024
@bnewbold
Copy link
Collaborator

@mary-ext I think the AppView might actually be the best place to do this near-term? Not sure we want to pass DID on to palomar if we don't need to (TBD). Putting it in the appview allows mixing in account context, while not having things be client-specific.

@mary-ext mary-ext reopened this Jan 30, 2024
@mary-ext
Copy link
Contributor Author

Ah yeah, I'll keep this open then

@mary-ext mary-ext closed this Apr 13, 2024
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.

2 participants