mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +00:00
chore: organise chats context (#18373)
This commit is contained in:
parent
fc72ba6a1e
commit
9c62e63035
@ -4,7 +4,7 @@
|
||||
[legacy.status-im.data-store.messages :as data-store.messages]
|
||||
[re-frame.core :as re-frame]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.list.events :as message-list]
|
||||
[status-im.contexts.chat.messenger.messages.list.events :as message-list]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
|
@ -6,9 +6,9 @@
|
||||
[legacy.status-im.utils.deprecated-types :as types]
|
||||
[re-frame.core :as re-frame]
|
||||
[react-native.platform :as platform]
|
||||
[status-im.contexts.chat.messages.delete-message.events :as delete-message]
|
||||
[status-im.contexts.chat.messages.list.events :as message-list]
|
||||
[status-im.contexts.chat.messages.list.state :as view.state]
|
||||
[status-im.contexts.chat.messenger.messages.delete-message.events :as delete-message]
|
||||
[status-im.contexts.chat.messenger.messages.list.events :as message-list]
|
||||
[status-im.contexts.chat.messenger.messages.list.state :as view.state]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn- message-loaded?
|
||||
|
@ -3,7 +3,7 @@
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[legacy.status-im.chat.models.loading :as loading]
|
||||
[legacy.status-im.chat.models.message :as message]
|
||||
[status-im.contexts.chat.messages.list.state :as list.state]))
|
||||
[status-im.contexts.chat.messenger.messages.list.state :as list.state]))
|
||||
|
||||
(deftest add-received-message-test
|
||||
(with-redefs [message/add-message #(identity %1)]
|
||||
|
@ -5,7 +5,7 @@
|
||||
[legacy.status-im.utils.deprecated-types :as types]
|
||||
[re-frame.core :as re-frame]
|
||||
[status-im.contexts.chat.contacts.events :as contacts-store]
|
||||
[status-im.contexts.chat.messages.list.events :as message-list]
|
||||
[status-im.contexts.chat.messenger.messages.list.events :as message-list]
|
||||
[status-im.contexts.shell.activity-center.events :as activity-center]
|
||||
[status-im.navigation.events :as navigation]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -9,8 +9,8 @@
|
||||
[quo.foundations.typography :as typography]
|
||||
[react-native.core :as rn]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.delete-message-for-me.events]
|
||||
[status-im.contexts.chat.messages.delete-message.events]
|
||||
[status-im.contexts.chat.messenger.messages.delete-message-for-me.events]
|
||||
[status-im.contexts.chat.messenger.messages.delete-message.events]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf])
|
||||
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))
|
||||
|
@ -8,7 +8,7 @@
|
||||
[legacy.status-im.ui.components.react :as react]
|
||||
[legacy.status-im.ui.screens.link-previews-settings.styles :as styles]
|
||||
[re-frame.core :as re-frame]
|
||||
[status-im.contexts.chat.messages.link-preview.events]
|
||||
[status-im.contexts.chat.messenger.messages.link-preview.events]
|
||||
[utils.i18n :as i18n]))
|
||||
|
||||
(defn prepare-urls-items-data
|
||||
|
@ -5,8 +5,8 @@
|
||||
[legacy.status-im.mailserver.core :as mailserver]
|
||||
[legacy.status-im.visibility-status-updates.core :as visibility-status-updates]
|
||||
[status-im.common.pairing.events :as pairing]
|
||||
[status-im.contexts.chat.messages.link-preview.events :as link-preview]
|
||||
[status-im.contexts.chat.messages.transport.events :as messages.transport]
|
||||
[status-im.contexts.chat.messenger.messages.link-preview.events :as link-preview]
|
||||
[status-im.contexts.chat.messenger.messages.transport.events :as messages.transport]
|
||||
[status-im.contexts.communities.discover.events]
|
||||
[status-im.contexts.profile.login.events :as profile.login]
|
||||
[status-im.contexts.profile.push-notifications.local.events :as local-notifications]
|
||||
|
@ -7,14 +7,14 @@
|
||||
[reagent.core :as reagent]
|
||||
[status-im.common.muting.helpers :refer [format-mute-till]]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.composer.link-preview.events :as link-preview]
|
||||
[status-im.contexts.chat.contacts.events :as contacts-store]
|
||||
status-im.contexts.chat.effects
|
||||
status-im.contexts.chat.lightbox.events
|
||||
status-im.contexts.chat.messages.content.reactions.events
|
||||
[status-im.contexts.chat.messages.delete-message-for-me.events :as delete-for-me]
|
||||
[status-im.contexts.chat.messages.delete-message.events :as delete-message]
|
||||
[status-im.contexts.chat.messages.list.state :as chat.state]
|
||||
[status-im.contexts.chat.messenger.composer.link-preview.events :as link-preview]
|
||||
status-im.contexts.chat.messenger.lightbox.events
|
||||
status-im.contexts.chat.messenger.messages.content.reactions.events
|
||||
[status-im.contexts.chat.messenger.messages.delete-message-for-me.events :as delete-for-me]
|
||||
[status-im.contexts.chat.messenger.messages.delete-message.events :as delete-message]
|
||||
[status-im.contexts.chat.messenger.messages.list.state :as chat.state]
|
||||
[status-im.navigation.events :as navigation]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.datetime :as datetime]
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.new-chat.styles
|
||||
(ns status-im.contexts.chat.home.new-chat.styles
|
||||
(:require
|
||||
[react-native.safe-area :as safe-area]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.new-chat.view
|
||||
(ns status-im.contexts.chat.home.new-chat.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
@ -10,7 +10,7 @@
|
||||
[status-im.common.contact-list.view :as contact-list]
|
||||
[status-im.common.resources :as resources]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.new-chat.styles :as style]
|
||||
[status-im.contexts.chat.home.new-chat.styles :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.camera.style
|
||||
(ns status-im.contexts.chat.messenger.camera.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.camera.view
|
||||
(ns status-im.contexts.chat.messenger.camera.view
|
||||
(:require
|
||||
[oops.core :refer [oget]]
|
||||
[quo.core :as quo]
|
||||
@ -11,7 +11,7 @@
|
||||
[react-native.reanimated :as reanimated]
|
||||
[react-native.safe-area :as safe-area]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.camera.style :as style]
|
||||
[status-im.contexts.chat.messenger.camera.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.composer.actions.style
|
||||
(ns status-im.contexts.chat.messenger.composer.actions.style
|
||||
(:require
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]))
|
||||
|
||||
(def actions-container
|
||||
{:height constants/actions-container-height
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.actions.view
|
||||
(ns status-im.contexts.chat.messenger.composer.actions.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[react-native.core :as rn]
|
||||
@ -9,8 +9,8 @@
|
||||
[status-im.common.alert.effects :as alert.effects]
|
||||
[status-im.common.device-permissions :as device-permissions]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.composer.actions.style :as style]
|
||||
[status-im.contexts.chat.composer.constants :as comp-constants]
|
||||
[status-im.contexts.chat.messenger.composer.actions.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as comp-constants]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.constants
|
||||
(ns status-im.contexts.chat.messenger.composer.constants
|
||||
(:require
|
||||
[quo.foundations.typography :as typography]
|
||||
[react-native.platform :as platform]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.edit.style)
|
||||
(ns status-im.contexts.chat.messenger.composer.edit.style)
|
||||
|
||||
(def container
|
||||
{:flex-direction :row
|
@ -1,12 +1,12 @@
|
||||
(ns status-im.contexts.chat.composer.edit.view
|
||||
(ns status-im.contexts.chat.messenger.composer.edit.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.edit.style :as style]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.edit.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.effects
|
||||
(ns status-im.contexts.chat.messenger.composer.effects
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[oops.core :as oops]
|
||||
@ -7,9 +7,9 @@
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.keyboard :as kb]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.keyboard :as kb]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[utils.number]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,10 +1,10 @@
|
||||
(ns status-im.contexts.chat.composer.events
|
||||
(ns status-im.contexts.chat.messenger.composer.events
|
||||
(:require [clojure.string :as string]
|
||||
[legacy.status-im.chat.models.mentions :as mentions]
|
||||
[legacy.status-im.data-store.messages :as data-store-messages]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.composer.link-preview.events :as link-preview]
|
||||
[status-im.contexts.chat.messages.transport.events :as messages.transport]
|
||||
[status-im.contexts.chat.messenger.composer.link-preview.events :as link-preview]
|
||||
[status-im.contexts.chat.messenger.messages.transport.events :as messages.transport]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.emojilib :as emoji]
|
||||
[utils.i18n :as i18n]
|
@ -1,10 +1,10 @@
|
||||
(ns status-im.contexts.chat.composer.gesture
|
||||
(ns status-im.contexts.chat.messenger.composer.gesture
|
||||
(:require
|
||||
[oops.core :as oops]
|
||||
[react-native.gesture :as gesture]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[utils.number]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,8 +1,8 @@
|
||||
(ns status-im.contexts.chat.composer.gradients.style
|
||||
(ns status-im.contexts.chat.messenger.composer.gradients.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]))
|
||||
|
||||
(defn- top-gradient-style
|
||||
[opacity z-index showing-extra-space?]
|
@ -1,9 +1,9 @@
|
||||
(ns status-im.contexts.chat.composer.gradients.view
|
||||
(ns status-im.contexts.chat.messenger.composer.gradients.view
|
||||
(:require
|
||||
[react-native.core :as rn]
|
||||
[react-native.linear-gradient :as linear-gradient]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.gradients.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.gradients.style :as style]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn f-view
|
@ -1,14 +1,14 @@
|
||||
(ns status-im.contexts.chat.composer.handlers
|
||||
(ns status-im.contexts.chat.messenger.composer.handlers
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[oops.core :as oops]
|
||||
[react-native.core :as rn]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.keyboard :as kb]
|
||||
[status-im.contexts.chat.composer.selection :as selection]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.keyboard :as kb]
|
||||
[status-im.contexts.chat.messenger.composer.selection :as selection]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[utils.debounce :as debounce]
|
||||
[utils.number]
|
||||
[utils.re-frame :as rf]))
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.composer.images.style
|
||||
(ns status-im.contexts.chat.messenger.composer.images.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[status-im.contexts.chat.composer.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]))
|
||||
|
||||
(def image-container
|
||||
{:padding-top constants/images-padding-top
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.images.view
|
||||
(ns status-im.contexts.chat.messenger.composer.images.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
@ -6,8 +6,8 @@
|
||||
[react-native.core :as rn]
|
||||
[react-native.gesture :as gesture]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.images.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.images.style :as style]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn image
|
@ -1,11 +1,11 @@
|
||||
(ns status-im.contexts.chat.composer.keyboard
|
||||
(ns status-im.contexts.chat.messenger.composer.keyboard
|
||||
(:require
|
||||
[oops.core :as oops]
|
||||
[react-native.async-storage :as async-storage]
|
||||
[react-native.core :as rn]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.utils :as utils]))
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]))
|
||||
|
||||
(defn get-kb-height
|
||||
[curr-height default-height]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.link-preview.events
|
||||
(ns status-im.contexts.chat.messenger.composer.link-preview.events
|
||||
(:require
|
||||
[clojure.set :as set]
|
||||
[clojure.string :as string]
|
@ -1,8 +1,8 @@
|
||||
(ns status-im.contexts.chat.composer.link-preview.events-test
|
||||
(ns status-im.contexts.chat.messenger.composer.link-preview.events-test
|
||||
(:require
|
||||
[cljs.test :refer [deftest is testing]]
|
||||
matcher-combinators.test
|
||||
[status-im.contexts.chat.composer.link-preview.events :as events]))
|
||||
[status-im.contexts.chat.messenger.composer.link-preview.events :as events]))
|
||||
|
||||
(def url-github "https://github.com")
|
||||
(def url-gitlab "https://gitlab.com")
|
@ -1,5 +1,5 @@
|
||||
(ns status-im.contexts.chat.composer.link-preview.style
|
||||
(:require [status-im.contexts.chat.composer.constants :as constants]))
|
||||
(ns status-im.contexts.chat.messenger.composer.link-preview.style
|
||||
(:require [status-im.contexts.chat.messenger.composer.constants :as constants]))
|
||||
|
||||
(def padding-horizontal 20)
|
||||
(def preview-height 56)
|
@ -1,11 +1,11 @@
|
||||
(ns status-im.contexts.chat.composer.link-preview.view
|
||||
(ns status-im.contexts.chat.messenger.composer.link-preview.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[react-native.core :as rn]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.link-preview.events]
|
||||
[status-im.contexts.chat.composer.link-preview.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.link-preview.events]
|
||||
[status-im.contexts.chat.messenger.composer.link-preview.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,9 +1,9 @@
|
||||
(ns status-im.contexts.chat.composer.mentions.style
|
||||
(ns status-im.contexts.chat.messenger.composer.mentions.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]))
|
||||
|
||||
|
||||
(defn shadow
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.mentions.view
|
||||
(ns status-im.contexts.chat.messenger.composer.mentions.view
|
||||
(:require
|
||||
[react-native.core :as rn]
|
||||
[react-native.platform :as platform]
|
||||
@ -6,8 +6,8 @@
|
||||
[react-native.safe-area :as safe-area]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.common.contact-list-item.view :as contact-list-item]
|
||||
[status-im.contexts.chat.composer.mentions.style :as style]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.composer.mentions.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn update-cursor
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.reply.style)
|
||||
(ns status-im.contexts.chat.messenger.composer.reply.style)
|
||||
|
||||
|
||||
(defn container
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.reply.view
|
||||
(ns status-im.contexts.chat.messenger.composer.reply.view
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo.core :as quo]
|
||||
@ -7,9 +7,9 @@
|
||||
[react-native.linear-gradient :as linear-gradient]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.constants :as constant]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.reply.style :as style]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.reply.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[utils.ens.stateofus :as stateofus]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.selection
|
||||
(ns status-im.contexts.chat.messenger.composer.selection
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[oops.core :as oops]
|
@ -1,11 +1,11 @@
|
||||
(ns status-im.contexts.chat.composer.style
|
||||
(ns status-im.contexts.chat.messenger.composer.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[quo.foundations.typography :as typography]
|
||||
[quo.theme :as quo.theme]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]))
|
||||
|
||||
(def border-top-radius 20)
|
||||
|
@ -1,10 +1,10 @@
|
||||
(ns status-im.contexts.chat.composer.sub-view
|
||||
(ns status-im.contexts.chat.messenger.composer.sub-view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[react-native.blur :as blur]
|
||||
[react-native.core :as rn]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.composer.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.utils
|
||||
(ns status-im.contexts.chat.messenger.composer.utils
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[oops.core :as oops]
|
||||
@ -6,8 +6,8 @@
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.selection :as selection]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.selection :as selection]
|
||||
[utils.number]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.composer.view
|
||||
(ns status-im.contexts.chat.messenger.composer.view
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[quo.theme :as quo.theme]
|
||||
@ -8,22 +8,22 @@
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.composer.actions.view :as actions]
|
||||
[status-im.contexts.chat.composer.constants :as constants]
|
||||
[status-im.contexts.chat.composer.edit.view :as edit]
|
||||
[status-im.contexts.chat.composer.effects :as effects]
|
||||
[status-im.contexts.chat.composer.gesture :as drag-gesture]
|
||||
[status-im.contexts.chat.composer.gradients.view :as gradients]
|
||||
[status-im.contexts.chat.composer.handlers :as handler]
|
||||
[status-im.contexts.chat.composer.images.view :as images]
|
||||
[status-im.contexts.chat.composer.link-preview.view :as link-preview]
|
||||
[status-im.contexts.chat.composer.mentions.view :as mentions]
|
||||
[status-im.contexts.chat.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.composer.selection :as selection]
|
||||
[status-im.contexts.chat.composer.style :as style]
|
||||
[status-im.contexts.chat.composer.sub-view :as sub-view]
|
||||
[status-im.contexts.chat.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messages.contact-requests.bottom-drawer.view :as
|
||||
[status-im.contexts.chat.messenger.composer.actions.view :as actions]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.composer.edit.view :as edit]
|
||||
[status-im.contexts.chat.messenger.composer.effects :as effects]
|
||||
[status-im.contexts.chat.messenger.composer.gesture :as drag-gesture]
|
||||
[status-im.contexts.chat.messenger.composer.gradients.view :as gradients]
|
||||
[status-im.contexts.chat.messenger.composer.handlers :as handler]
|
||||
[status-im.contexts.chat.messenger.composer.images.view :as images]
|
||||
[status-im.contexts.chat.messenger.composer.link-preview.view :as link-preview]
|
||||
[status-im.contexts.chat.messenger.composer.mentions.view :as mentions]
|
||||
[status-im.contexts.chat.messenger.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messenger.composer.selection :as selection]
|
||||
[status-im.contexts.chat.messenger.composer.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.sub-view :as sub-view]
|
||||
[status-im.contexts.chat.messenger.composer.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.messages.contact-requests.bottom-drawer.view :as
|
||||
contact-requests.bottom-drawer]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.animations
|
||||
(ns status-im.contexts.chat.messenger.lightbox.animations
|
||||
(:require
|
||||
[react-native.reanimated :as reanimated]))
|
||||
|
@ -1,13 +1,13 @@
|
||||
(ns status-im.contexts.chat.lightbox.bottom-view
|
||||
(ns status-im.contexts.chat.messenger.lightbox.bottom-view
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.lightbox.constants :as c]
|
||||
[status-im.contexts.chat.lightbox.style :as style]
|
||||
[status-im.contexts.chat.lightbox.text-sheet.view :as text-sheet]
|
||||
[status-im.contexts.chat.messenger.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as c]
|
||||
[status-im.contexts.chat.messenger.lightbox.style :as style]
|
||||
[status-im.contexts.chat.messenger.lightbox.text-sheet.view :as text-sheet]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn get-small-item-layout
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.constants)
|
||||
(ns status-im.contexts.chat.messenger.lightbox.constants)
|
||||
|
||||
(def ^:const small-image-size 40)
|
||||
(def ^:const focused-extra-size 16)
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.effects
|
||||
(ns status-im.contexts.chat.messenger.lightbox.effects
|
||||
(:require [react-native.blob :as blob]
|
||||
[react-native.cameraroll :as cameraroll]
|
||||
[react-native.fs :as fs]
|
@ -1,5 +1,5 @@
|
||||
(ns status-im.contexts.chat.lightbox.events
|
||||
(:require status-im.contexts.chat.lightbox.effects
|
||||
(ns status-im.contexts.chat.messenger.lightbox.events
|
||||
(:require status-im.contexts.chat.messenger.lightbox.effects
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(rf/reg-event-fx :chat.ui/clear-sending-images
|
@ -1,9 +1,9 @@
|
||||
(ns status-im.contexts.chat.lightbox.style
|
||||
(ns status-im.contexts.chat.messenger.lightbox.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.lightbox.constants :as c]))
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as c]))
|
||||
|
||||
;;;; VIEW
|
||||
(defn image
|
@ -1,8 +1,8 @@
|
||||
(ns status-im.contexts.chat.lightbox.text-sheet.style
|
||||
(ns status-im.contexts.chat.messenger.lightbox.text-sheet.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.lightbox.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as constants]))
|
||||
|
||||
(defn sheet-container
|
||||
[{:keys [height top]}]
|
@ -1,10 +1,10 @@
|
||||
(ns status-im.contexts.chat.lightbox.text-sheet.utils
|
||||
(ns status-im.contexts.chat.messenger.lightbox.text-sheet.utils
|
||||
(:require
|
||||
[oops.core :as oops]
|
||||
[react-native.gesture :as gesture]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as r]
|
||||
[status-im.contexts.chat.lightbox.constants :as constants]))
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as constants]))
|
||||
|
||||
(defn- collapse-sheet
|
||||
[{:keys [derived-value overlay-opacity saved-top expanded? overlay-z-index]}]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.text-sheet.view
|
||||
(ns status-im.contexts.chat.messenger.lightbox.text-sheet.view
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
@ -8,10 +8,10 @@
|
||||
[react-native.reanimated :as reanimated]
|
||||
[react-native.safe-area :as safe-area]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.lightbox.constants :as constants]
|
||||
[status-im.contexts.chat.lightbox.text-sheet.style :as style]
|
||||
[status-im.contexts.chat.lightbox.text-sheet.utils :as utils]
|
||||
[status-im.contexts.chat.messages.content.text.view :as message-view]))
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.lightbox.text-sheet.style :as style]
|
||||
[status-im.contexts.chat.messenger.lightbox.text-sheet.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.messages.content.text.view :as message-view]))
|
||||
|
||||
(defn- text-sheet
|
||||
[messages overlay-opacity overlay-z-index text-sheet-lock?]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.top-view
|
||||
(ns status-im.contexts.chat.messenger.lightbox.top-view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
@ -6,9 +6,9 @@
|
||||
[react-native.orientation :as orientation]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.lightbox.constants :as c]
|
||||
[status-im.contexts.chat.lightbox.style :as style]
|
||||
[status-im.contexts.chat.messenger.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as c]
|
||||
[status-im.contexts.chat.messenger.lightbox.style :as style]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.utils
|
||||
(ns status-im.contexts.chat.messenger.lightbox.utils
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[oops.core :as oops]
|
||||
@ -9,9 +9,9 @@
|
||||
[react-native.platform :as platform]
|
||||
[react-native.safe-area :as safe-area]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.lightbox.constants :as constants]
|
||||
[status-im.contexts.chat.lightbox.top-view :as top-view]
|
||||
[status-im.contexts.chat.messenger.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.lightbox.top-view :as top-view]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.worklets.chat.lightbox :as worklet]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.view
|
||||
(ns status-im.contexts.chat.messenger.lightbox.view
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[oops.core :as oops]
|
||||
@ -9,13 +9,13 @@
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[react-native.safe-area :as safe-area]
|
||||
[status-im.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.lightbox.bottom-view :as bottom-view]
|
||||
[status-im.contexts.chat.lightbox.constants :as constants]
|
||||
[status-im.contexts.chat.lightbox.style :as style]
|
||||
[status-im.contexts.chat.lightbox.top-view :as top-view]
|
||||
[status-im.contexts.chat.lightbox.utils :as utils]
|
||||
[status-im.contexts.chat.lightbox.zoomable-image.view :as zoomable-image]
|
||||
[status-im.contexts.chat.messenger.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.messenger.lightbox.bottom-view :as bottom-view]
|
||||
[status-im.contexts.chat.messenger.lightbox.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.lightbox.style :as style]
|
||||
[status-im.contexts.chat.messenger.lightbox.top-view :as top-view]
|
||||
[status-im.contexts.chat.messenger.lightbox.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.lightbox.zoomable-image.view :as zoomable-image]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn get-item-layout
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.zoomable-image.constants)
|
||||
(ns status-im.contexts.chat.messenger.lightbox.zoomable-image.constants)
|
||||
|
||||
(def ^:const min-scale 1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.zoomable-image.style
|
||||
(ns status-im.contexts.chat.messenger.lightbox.zoomable-image.style
|
||||
(:require
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.zoomable-image.utils
|
||||
(ns status-im.contexts.chat.messenger.lightbox.zoomable-image.utils
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[react-native.core :as rn]
|
||||
@ -6,8 +6,8 @@
|
||||
[react-native.orientation :as orientation]
|
||||
[react-native.platform :as platform]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.lightbox.zoomable-image.constants :as constants]
|
||||
[status-im.contexts.chat.messenger.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.messenger.lightbox.zoomable-image.constants :as constants]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
;;; Helpers
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.lightbox.zoomable-image.view
|
||||
(ns status-im.contexts.chat.messenger.lightbox.zoomable-image.view
|
||||
(:require
|
||||
[oops.core :refer [oget]]
|
||||
[react-native.core :as rn]
|
||||
@ -7,10 +7,10 @@
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as r]
|
||||
[status-im.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.lightbox.zoomable-image.constants :as c]
|
||||
[status-im.contexts.chat.lightbox.zoomable-image.style :as style]
|
||||
[status-im.contexts.chat.lightbox.zoomable-image.utils :as utils]
|
||||
[status-im.contexts.chat.messenger.lightbox.animations :as anim]
|
||||
[status-im.contexts.chat.messenger.lightbox.zoomable-image.constants :as c]
|
||||
[status-im.contexts.chat.messenger.lightbox.zoomable-image.style :as style]
|
||||
[status-im.contexts.chat.messenger.lightbox.zoomable-image.utils :as utils]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.url :as url]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.menus.pinned-messages.style
|
||||
(ns status-im.contexts.chat.messenger.menus.pinned-messages.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]))
|
@ -1,12 +1,12 @@
|
||||
(ns status-im.contexts.chat.menus.pinned-messages.view
|
||||
(ns status-im.contexts.chat.messenger.menus.pinned-messages.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[react-native.fast-image :as fast-image]
|
||||
[react-native.gesture :as gesture]
|
||||
[status-im.contexts.chat.menus.pinned-messages.style :as style]
|
||||
[status-im.contexts.chat.messages.content.view :as message]
|
||||
[status-im.contexts.chat.messenger.menus.pinned-messages.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.content.view :as message]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.avatar.view
|
||||
(ns status-im.contexts.chat.messenger.messages.avatar.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[react-native.core :as rn]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.constants)
|
||||
(ns status-im.contexts.chat.messenger.messages.constants)
|
||||
|
||||
;;;; Navigation
|
||||
(def ^:const top-bar-height 56)
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.contact-requests.bottom-drawer.style)
|
||||
(ns status-im.contexts.chat.messenger.messages.contact-requests.bottom-drawer.style)
|
||||
|
||||
(def container
|
||||
{:position :absolute
|
@ -1,9 +1,9 @@
|
||||
(ns status-im.contexts.chat.messages.contact-requests.bottom-drawer.view
|
||||
(ns status-im.contexts.chat.messenger.messages.contact-requests.bottom-drawer.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[react-native.core :as rn]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.contact-requests.bottom-drawer.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.contact-requests.bottom-drawer.style :as style]
|
||||
[status-im.contexts.shell.jump-to.constants :as jump-to.constants]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.album.style
|
||||
(ns status-im.contexts.chat.messenger.messages.content.album.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[status-im.constants :as constants]))
|
@ -1,13 +1,13 @@
|
||||
(ns status-im.contexts.chat.messages.content.album.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.album.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[react-native.fast-image :as fast-image]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.content.album.style :as style]
|
||||
[status-im.contexts.chat.messages.content.image.view :as image]
|
||||
[status-im.contexts.chat.messages.content.text.view :as text]
|
||||
[status-im.contexts.chat.messenger.messages.content.album.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.content.image.view :as image]
|
||||
[status-im.contexts.chat.messenger.messages.content.text.view :as text]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.url :as url]))
|
||||
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.messages.content.audio.component-spec
|
||||
(ns status-im.contexts.chat.messenger.messages.content.audio.component-spec
|
||||
(:require
|
||||
[react-native.audio-toolkit :as audio]
|
||||
[status-im.contexts.chat.messages.content.audio.view :as audio-message]
|
||||
[status-im.contexts.chat.messenger.messages.content.audio.view :as audio-message]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
;; We can't rely on `with-redefs` with async code.
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.audio.style
|
||||
(ns status-im.contexts.chat.messenger.messages.content.audio.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[quo.theme :as theme]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.audio.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.audio.view
|
||||
(:require
|
||||
["react-native-blob-util" :default ReactNativeBlobUtil]
|
||||
[goog.string :as gstring]
|
||||
@ -9,7 +9,7 @@
|
||||
[react-native.platform :as platform]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.content.audio.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.content.audio.style :as style]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.deleted.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.deleted.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[react-native.core :as rn]
|
@ -1,10 +1,10 @@
|
||||
(ns status-im.contexts.chat.messages.content.image.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.image.view
|
||||
(:require
|
||||
[react-native.core :as rn]
|
||||
[react-native.fast-image :as fast-image]
|
||||
[react-native.safe-area :as safe-area]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.content.text.view :as text]
|
||||
[status-im.contexts.chat.messenger.messages.content.text.view :as text]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.url :as url]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.link-preview.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.link-preview.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[utils.re-frame :as rf]))
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.messages.content.link-preview.view-test
|
||||
(ns status-im.contexts.chat.messenger.messages.content.link-preview.view-test
|
||||
(:require
|
||||
[cljs.test :refer [are deftest is]]
|
||||
[status-im.contexts.chat.messages.content.link-preview.view :as view]))
|
||||
[status-im.contexts.chat.messenger.messages.content.link-preview.view :as view]))
|
||||
|
||||
(deftest nearly-square?-test
|
||||
(are [pred width height] (is (pred (view/nearly-square? {:width width :height height})))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.pin.style
|
||||
(ns status-im.contexts.chat.messenger.messages.content.pin.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]))
|
||||
|
@ -1,10 +1,10 @@
|
||||
(ns status-im.contexts.chat.messages.content.pin.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.pin.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[status-im.contexts.chat.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messages.content.pin.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messenger.messages.content.pin.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.reactions.events
|
||||
(ns status-im.contexts.chat.messenger.messages.content.reactions.events
|
||||
(:require [clojure.set :as set]
|
||||
[status-im.constants :as constants]
|
||||
[taoensso.timbre :as log]
|
@ -1,9 +1,9 @@
|
||||
(ns status-im.contexts.chat.messages.content.reactions.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.reactions.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.theme :as quo.theme]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.drawers.view :as drawers]
|
||||
[status-im.contexts.chat.messenger.messages.drawers.view :as drawers]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn- on-press
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.status.style
|
||||
(ns status-im.contexts.chat.messenger.messages.content.status.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]))
|
||||
|
@ -1,9 +1,9 @@
|
||||
(ns status-im.contexts.chat.messages.content.status.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.status.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[status-im.contexts.chat.messages.content.status.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.content.status.style :as style]
|
||||
[utils.i18n :as i18n]))
|
||||
|
||||
(defn status
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.style
|
||||
(ns status-im.contexts.chat.messenger.messages.content.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.system.text.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.system.text.view
|
||||
(:require
|
||||
[legacy.status-im.ui.screens.chat.message.legacy-view :as old-message]
|
||||
[react-native.core :as rn]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.text.style
|
||||
(ns status-im.contexts.chat.messenger.messages.content.text.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]))
|
@ -1,11 +1,11 @@
|
||||
(ns status-im.contexts.chat.messages.content.text.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.text.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[react-native.platform :as platform]
|
||||
[status-im.contexts.chat.messages.content.link-preview.view :as link-preview]
|
||||
[status-im.contexts.chat.messages.content.text.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.content.link-preview.view :as link-preview]
|
||||
[status-im.contexts.chat.messenger.messages.content.text.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.unknown.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.unknown.view
|
||||
(:require
|
||||
[react-native.core :as rn]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.content.view
|
||||
(ns status-im.contexts.chat.messenger.messages.content.view
|
||||
(:require
|
||||
[legacy.status-im.ui.screens.chat.message.legacy-view :as old-message]
|
||||
[quo.core :as quo]
|
||||
@ -10,20 +10,20 @@
|
||||
[reagent.core :as reagent]
|
||||
[status-im.common.not-implemented :as not-implemented]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messages.avatar.view :as avatar]
|
||||
[status-im.contexts.chat.messages.content.album.view :as album]
|
||||
[status-im.contexts.chat.messages.content.audio.view :as audio]
|
||||
[status-im.contexts.chat.messages.content.deleted.view :as content.deleted]
|
||||
[status-im.contexts.chat.messages.content.image.view :as image]
|
||||
[status-im.contexts.chat.messages.content.pin.view :as pin]
|
||||
[status-im.contexts.chat.messages.content.reactions.view :as reactions]
|
||||
[status-im.contexts.chat.messages.content.status.view :as status]
|
||||
[status-im.contexts.chat.messages.content.style :as style]
|
||||
[status-im.contexts.chat.messages.content.system.text.view :as system.text]
|
||||
[status-im.contexts.chat.messages.content.text.view :as content.text]
|
||||
[status-im.contexts.chat.messages.content.unknown.view :as content.unknown]
|
||||
[status-im.contexts.chat.messages.drawers.view :as drawers]
|
||||
[status-im.contexts.chat.messenger.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messenger.messages.avatar.view :as avatar]
|
||||
[status-im.contexts.chat.messenger.messages.content.album.view :as album]
|
||||
[status-im.contexts.chat.messenger.messages.content.audio.view :as audio]
|
||||
[status-im.contexts.chat.messenger.messages.content.deleted.view :as content.deleted]
|
||||
[status-im.contexts.chat.messenger.messages.content.image.view :as image]
|
||||
[status-im.contexts.chat.messenger.messages.content.pin.view :as pin]
|
||||
[status-im.contexts.chat.messenger.messages.content.reactions.view :as reactions]
|
||||
[status-im.contexts.chat.messenger.messages.content.status.view :as status]
|
||||
[status-im.contexts.chat.messenger.messages.content.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.content.system.text.view :as system.text]
|
||||
[status-im.contexts.chat.messenger.messages.content.text.view :as content.text]
|
||||
[status-im.contexts.chat.messenger.messages.content.unknown.view :as content.unknown]
|
||||
[status-im.contexts.chat.messenger.messages.drawers.view :as drawers]
|
||||
[utils.address :as address]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.re-frame :as rf]))
|
@ -1,6 +1,6 @@
|
||||
(ns status-im.contexts.chat.messages.delete-message.events
|
||||
(ns status-im.contexts.chat.messenger.messages.delete-message.events
|
||||
(:require
|
||||
[status-im.contexts.chat.messages.list.events :as message-list]
|
||||
[status-im.contexts.chat.messenger.messages.list.events :as message-list]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.messages.delete-message.events-test
|
||||
(ns status-im.contexts.chat.messenger.messages.delete-message.events-test
|
||||
(:require
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[status-im.contexts.chat.messages.delete-message.events :as delete-message]
|
||||
[status-im.contexts.chat.messenger.messages.delete-message.events :as delete-message]
|
||||
[utils.datetime :as datetime]))
|
||||
|
||||
(def mid "message-id")
|
@ -1,6 +1,6 @@
|
||||
(ns status-im.contexts.chat.messages.delete-message-for-me.events
|
||||
(ns status-im.contexts.chat.messenger.messages.delete-message-for-me.events
|
||||
(:require
|
||||
[status-im.contexts.chat.messages.list.events :as message-list]
|
||||
[status-im.contexts.chat.messenger.messages.list.events :as message-list]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.messages.delete-message-for-me.events-test
|
||||
(ns status-im.contexts.chat.messenger.messages.delete-message-for-me.events-test
|
||||
(:require
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[status-im.contexts.chat.messages.delete-message-for-me.events :as
|
||||
[status-im.contexts.chat.messenger.messages.delete-message-for-me.events :as
|
||||
delete-message-for-me]
|
||||
[utils.datetime :as datetime]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.drawers.style
|
||||
(ns status-im.contexts.chat.messenger.messages.drawers.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.drawers.view
|
||||
(ns status-im.contexts.chat.messenger.messages.drawers.view
|
||||
(:require
|
||||
[quo.components.selectors.reaction-resource :as reactions.resource]
|
||||
[quo.core :as quo]
|
||||
@ -8,8 +8,8 @@
|
||||
[reagent.core :as reagent]
|
||||
[status-im.common.contact-list-item.view :as contact-list-item]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messages.drawers.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.reply.view :as reply]
|
||||
[status-im.contexts.chat.messenger.messages.drawers.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.link-preview.events
|
||||
(ns status-im.contexts.chat.messenger.messages.link-preview.events
|
||||
(:require
|
||||
[camel-snake-kebab.core :as csk]
|
||||
[legacy.status-im.mailserver.core :as mailserver]
|
@ -1,8 +1,8 @@
|
||||
(ns status-im.contexts.chat.messages.link-preview.events-test
|
||||
(ns status-im.contexts.chat.messenger.messages.link-preview.events-test
|
||||
(:require [cljs.test :as t]
|
||||
[legacy.status-im.mailserver.core :as mailserver]
|
||||
matcher-combinators.test
|
||||
[status-im.contexts.chat.messages.link-preview.events :as sut]))
|
||||
[status-im.contexts.chat.messenger.messages.link-preview.events :as sut]))
|
||||
|
||||
(t/deftest fetch-community
|
||||
(t/testing "with community id"
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.link-preview.style
|
||||
(ns status-im.contexts.chat.messenger.messages.link-preview.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[quo.foundations.typography :as typography]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.link-preview.view
|
||||
(ns status-im.contexts.chat.messenger.messages.link-preview.view
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo.core :as quo]
|
||||
@ -6,8 +6,8 @@
|
||||
[react-native.fast-image :as fast-image]
|
||||
[reagent.core :as reagent]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.link-preview.events]
|
||||
[status-im.contexts.chat.messages.link-preview.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.link-preview.events]
|
||||
[status-im.contexts.chat.messenger.messages.link-preview.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.security.core :as security]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.list.events
|
||||
(ns status-im.contexts.chat.messenger.messages.list.events
|
||||
(:require
|
||||
[status-im.constants :as constants]
|
||||
[utils.datetime :as datetime]
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.messages.list.events-test
|
||||
(ns status-im.contexts.chat.messenger.messages.list.events-test
|
||||
(:require
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[status-im.contexts.chat.messages.list.events :as s]
|
||||
[status-im.contexts.chat.messenger.messages.list.events :as s]
|
||||
[taoensso.tufte :as tufte :refer-macros [defnp profile]]))
|
||||
|
||||
(deftest message-stream-tests
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.list.state)
|
||||
(ns status-im.contexts.chat.messenger.messages.list.state)
|
||||
|
||||
(defonce first-not-visible-item (atom nil))
|
||||
|
@ -1,8 +1,8 @@
|
||||
(ns status-im.contexts.chat.messages.list.style
|
||||
(ns status-im.contexts.chat.messenger.messages.list.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.messages.constants :as messages.constants]))
|
||||
[status-im.contexts.chat.messenger.messages.constants :as messages.constants]))
|
||||
|
||||
(def keyboard-avoiding-container
|
||||
{:flex 1
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.list.view
|
||||
(ns status-im.contexts.chat.messenger.messages.list.view
|
||||
(:require
|
||||
[legacy.status-im.ui.screens.chat.group :as chat.group]
|
||||
[oops.core :as oops]
|
||||
@ -13,11 +13,11 @@
|
||||
[react-native.safe-area :as safe-area]
|
||||
[status-im.common.home.actions.view :as home.actions]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.composer.constants :as composer.constants]
|
||||
[status-im.contexts.chat.messages.constants :as messages.constants]
|
||||
[status-im.contexts.chat.messages.content.view :as message]
|
||||
[status-im.contexts.chat.messages.list.state :as state]
|
||||
[status-im.contexts.chat.messages.list.style :as style]
|
||||
[status-im.contexts.chat.messenger.composer.constants :as composer.constants]
|
||||
[status-im.contexts.chat.messenger.messages.constants :as messages.constants]
|
||||
[status-im.contexts.chat.messenger.messages.content.view :as message]
|
||||
[status-im.contexts.chat.messenger.messages.list.state :as state]
|
||||
[status-im.contexts.chat.messenger.messages.list.style :as style]
|
||||
[status-im.contexts.shell.jump-to.constants :as jump-to.constants]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.navigation.style
|
||||
(ns status-im.contexts.chat.messenger.messages.navigation.style
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.reanimated :as reanimated]))
|
@ -1,4 +1,4 @@
|
||||
(ns status-im.contexts.chat.messages.navigation.view
|
||||
(ns status-im.contexts.chat.messenger.messages.navigation.view
|
||||
(:require
|
||||
[quo.core :as quo]
|
||||
[quo.foundations.colors :as colors]
|
||||
@ -10,9 +10,9 @@
|
||||
[react-native.safe-area :as safe-area]
|
||||
[status-im.common.home.actions.view :as actions]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.contexts.chat.messages.constants :as messages.constants]
|
||||
[status-im.contexts.chat.messages.navigation.style :as style]
|
||||
[status-im.contexts.chat.messages.pin.banner.view :as pin.banner]
|
||||
[status-im.contexts.chat.messenger.messages.constants :as messages.constants]
|
||||
[status-im.contexts.chat.messenger.messages.navigation.style :as style]
|
||||
[status-im.contexts.chat.messenger.messages.pin.banner.view :as pin.banner]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.worklets.chat.messages :as worklets]))
|
@ -1,7 +1,7 @@
|
||||
(ns status-im.contexts.chat.messages.pin.banner.style
|
||||
(ns status-im.contexts.chat.messenger.messages.pin.banner.style
|
||||
(:require
|
||||
[react-native.reanimated :as reanimated]
|
||||
[status-im.contexts.chat.messages.constants :as messages.constants]))
|
||||
[status-im.contexts.chat.messenger.messages.constants :as messages.constants]))
|
||||
|
||||
(def container
|
||||
{:position :absolute
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user