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

Design Tweaks for Threads #5356

Merged
merged 38 commits into from
Jan 26, 2022
Merged

Design Tweaks for Threads #5356

merged 38 commits into from
Jan 26, 2022

Conversation

ismailgulek
Copy link
Contributor

Design tweaks for #5089

@github-actions
Copy link

github-actions bot commented Jan 10, 2022

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/UnK94h

@ismailgulek
Copy link
Contributor Author

This request couldn't be handled, as we don't have control over those items when we display an action sheet.

Screen Shot 2022-01-11 at 02 46 50

Copy link

@janogarcia janogarcia left a comment

Choose a reason for hiding this comment

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

@ismailgulek Thank you, Ismail! I've reviewed it in detail and documented all the stuff that would need to be tweaked/improved. 👍

Please find all the details on the following annotated screenshots:

Implementation Review · P0 iOS · r02
https://www.figma.com/file/T309ztx0sNyOOK6NKVLHsK/Threads?node-id=3279%3A338959

Thanks!


Snapshot (partial)

Threads – Figma

Riot/Modules/Room/RoomViewController.m Outdated Show resolved Hide resolved
Riot/Modules/Room/RoomViewController.m Outdated Show resolved Hide resolved
if let lastMessage = viewModel.lastMessageText {
let mutable = NSMutableAttributedString(attributedString: lastMessage)
mutable.setAttributes([
.font: Constants.lastMessageFont
Copy link
Member

Choose a reason for hiding this comment

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

Following on from the fonts comment on the last PR, perhaps this should be

Suggested change
.font: Constants.lastMessageFont
.font: theme.fonts.footnote

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's not do this for now, as it'll enable dynamic type for that label. We can do it when we support dynamic type app-wide.

Copy link
Member

Choose a reason for hiding this comment

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

Ahhh. Think I used those for URL previews 🙈

Riot/Modules/Room/Views/Threads/From/FromThreadView.swift Outdated Show resolved Hide resolved
Riot/Categories/UIView+Toast.swift Show resolved Hide resolved
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

Looks good to me! Going to give it a go now 😎

Base automatically changed from ismail/5068_start_thread to develop January 26, 2022 23:21
@ismailgulek ismailgulek merged commit 7aab345 into develop Jan 26, 2022
@ismailgulek ismailgulek deleted the ismail/5068_design_tweaks branch January 26, 2022 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants