Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

[NEW] Add purpose label to quote component #2330

Merged
merged 18 commits into from
Nov 21, 2018

Conversation

cardoso
Copy link
Collaborator

@cardoso cardoso commented Nov 19, 2018

@RocketChat/ios

This conforms replying to the design we have in Zeplin, and I used the same concept for pinning messages.


Closes #2307

@cardoso cardoso added this to the 3.2.0 milestone Nov 19, 2018
@codecov
Copy link

codecov bot commented Nov 19, 2018

Codecov Report

Merging #2330 into develop will increase coverage by 0.01%.
The diff coverage is 34.75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2330      +/-   ##
===========================================
+ Coverage    26.35%   26.36%   +0.01%     
===========================================
  Files          440      440              
  Lines        16122    16278     +156     
===========================================
+ Hits          4249     4292      +43     
- Misses       11873    11986     +113
Impacted Files Coverage Δ
Rocket.Chat/Models/Message/Message.swift 88.57% <ø> (-0.62%) ⬇️
...cket.Chat/Controllers/Chat/MessagesViewModel.swift 28.9% <ø> (ø) ⬆️
...ws/Chat/New Chat/Cells/SequentialMessageCell.swift 0% <ø> (ø) ⬆️
...ews/Chat/New Chat/Cells/BaseQuoteMessageCell.swift 0% <ø> (ø) ⬆️
...t/Views/Chat/New Chat/Cells/BasicMessageCell.swift 0% <ø> (ø) ⬆️
...Chat/Controllers/Chat/MessagesViewController.swift 41.93% <0%> (-0.17%) ⬇️
.../Views/Chat/New Chat/ChatItems/QuoteChatItem.swift 0% <0%> (ø) ⬆️
...ket.Chat/Extensions/Models/MessageExtensions.swift 9.21% <0%> (-32.63%) ⬇️
...ket.Chat/Views/Chat/New Chat/Cells/QuoteCell.swift 0% <0%> (ø) ⬆️
...Controllers/Chat/ChatSections/MessageSection.swift 4.34% <0%> (-0.24%) ⬇️
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c763b1f...31cea3e. Read the comment docs.

@rafaelks
Copy link
Contributor

Looks good to me, but I think we can merge #2335 on this PR before merging it.

…arkdown_caching

[CHORE] Only use unmanaged objects on transforming markdown cache
return
}

if let text = force ? MessageTextCacheManager.shared.update(for: unmanagedMessage, with: theme) : MessageTextCacheManager.shared.message(for: unmanagedMessage, with: theme) {

Choose a reason for hiding this comment

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

Line Length Violation: Line should be 120 characters or less: currently 182 characters (line_length)

guard let identifier = message.identifier else { return nil }

let key = cachedKey(for: identifier)
@discardableResult func update(for message: UnmanagedMessage, with theme: Theme? = nil) -> NSMutableAttributedString? {

Choose a reason for hiding this comment

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

Line Length Violation: Line should be 120 characters or less: currently 123 characters (line_length)

@rafaelks rafaelks merged commit 5256deb into develop Nov 21, 2018
@rafaelks rafaelks deleted the feat/pinned_replied_label.2307 branch November 21, 2018 16:12
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants