Skip to content

New profile feed header#7056

Merged
estrattonbailey merged 18 commits into
mainfrom
new-profile-feed-header
Dec 12, 2024
Merged

New profile feed header#7056
estrattonbailey merged 18 commits into
mainfrom
new-profile-feed-header

Conversation

@estrattonbailey
Copy link
Copy Markdown
Member

@estrattonbailey estrattonbailey commented Dec 11, 2024

Medium-sized step towards some cleaner UI for this screen. More work will be done here.

This PR aims to keep translation strings mostly the same, but some were added.

CleanShot 2024-12-11 at 14 27 53@2x
CleanShot 2024-12-11 at 14 27 56@2x
CleanShot 2024-12-11 at 14 28 01@2x
CleanShot 2024-12-11 at 14 28 03@2x

@arcalinea arcalinea temporarily deployed to new-profile-feed-header - social-app PR #7056 December 11, 2024 20:27 — with Render Destroyed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 11, 2024

Old size New size Diff
6.77 MB 6.78 MB 5.02 KB (0.07%)

Copy link
Copy Markdown
Contributor

@surfdude29 surfdude29 left a comment

Choose a reason for hiding this comment

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

A couple of tiny suggestions 👀

Comment thread src/screens/Profile/components/ProfileFeedHeader.tsx Outdated
<View
style={[a.flex_row, a.align_center, a.gap_sm, a.justify_between]}>
<Text style={[a.italic, t.atoms.text_contrast_medium]}>
Something wrong? Let us know.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Something wrong? Let us know.
<Trans>Something wrong? Let us know.</Trans>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, just wondering, will the text be able to wrap onto another line here at larger text sizes and in non-English localizations?

<Text
style={[a.text_sm, a.leading_tight, t.atoms.text_contrast_medium]}
numberOfLines={1}>
<Trans>By</Trans>{' '}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, I'm wondering if it might be desirable (or indeed feasible) to restructure this, so that By and the handle are both in the string to be translated, for languages where some flexibility is needed? 🤔

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, Trans should be pulled outside here

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
@arcalinea arcalinea temporarily deployed to new-profile-feed-header - social-app PR #7056 December 12, 2024 17:38 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to new-profile-feed-header - social-app PR #7056 December 12, 2024 17:41 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to new-profile-feed-header - social-app PR #7056 December 12, 2024 17:45 — with Render Destroyed
@estrattonbailey estrattonbailey merged commit 2808f8b into main Dec 12, 2024
Signez pushed a commit to Signez/bsky-social-app that referenced this pull request Dec 26, 2024
* Init hacking

* Lil baby button checkpoint

* Playing around

* Revert "Playing around"

This reverts commit f58a7fa.

* Mostly there

* Cleanups

* Cleanup

* Fix report dialog nesting

* Remove transform on native

* Rename header

* Fix layout, overflowing FAB buttons

* Remove hack

* Couple of fixes

* Keep Pin primary CTA (bluesky-social#7061)

* Update src/screens/Profile/components/ProfileFeedHeader.tsx

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Simplify, use old string

* Wrap Trans better

---------

Co-authored-by: dan <dan.abramov@gmail.com>
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
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.

4 participants