chore: move activity centre and share into shell namespace (#16395)
This commit is contained in:
parent
fa698dbc30
commit
46182ad308
|
@ -11,7 +11,7 @@
|
|||
[status-im.bottom-sheet.events :as bottom-sheet]
|
||||
[status-im2.common.toasts.events :as toasts]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.shell.activity-center.events :as activity-center]
|
||||
[status-im2.navigation.events :as navigation]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.i18n :as i18n]
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
[status-im2.contexts.contacts.events :as contacts-store]
|
||||
[utils.re-frame :as rf]
|
||||
[status-im.utils.types :as types]
|
||||
[status-im2.contexts.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.shell.activity-center.events :as activity-center]
|
||||
[status-im2.navigation.events :as navigation]))
|
||||
|
||||
(rf/defn clean-up-chat
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(:require [clojure.set :as set]
|
||||
[status-im.data-store.messages :as messages]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification-types :as notification-types]))
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as notification-types]))
|
||||
|
||||
(defn mark-notifications-as-read
|
||||
[notifications]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(:require [cljs.test :refer [deftest is testing]]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im.data-store.activities :as store]
|
||||
[status-im2.contexts.activity-center.notification-types :as notification-types]))
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as notification-types]))
|
||||
|
||||
(def chat-id
|
||||
"0x04c66155")
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
status-im.wallet.choose-recipient.core
|
||||
[status-im.wallet.core :as wallet]
|
||||
status-im.wallet.custom-tokens.core
|
||||
status-im2.contexts.activity-center.events
|
||||
status-im2.contexts.activity-center.notification.contact-requests.events
|
||||
status-im2.contexts.shell.activity-center.events
|
||||
status-im2.contexts.shell.activity-center.notification.contact-requests.events
|
||||
status-im2.contexts.shell.jump-to.events
|
||||
status-im2.contexts.onboarding.events
|
||||
status-im.chat.models.gaps
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
[re-frame.core :as re-frame]
|
||||
[status-im2.contexts.chat.events :as chat.events]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.shell.activity-center.events :as activity-center]
|
||||
[status-im2.navigation.events :as navigation]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
[status-im.wallet.core :as wallet]
|
||||
[status-im.wallet.prices :as prices]
|
||||
[status-im2.common.json-rpc.events :as json-rpc]
|
||||
[status-im2.contexts.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.shell.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.chat.messages.link-preview.events :as link-preview]
|
||||
[status-im2.contexts.contacts.events :as contacts]
|
||||
[status-im2.navigation.events :as navigation]
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
[utils.re-frame :as rf]
|
||||
[status-im.utils.types :as types]
|
||||
[status-im.visibility-status-updates.core :as models.visibility-status-updates]
|
||||
[status-im2.contexts.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.shell.activity-center.events :as activity-center]
|
||||
[status-im2.contexts.chat.messages.pin.events :as messages.pin]))
|
||||
|
||||
(rf/defn process-next
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
[quo2.core :as quo]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[status-im2.contexts.activity-center.notification-types :as notification-types]
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as notification-types]
|
||||
[status-im2.contexts.chat.home.contact-request.style :as style]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
(ns status-im2.contexts.activity-center.events
|
||||
(ns status-im2.contexts.shell.activity-center.events
|
||||
(:require [quo2.foundations.colors :as colors]
|
||||
[status-im.data-store.activities :as activities]
|
||||
[status-im.data-store.chats :as data-store.chats]
|
||||
[status-im2.common.toasts.events :as toasts]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification-types :as types]
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as types]
|
||||
[status-im2.contexts.chat.events :as chat.events]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.collection :as collection]
|
|
@ -1,8 +1,8 @@
|
|||
(ns status-im2.contexts.activity-center.events-test
|
||||
(ns status-im2.contexts.shell.activity-center.events-test
|
||||
(:require [cljs.test :refer [deftest is testing]]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.events :as events]
|
||||
[status-im2.contexts.activity-center.notification-types :as types]
|
||||
[status-im2.contexts.shell.activity-center.events :as events]
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as types]
|
||||
[test-helpers.unit :as h]))
|
||||
|
||||
(h/use-log-fixture)
|
|
@ -1,8 +1,8 @@
|
|||
(ns status-im2.contexts.activity-center.notification.admin.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.admin.view
|
||||
(:require [quo2.core :as quo]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.activity-center.notification.common.style
|
||||
(ns status-im2.contexts.shell.activity-center.notification.common.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
|
||||
(def swipe-action-width 80)
|
|
@ -1,10 +1,10 @@
|
|||
(ns status-im2.contexts.activity-center.notification.common.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.common.view
|
||||
(:require [quo2.core :as quo]
|
||||
[react-native.core :as rn]
|
||||
[react-native.gesture :as gesture]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[status-im.multiaccounts.core :as multiaccounts]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
(ns status-im2.contexts.activity-center.notification.community-kicked.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.community-kicked.view
|
||||
(:require [quo2.core :as quo]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,8 +1,8 @@
|
|||
(ns status-im2.contexts.activity-center.notification.community-request.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.community-request.view
|
||||
(:require [quo2.core :as quo]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.activity-center.notification.contact-requests.events
|
||||
(ns status-im2.contexts.shell.activity-center.notification.contact-requests.events
|
||||
(:require [taoensso.timbre :as log]
|
||||
[utils.re-frame :as rf]))
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
(ns status-im2.contexts.activity-center.notification.contact-requests.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.contact-requests.view
|
||||
(:require
|
||||
[quo2.core :as quo]
|
||||
[react-native.gesture :as gesture]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,9 +1,9 @@
|
|||
(ns status-im2.contexts.activity-center.notification.contact-verification.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.contact-verification.view
|
||||
(:require [clojure.string :as string]
|
||||
[quo2.core :as quo]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,8 +1,8 @@
|
|||
(ns status-im2.contexts.activity-center.notification.membership.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.membership.view
|
||||
(:require [quo2.core :as quo]
|
||||
[react-native.gesture :as gesture]
|
||||
[status-im2.contexts.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.style :as common-style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.activity-center.notification.mentions.style
|
||||
(ns status-im2.contexts.shell.activity-center.notification.mentions.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
|
||||
(def tag
|
|
@ -1,9 +1,9 @@
|
|||
(ns status-im2.contexts.activity-center.notification.mentions.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.mentions.view
|
||||
(:require [clojure.string :as string]
|
||||
[quo2.core :as quo]
|
||||
[react-native.gesture :as gesture]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.activity-center.notification.mentions.style :as style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.mentions.style :as style]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.activity-center.notification.reply.style
|
||||
(ns status-im2.contexts.shell.activity-center.notification.reply.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
|
||||
(def tag
|
|
@ -1,12 +1,12 @@
|
|||
(ns status-im2.contexts.activity-center.notification.reply.view
|
||||
(ns status-im2.contexts.shell.activity-center.notification.reply.view
|
||||
(:require [clojure.string :as string]
|
||||
[quo2.core :as quo]
|
||||
[react-native.gesture :as gesture]
|
||||
[status-im2.contexts.chat.messages.content.legacy-view :as old-message]
|
||||
[status-im2.common.not-implemented :as not-implemented]
|
||||
[status-im2.constants :as constants]
|
||||
[status-im2.contexts.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.activity-center.notification.reply.style :as style]
|
||||
[status-im2.contexts.shell.activity-center.notification.common.view :as common]
|
||||
[status-im2.contexts.shell.activity-center.notification.reply.style :as style]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.activity-center.notification-types)
|
||||
(ns status-im2.contexts.shell.activity-center.notification-types)
|
||||
|
||||
(def ^:const no-type 0)
|
||||
(def ^:const one-to-one-chat 1)
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.activity-center.style
|
||||
(ns status-im2.contexts.shell.activity-center.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
|
||||
(def screen-padding 20)
|
|
@ -1,22 +1,23 @@
|
|||
(ns status-im2.contexts.activity-center.view
|
||||
(ns status-im2.contexts.shell.activity-center.view
|
||||
(:require [clojure.set :as set]
|
||||
[oops.core :as oops]
|
||||
[quo2.core :as quo]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[status-im2.contexts.activity-center.notification-types :as types]
|
||||
[status-im2.contexts.activity-center.notification.admin.view :as admin]
|
||||
[status-im2.contexts.activity-center.notification.contact-requests.view :as contact-requests]
|
||||
[status-im2.contexts.activity-center.notification.contact-verification.view :as
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as types]
|
||||
[status-im2.contexts.shell.activity-center.notification.admin.view :as admin]
|
||||
[status-im2.contexts.shell.activity-center.notification.contact-requests.view :as
|
||||
contact-requests]
|
||||
[status-im2.contexts.shell.activity-center.notification.contact-verification.view :as
|
||||
contact-verification]
|
||||
[status-im2.contexts.activity-center.notification.membership.view :as membership]
|
||||
[status-im2.contexts.activity-center.notification.mentions.view :as mentions]
|
||||
[status-im2.contexts.activity-center.notification.reply.view :as reply]
|
||||
[status-im2.contexts.activity-center.notification.community-request.view :as
|
||||
[status-im2.contexts.shell.activity-center.notification.membership.view :as membership]
|
||||
[status-im2.contexts.shell.activity-center.notification.mentions.view :as mentions]
|
||||
[status-im2.contexts.shell.activity-center.notification.reply.view :as reply]
|
||||
[status-im2.contexts.shell.activity-center.notification.community-request.view :as
|
||||
community-request]
|
||||
[status-im2.contexts.activity-center.notification.community-kicked.view :as
|
||||
[status-im2.contexts.shell.activity-center.notification.community-kicked.view :as
|
||||
community-kicked]
|
||||
[status-im2.contexts.activity-center.style :as style]
|
||||
[status-im2.contexts.shell.activity-center.style :as style]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]
|
||||
[react-native.blur :as blur]
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.share.events
|
||||
(ns status-im2.contexts.shell.share.events
|
||||
(:require [utils.re-frame :as rf]
|
||||
[status-im2.common.toasts.events :as toasts]
|
||||
[quo2.foundations.colors :as colors]))
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im2.contexts.share.style
|
||||
(ns status-im2.contexts.shell.share.style
|
||||
(:require [quo2.foundations.colors :as colors]
|
||||
[react-native.platform :as platform]))
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
(ns status-im2.contexts.share.view
|
||||
(ns status-im2.contexts.shell.share.view
|
||||
(:require [utils.i18n :as i18n]
|
||||
[quo2.core :as quo]
|
||||
[react-native.core :as rn]
|
||||
[status-im2.contexts.share.style :as style]
|
||||
[status-im2.contexts.shell.share.style :as style]
|
||||
[utils.re-frame :as rf]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.foundations.colors :as colors]
|
|
@ -2,7 +2,7 @@
|
|||
(:require [react-native.core :as rn]
|
||||
[status-im.fleet.core :as fleet]
|
||||
[status-im.wallet.db :as wallet.db]
|
||||
[status-im2.contexts.activity-center.events :as activity-center]))
|
||||
[status-im2.contexts.shell.activity-center.events :as activity-center]))
|
||||
|
||||
;; initial state of app-db
|
||||
(def app-db
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
[status-im2.db :as db]
|
||||
[utils.re-frame :as rf]
|
||||
[utils.datetime :as datetime]
|
||||
status-im2.contexts.share.events
|
||||
status-im2.contexts.shell.share.events
|
||||
status-im2.contexts.syncing.events
|
||||
status-im2.contexts.chat.events
|
||||
status-im2.common.password-authentication.events
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(ns status-im2.navigation.screens
|
||||
(:require
|
||||
[status-im2.config :as config]
|
||||
[status-im2.contexts.activity-center.view :as activity-center]
|
||||
[status-im2.contexts.shell.activity-center.view :as activity-center]
|
||||
[status-im2.contexts.add-new-contact.views :as add-new-contact]
|
||||
[status-im2.contexts.chat.lightbox.view :as lightbox]
|
||||
[status-im2.contexts.chat.messages.view :as chat]
|
||||
|
@ -31,7 +31,7 @@
|
|||
[status-im.ui.screens.screens :as old-screens]
|
||||
[status-im2.contexts.communities.actions.request-to-join.view :as join-menu]
|
||||
[status-im2.contexts.syncing.setup-syncing.view :as settings-setup-syncing]
|
||||
[status-im2.contexts.share.view :as share]
|
||||
[status-im2.contexts.shell.share.view :as share]
|
||||
[status-im2.contexts.onboarding.syncing.results.view :as syncing-results]
|
||||
[status-im2.contexts.onboarding.syncing.progress.view :as syncing-devices]
|
||||
[status-im2.contexts.chat.new-chat.view :as new-chat]))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(ns status-im2.subs.activity-center
|
||||
(:require [re-frame.core :as re-frame]
|
||||
[status-im2.contexts.activity-center.notification-types :as types]))
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as types]))
|
||||
|
||||
(re-frame/reg-sub
|
||||
:activity-center/notifications
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(ns status-im2.subs.activity-center-test
|
||||
(:require [cljs.test :refer [is testing]]
|
||||
[re-frame.db :as rf-db]
|
||||
[status-im2.contexts.activity-center.notification-types :as types]
|
||||
[status-im2.contexts.shell.activity-center.notification-types :as types]
|
||||
status-im2.subs.activity-center
|
||||
[test-helpers.unit :as h]
|
||||
[utils.re-frame :as rf]))
|
||||
|
|
Loading…
Reference in New Issue