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

Show handle in recent searches and fix truncation #4917

Merged
merged 3 commits into from
Aug 11, 2024

Conversation

rolandcrosby
Copy link
Contributor

The profile view in "recent searches" used to not show a label if the user didn't have a display name set:

Screenshot 2024-08-10 at 12 06 54 AM

Also, when the name was truncated, the existing implementation was supposed to add "...", but the way it was implemented, the ellipsis often spilled onto a second line that overflowed and didn't render. This change switches the label to use the built-in ellipsis truncation behavior.

Screenshot 2024-08-10 at 12 06 42 AM

Copy link
Contributor

@haileyok haileyok left a comment

Choose a reason for hiding this comment

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

Thanks! Left one question.

src/view/screens/Search/Search.tsx Outdated Show resolved Hide resolved
@rolandcrosby rolandcrosby requested a review from haileyok August 11, 2024 22:40
Copy link
Contributor

@haileyok haileyok left a comment

Choose a reason for hiding this comment

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

lgtm. appreciate you fixing this up for us!!

@haileyok haileyok merged commit 75c19b2 into bluesky-social:main Aug 11, 2024
6 checks passed
@rolandcrosby
Copy link
Contributor Author

thanks for taking a look and merging!

estrattonbailey added a commit that referenced this pull request Aug 15, 2024
* origin/main: (28 commits)
  swap control files (#4936)
  [Embed] Starter pack embed embed (#4935)
  [Video] set audio category to ambient every time a new player is made (#4934)
  Add `/live/` to supported YouTube embed URLs (#4932)
  [Video] Try/catch video play/pause (#4930)
  Don't kick to login screen on network error (#4911)
  Remove .withProxy() calls (#4929)
  [Video] Audio duck off main thread (#4926)
  subclass agent to add setPersistSessionHandler (#4928)
  [Video] Fix crash when switching tabs (#4925)
  [Video] Invert usage of `setAudioActive` (#4924)
  Upgrade API, implement XRPC rework (#4857)
  rm from swift (#4923)
  Fix Android composer cursor bug by removing `setTimeout` from native composer `onChangeText` (#4922)
  Show handle in recent searches and fix truncation (#4917)
  Improve styles (#4916)
  Mark string for localization (#4920)
  Fix `occurred` typo (#4919)
  [Video] Resume background audio whenever muting video audio (#4915)
  [Videos] Add error boundary to native (#4914)
  ...
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