★ wanayoo — archive 1999 https://github.com/RocketChat/Rocket.Chat.iOS/pull/2226Nouvelle recherche | Portail wanayoo
Skip to content
This repository has been archived by the owner. It is now read-only.

[NEW] Support themes in new composer & minor fixes #2226

Merged

Conversation

@cardoso
Copy link
Collaborator

@cardoso cardoso commented Sep 29, 2018

@RocketChat/ios

@cardoso cardoso changed the base branch from develop to feature/integrate-rc-view-controller Sep 29, 2018
@codecov
Copy link

@codecov codecov bot commented Sep 29, 2018 •

Codecov Report

Merging #2226 into feature/integrate-rc-view-controller will decrease coverage by 0.22%.
The diff coverage is 9.75%.

Impacted file tree graph

@@                           Coverage Diff                            @@
##           feature/integrate-rc-view-controller    #2226      +/-   ##
========================================================================
- Coverage                                 25.72%   25.49%   -0.23%     
========================================================================
  Files                                       438      441       +3     
  Lines                                     16679    16832     +153     
========================================================================
+ Hits                                       4291     4292       +1     
- Misses                                    12388    12540     +152
Impacted Files Coverage Δ
...Chat/Views/Cells/Hints/TextHintEmojiViewCell.swift 0% <0%> (ø)
...ket.Chat/Views/Cells/Hints/TextHintLabelCell.swift 0% <0%> (ø)
.../Chat/MessagesViewControllerComposerDelegate.swift 0% <0%> (ø) ⬆️
...hat/Views/Cells/Hints/UserHintAvatarViewCell.swift 0% <0%> (ø)
...Chat/Controllers/Chat/MessagesViewController.swift 36.9% <100%> (+4.56%) ⬆️
Rocket.Chat/Theme/ThemeableViews.swift 53.43% <31.91%> (+2.51%) ⬆️
...anagers/Model/AuthManager/AuthManagerRecover.swift 36.36% <0%> (-60.61%) ⬇️
...Chat/Models/Subscription/SubscriptionQueries.swift 70% <0%> (-30%) ⬇️
Rocket.Chat/Managers/PushManager.swift 24.13% <0%> (-10.35%) ⬇️
Rocket.Chat/Managers/AppManager.swift 41.61% <0%> (-4.7%) ⬇️
... and 6 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 3f702bf...74354c0. Read the comment docs.

@Sameesunkaria Sameesunkaria self-requested a review Sep 30, 2018
@rafaelks rafaelks added this to In Progress in Cycle 09: 09/05 ~ 09/27 via automation Oct 1, 2018
@rafaelks rafaelks added this to the 3.2.0 milestone Oct 1, 2018
// This is because we can't extend generic classes with @objc methods
// Which doesn't allow us to do themes properly.
// In Swift 5 there's a better workaround:
// TODO: Make this an empty subclass when Swift 5 is released.

This comment has been minimized.

@houndci-bot

houndci-bot Nov 6, 2018

Todo Violation: TODOs should be resolved (Make this an empty subclass wh...). (todo)

// This is because we can't extend generic classes with @objc methods
// Which doesn't allow us to do themes properly.
// In Swift 5 there's a better workaround:
// TODO: Make this an empty subclass when Swift 5 is released.

This comment has been minimized.

@houndci-bot

houndci-bot Nov 6, 2018

Todo Violation: TODOs should be resolved (Make this an empty subclass wh...). (todo)

// This is because we can't extend generic classes with @objc methods
// Which doesn't allow us to do themes properly.
// In Swift 5 there's a better workaround:
// TODO: Make this an empty subclass when Swift 5 is released.

This comment has been minimized.

@houndci-bot

houndci-bot Nov 6, 2018

Todo Violation: TODOs should be resolved (Make this an empty subclass wh...). (todo)

cardoso added 2 commits Nov 6, 2018
@rafaelks rafaelks added this to In progress in Cycle 11: 11/05 ~ 12/05 Nov 6, 2018
cardoso added 2 commits Nov 7, 2018
@cardoso cardoso changed the title [WIP][NEW] Support themes in new composer [NEW] Support themes in new composer & minor fixes Nov 7, 2018
…poser_support_themes
@@ -7,7 +7,7 @@
//
import UIKit
import SlackTextViewController
import RocketChatViewController

This comment has been minimized.

@rafaelks

rafaelks Nov 7, 2018
Contributor

🔥

@@ -343,30 +344,103 @@ extension UIPickerView {

// MARK: External class extensions
extension SLKTextInputbar {
extension ComposerAddonStackView {

This comment has been minimized.

@rafaelks

rafaelks Nov 7, 2018
Contributor

🔥

}
}

extension SLKTextView {
extension TextHintEmojiViewCell {

This comment has been minimized.

@rafaelks

rafaelks Nov 7, 2018
Contributor

🔥

Copy link
Contributor

@rafaelks rafaelks left a comment

🎉

@rafaelks rafaelks merged commit b97199e into feature/integrate-rc-view-controller Nov 7, 2018
4 of 6 checks passed
4 of 6 checks passed
codecov/patch 9.75% of diff hit (target 25.72%)
Details
codecov/project 25.49% (-0.23%) compared to 3f702bf
Details
Hound 2 violations found.
ci/circleci: lint Your tests passed on CircleCI!
Details
ci/circleci: test Your tests passed on CircleCI!
Details
license/cla Contributor License Agreement is signed.
Details
@rafaelks rafaelks deleted the feat/new_composer_support_themes branch Nov 7, 2018
@rafaelks rafaelks moved this from In progress to Done in Cycle 11: 11/05 ~ 12/05 Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.