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

merging v4 in master #47

Merged
merged 1,640 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1640 commits
Select commit Hold shift + click to select a range
64fbbef
removed unused code
deepanshugoyal01 Jan 5, 2021
d89f0fe
animation bug fix
deepanshugoyal01 Jan 5, 2021
431d260
emoji picker dynamic styling fix
deepanshugoyal01 Jan 5, 2021
57b3377
emoji picker dynamic styling fix
deepanshugoyal01 Jan 5, 2021
b8e9863
Merge branch 'feat/RegularReactions' into 'deliverables/week_6'
AbhinabDas1996 Jan 5, 2021
7c78dc1
removed logs
Jan 5, 2021
1a2d934
Merge conflicts removed while pulling 'deliverables/week_6' into ref…
Jan 5, 2021
b1b8465
Merge branch 'refactor' into 'deliverables/week_6'
Jan 5, 2021
445495a
merge conflicts resolved while pulling from deliverables/week_6 into …
deepanshugoyal01 Jan 6, 2021
58c2d41
responsiveness added
deepanshugoyal01 Jan 6, 2021
e4ec6bf
added css for scrollbar
deepanshugoyal01 Jan 6, 2021
abe7eed
removed unwanted files
deepanshugoyal01 Jan 6, 2021
d735c22
css fix
deepanshugoyal01 Jan 6, 2021
12dddd8
css fix to wrap message in thread
deepanshugoyal01 Jan 6, 2021
041c318
added string constant
deepanshugoyal01 Jan 6, 2021
395583b
regularReaction in thread bug fix
deepanshugoyal01 Jan 6, 2021
b647861
regularReaction in thread bug fix and added loader if messages not found
deepanshugoyal01 Jan 6, 2021
4111a51
displayed loader
deepanshugoyal01 Jan 6, 2021
a35fa00
Merge branch 'feat/CometChatUnified-UI' into 'deliverables/week_6'
AbhinabDas1996 Jan 6, 2021
4b9633e
css fix
deepanshugoyal01 Jan 6, 2021
bf981cc
added constants for strings
deepanshugoyal01 Jan 6, 2021
010b822
Merge branch 'feat/CometChatUnified-UI' into 'deliverables/week_6'
AbhinabDas1996 Jan 6, 2021
6ad067c
css added pointer
deepanshugoyal01 Jan 6, 2021
5deaf99
regularReaction bug fix
deepanshugoyal01 Jan 6, 2021
e1c8529
library warning fix
deepanshugoyal01 Jan 6, 2021
53aa2f3
Merge branch 'feat/CometChatUnified-UI' into 'deliverables/week_6'
deepanshugoyal01 Jan 6, 2021
00b763a
icons size fix
deepanshugoyal01 Jan 6, 2021
b167860
css fix for delted-messable-bubble
deepanshugoyal01 Jan 6, 2021
32ed092
time format fixed in deleted-message-bubble
deepanshugoyal01 Jan 6, 2021
861fd2b
UID not found -bug fix
deepanshugoyal01 Jan 6, 2021
719c702
Merge branch 'feat/CometChatUnified-UI' into 'deliverables/week_6'
deepanshugoyal01 Jan 6, 2021
036b710
restructuring of directory
deepanshugoyal01 Jan 7, 2021
e7b239e
renaming bug-fix
deepanshugoyal01 Jan 7, 2021
069d56f
Cometchat-call-alert renamed to Cometchat-incoming-call
deepanshugoyal01 Jan 7, 2021
fcb72a2
Component keyword added in CometchatIncomingCall
deepanshugoyal01 Jan 7, 2021
8584cc0
Cometchat-call-screen renamed to Cometchat-outgoing-call
deepanshugoyal01 Jan 7, 2021
7467b79
CometchatReceiverPollBubble renamed to CometchatReceiverPollMessageBu…
deepanshugoyal01 Jan 7, 2021
652cfe3
CometchatRegularReactionView renamed to CometchatMessageReactions
deepanshugoyal01 Jan 7, 2021
14643c5
CometchatReplyPreview renamed to CometchatSmartReplyPreview
deepanshugoyal01 Jan 7, 2021
2cee4c9
CometchatSenderPollBubble renamed to CometchatSenderPollMessageBubble
deepanshugoyal01 Jan 7, 2021
2dee209
CometchatSenderStickerBubble renamed to CometchatSenderStickerMessage…
deepanshugoyal01 Jan 7, 2021
f0f03e4
CometchatReceiverStickerBubble renamed to CometchatReceiverStickerMes…
deepanshugoyal01 Jan 7, 2021
27fba64
CometchatMemberView renamed to CometchatViewGroupMemberListItem
deepanshugoyal01 Jan 7, 2021
3f73109
CometchatViewMembers renamed to CometchatViewGroupMemberList
deepanshugoyal01 Jan 7, 2021
370e4fc
CometchatAddMemberView renamed to CometchatAddGroupMemberListItem
deepanshugoyal01 Jan 7, 2021
499c1a3
CometchatAddMembers renamed to CometchatAddGroupMemberList
deepanshugoyal01 Jan 7, 2021
a9bbf5f
CometchatBanMemberView renamed to CometchatBanGroupMemberListItem
deepanshugoyal01 Jan 7, 2021
a9f1af2
CometchatBanMembers renamed to CometchatBanGroupMemberList
deepanshugoyal01 Jan 7, 2021
893292c
CometchatGroupDetail renamed to CometchatGroupDetails
deepanshugoyal01 Jan 7, 2021
b766701
CometchatGroupView renamed to CometchatGroupListItem
deepanshugoyal01 Jan 7, 2021
7a0a5b0
CometchatStickerView renamed to CometchatStickerKeyboard
deepanshugoyal01 Jan 7, 2021
f500423
CometchatDeletedMessageBubble renamed to CometchatDeleteMessageBuble
deepanshugoyal01 Jan 7, 2021
14510e7
CometchatImageView renamed to CometchatImageViewer
deepanshugoyal01 Jan 7, 2021
a92190f
CometchatLiveReaction renamed to CometchatLiveReactions
deepanshugoyal01 Jan 7, 2021
266ff26
CometchatReceiverAudioBubble renamed to CometchatReceiverAudioMessage…
deepanshugoyal01 Jan 7, 2021
66d3ede
CometchatReceiverFileBubble renamed to CometchatReceiverFileMessageBu…
deepanshugoyal01 Jan 7, 2021
d50705c
CometchatReceiverImageBubble renamed to CometchatReceiverImageMessage…
deepanshugoyal01 Jan 7, 2021
256996d
CometchatSenderAudioBubble renamed to CometchatSenderAudioMessageBubble
deepanshugoyal01 Jan 7, 2021
29db6bd
CometchatSenderFileBubble renamed to CometchatSenderFileMessageBubble
deepanshugoyal01 Jan 7, 2021
78399d5
CometchatSenderImageBubble renamed to CometchatSenderImageMessageBubble
deepanshugoyal01 Jan 7, 2021
e4f4b96
CometchatSenderVideoBubble renamed to CometchatSenderVideoMessageBubble
deepanshugoyal01 Jan 7, 2021
3b45fae
CometchatSenderMessageBubble renamed to CometchatSenderTextMessageBubble
deepanshugoyal01 Jan 7, 2021
3850132
CometchatReceiverMessageBubble renamed to CometchatReceiverTextMessag…
deepanshugoyal01 Jan 7, 2021
59cc8e5
CometchatReplyCount renamed to CometchatThreadedMessageReplyCount
deepanshugoyal01 Jan 7, 2021
fa94f35
CometchatToolTip renamed to CometchatMessageActions
deepanshugoyal01 Jan 7, 2021
1aed8a0
CometchatSharedMediaView renamed to CometchatSharedMedia
deepanshugoyal01 Jan 7, 2021
86e9498
readMe file updated
Jan 7, 2021
a237b33
readMe modified
Jan 7, 2021
d27cc18
consts.ts key change from API_KEY to AUTH_KEY according to documentation
Jan 7, 2021
febbee9
screenShots added
Jan 7, 2021
71b2878
CometchatCallMessage renamed to CometchatActionMessageBubble
deepanshugoyal01 Jan 7, 2021
2cb4a2e
CometchatUserInfoScreen renamed to CometchatUserProfile
deepanshugoyal01 Jan 7, 2021
15a6e9a
CometchatUnified renamed to CometchatApp and folder changed from UI K…
deepanshugoyal01 Jan 7, 2021
5de340b
CometchatConversationView renamed to CometchatConversationListItem
deepanshugoyal01 Jan 7, 2021
cbbe2e6
CometchatConversationListScreen renamed to CometchatConversationListW…
deepanshugoyal01 Jan 7, 2021
6626aa3
CometchatUserDetail renamed to CometchatUserDetails
deepanshugoyal01 Jan 7, 2021
b3f24f4
CometchatUserListScreen renamed to CometchatUserListWithMessages
deepanshugoyal01 Jan 7, 2021
d1c0f64
CometchatGroupListScreen renamed to CometchatGroupWithMessages
deepanshugoyal01 Jan 7, 2021
bac8130
CometchatMessageListScreen renamed to CometchatMessages
deepanshugoyal01 Jan 7, 2021
e587abf
CometchatCreatePollView renamed to CometchatCreatePoll
deepanshugoyal01 Jan 7, 2021
28af8ef
cometchat-nav-bar folder changed to UserProfile
deepanshugoyal01 Jan 7, 2021
829548a
member unbanned -date bug fix
deepanshugoyal01 Jan 7, 2021
55a6a37
added constant for string
deepanshugoyal01 Jan 7, 2021
22d5ecd
bug fix for uid not found and emitted action to close detailView when…
deepanshugoyal01 Jan 7, 2021
e93a4e6
bug fixed by replacing item with curentItem
deepanshugoyal01 Jan 7, 2021
bd33ecf
handled case to close detailView when tab is switched from navBar
deepanshugoyal01 Jan 7, 2021
7fa00f8
CometchatReceiverVideoBubble renamed to CometchatReceiverVideoMessage…
deepanshugoyal01 Jan 7, 2021
a9c618d
css fix
deepanshugoyal01 Jan 7, 2021
b954f92
logs removed
deepanshugoyal01 Jan 7, 2021
fc369fe
renamed contacts to users
Jan 7, 2021
521d28e
minor changes in parentApp
Jan 7, 2021
82c1c3a
dist folder of library added
Jan 7, 2021
c86b0ef
merge conflicts resolved while pulling deliverables/week_6 into folde…
Jan 7, 2021
1a683d4
readMe File updated for sampleApp
Jan 7, 2021
e84dff6
test file removed
Jan 7, 2021
dfe8b7c
merge conflicts resolved while pulling from Folder-Restructure into …
deepanshugoyal01 Jan 8, 2021
a3eba35
comments removed
deepanshugoyal01 Jan 8, 2021
8e2d1a4
comments removed
deepanshugoyal01 Jan 8, 2021
676a2f1
comments removed
deepanshugoyal01 Jan 8, 2021
5dcf69e
comments removed
deepanshugoyal01 Jan 8, 2021
866c2d4
comments removed
deepanshugoyal01 Jan 8, 2021
f176b47
readMe updated
Jan 8, 2021
565cc86
added constant for string
deepanshugoyal01 Jan 8, 2021
be134da
cometchat-app moved to folder UnifiedChat from CometChatApp
deepanshugoyal01 Jan 8, 2021
522548e
CometchatApp renamed to CometchatUnifiedChat
deepanshugoyal01 Jan 8, 2021
31f0bc2
styles added
deepanshugoyal01 Jan 8, 2021
b3758ca
new library build
deepanshugoyal01 Jan 8, 2021
1e01b21
@viewchild bug fix
deepanshugoyal01 Jan 8, 2021
df6fab3
new library build
deepanshugoyal01 Jan 8, 2021
ae25e2c
merge conflicts resolved while pulling from Folder-Restructure into s…
deepanshugoyal01 Jan 8, 2021
ca02740
home Page styling changes
Jan 10, 2021
9214854
merge conflicts resolved
Jan 10, 2021
7de01ef
styling changes
Jan 10, 2021
78cd695
bug fixed for image view by adding break
deepanshugoyal01 Jan 11, 2021
395c577
bug fixed for conversation-list
deepanshugoyal01 Jan 11, 2021
6d45a94
static changed to true
deepanshugoyal01 Jan 11, 2021
511488d
bug fixed by adding condition
deepanshugoyal01 Jan 11, 2021
0cfbf28
merge conflicts resolved while pulling from sampleApp into Folder-Res…
deepanshugoyal01 Jan 11, 2021
c0b792a
CometchatUnifiedChat renamed to Cometchat
deepanshugoyal01 Jan 11, 2021
1b73f2a
home page fixed
deepanshugoyal01 Jan 11, 2021
500dbee
added dist in .gitignore
deepanshugoyal01 Jan 11, 2021
36eb887
deleted dist
deepanshugoyal01 Jan 11, 2021
88191e8
css folder moved inside components folder
deepanshugoyal01 Jan 11, 2021
cd3c12a
folder name changed to CometChat
deepanshugoyal01 Jan 11, 2021
e6f030f
UI-components copied and integrated inside chat-app
deepanshugoyal01 Jan 11, 2021
1b44435
UI-kit removed from the app
deepanshugoyal01 Jan 11, 2021
bac50be
readMe updated
Jan 11, 2021
7ebc8e0
Updated README.md, added npm install command
deepanshugoyal01 Jan 12, 2021
aba1ded
comments removed
deepanshugoyal01 Jan 12, 2021
6adbe73
empty string bug fixed
deepanshugoyal01 Jan 12, 2021
9c2d5b2
bug-fixed isDateDifferent function updated
deepanshugoyal01 Jan 12, 2021
a7b2fc3
bug fixed
deepanshugoyal01 Jan 12, 2021
ee6a18c
components folder updated
deepanshugoyal01 Jan 13, 2021
879f843
components folder deleted
deepanshugoyal01 Jan 13, 2021
c38ca50
components folder added
deepanshugoyal01 Jan 13, 2021
c4ea17e
readme-fixes
ajaygajra Jan 14, 2021
8e78868
cyclopes image remove
ajaygajra Jan 14, 2021
8bfcadc
Merge branch 'readme-fxes' into sampleApp
ajaygajra Jan 14, 2021
3d2afac
quotes removed
deepanshugoyal01 Jan 14, 2021
a2e8a02
css fix for shared-media
deepanshugoyal01 Jan 14, 2021
fbb484c
position changed for icon
deepanshugoyal01 Jan 14, 2021
392329c
cometchat to cometchat-ui
ajaygajra Jan 14, 2021
071174a
<CometChat> to <CometChatUI>
ajaygajra Jan 14, 2021
51f23cb
div replaced with ng-container
deepanshugoyal01 Jan 14, 2021
91d8007
Merge branch 'sampleApp' of https://github.com/Inscripts/cometchat-pr…
deepanshugoyal01 Jan 14, 2021
5d17ddc
group list with messages updated
ajaygajra Jan 15, 2021
36ed97c
component folder deleted
deepanshugoyal01 Jan 18, 2021
2d3635f
components folder added
deepanshugoyal01 Jan 18, 2021
093535a
components folder deleted
deepanshugoyal01 Jan 18, 2021
14e37f0
components folder updated
deepanshugoyal01 Jan 18, 2021
5f69730
css fix for image in thread
deepanshugoyal01 Jan 19, 2021
4bd7c3d
new ui kit integrated
Feb 18, 2021
331ab36
removed auth key
Feb 18, 2021
1c8183e
new library integrated
Feb 18, 2021
acec986
removed unused css folder
Feb 18, 2021
2d18b7e
updated angular.json imports
Feb 18, 2021
63638d8
Delete .DS_Store
Feb 18, 2021
684749c
readMe updated
Feb 18, 2021
619ce13
images folder deleted
Feb 18, 2021
356f58b
latest library integrated
Feb 18, 2021
9249850
additional files, readme update
Feb 19, 2021
2ea684f
additional files, readme update
Feb 19, 2021
6d201fa
additional files, readme update
Feb 19, 2021
2831cc9
readem update
Feb 19, 2021
378e50f
old library deleted
Feb 19, 2021
5e709f6
new library integrated
Feb 19, 2021
50f092d
merge conflicts resolved
Feb 19, 2021
6d06408
old library deleted
Feb 19, 2021
00c6498
new library added
Feb 19, 2021
0b03dc2
new library integrated
Feb 19, 2021
3cdf840
merge conflicts resolved
Feb 19, 2021
fc5eb05
merge conflicts resolved
Feb 19, 2021
765be1b
Update README.md
priyadarshininadar Feb 19, 2021
20af9b0
Update README.md
priyadarshininadar Feb 19, 2021
874f7bd
Merge pull request #2 from cometchat-team/sampleApp
priyadarshininadar Feb 19, 2021
e3f1acf
Merge pull request #3 from cometchat-team/dev
ranjanravi85 Feb 19, 2021
f612162
Adding guthub actions
Feb 22, 2021
be6a762
updating sdk v2.2.0
Feb 22, 2021
2b09834
Merge pull request #4 from cometchat-team/sdk-v2.2.0
mayur-bhandari Feb 22, 2021
932faed
Merge pull request #5 from cometchat-team/dev
ranjanravi85 Feb 22, 2021
9805c17
Update README.md
priyadarshininadar Feb 22, 2021
8efc70d
Merge pull request #6 from cometchat-team/sdk-v2.2.0
priyadarshininadar Feb 22, 2021
0346e08
Merge pull request #7 from cometchat-team/dev
ranjanravi85 Feb 22, 2021
4fbe3f3
updated sdk version.
mayur-bhandari Mar 3, 2021
7c6a2ce
removing appId from CONSTS.
mayur-bhandari Mar 3, 2021
7a0712d
Merge pull request #8 from cometchat-team/CPE-2247
mayur-bhandari Mar 3, 2021
7468f1b
Merge pull request #9 from cometchat-team/dev
ranjanravi85 Mar 3, 2021
cf73f92
mark as read method changed to support v3 beta
ajaygajra Apr 5, 2021
0d47bd1
Const File updated to placeholders
ajaygajra Apr 5, 2021
b0c956b
markAsRead method changed
ajaygajra Apr 5, 2021
61eda92
Merge branch 'CPE-2605' into dev-v3
ajaygajra Apr 5, 2021
7f0de3a
folder structure resolved
ananyasisodia Oct 26, 2021
2a3dc3b
Read me updated
ananyasisodia Oct 26, 2021
9886372
read me changed
ananyasisodia Oct 26, 2021
7f0e250
final changes readme
ananyasisodia Oct 26, 2021
0054d01
image added
ananyasisodia Oct 26, 2021
25f1a77
added postinstall file
ananyasisodia Oct 27, 2021
c32aa8e
gitignore changed
ananyasisodia Oct 27, 2021
4c3ff95
updated package.json
ananyasisodia Nov 12, 2021
72c204b
updated angular.json
ananyasisodia Nov 17, 2021
02488a9
internal project folder deleted
ananyasisodia Nov 18, 2021
b9befcd
Merge pull request #57 from cometchat-team/angular-12
ajaygajra Nov 19, 2021
0efd79b
ui-kit deleted
ananyasisodia Nov 23, 2021
eed5cce
gitignore changed
ananyasisodia Nov 23, 2021
416178c
ignore ui-kit added
ananyasisodia Nov 23, 2021
cb672e7
reverting back to angular version 8 and updating sdk version 3.0.3
ananyasisodia Nov 23, 2021
6bcc00a
angular.json issue resolved
ananyasisodia Nov 25, 2021
50172da
README.md updated
ananyasisodia Nov 26, 2021
f35146b
Merge pull request #58 from cometchat-team/bugfix/resolved-folder-str…
priyadarshininadar Nov 30, 2021
027fd84
package.json updated
ananyasisodia Jan 6, 2022
a2a344a
Merge pull request #60 from cometchat-team/v3.0.5-1
ananyasisodia Jan 18, 2022
16ece83
sdk v3.0.6 updated
ananyasisodia Feb 4, 2022
c7bcc94
Merge pull request #62 from cometchat-team/v3.0.6-1
ananyasisodia Feb 14, 2022
05cacfe
updated logout method
raj-dubey1 Apr 12, 2022
16ba7cb
Merge pull request #76 from cometchat-team/bugfix/logout
raj-dubey1 Apr 12, 2022
4183f7c
changes
raj-dubey1 Oct 20, 2022
43bf596
Merge pull request #84 from cometchat-team/feature/beta1.1
raj-dubey1 Oct 20, 2022
7e58fb9
updated sample app
raj-dubey1 May 30, 2023
9e87666
Merge pull request #102 from cometchat-team/beta-2
raj-dubey1 May 30, 2023
9e261d2
updated sample app
raj-dubey1 Jun 6, 2023
61a3241
updated sample app
raj-dubey1 Jun 6, 2023
3afba2d
updated sample app
raj-dubey1 Jun 6, 2023
1387b0d
updated sample app
raj-dubey1 Jun 6, 2023
db4c28f
updated package
raj-dubey1 Jun 7, 2023
26a4a55
updated sample app
raj-dubey1 Jun 7, 2023
573ede9
added gitit ignore
raj-dubey1 Jun 7, 2023
d5fc570
changes
raj-dubey1 Jun 7, 2023
d9fee28
updated uikit version
raj-dubey1 Jul 3, 2023
4ff7466
Merge pull request #105 from cometchat-team/uikit-update
raj-dubey1 Jul 3, 2023
7df322c
updated uikit version
raj-dubey1 Jul 3, 2023
9600e47
Merge pull request #106 from cometchat-team/uikit-update
raj-dubey1 Jul 3, 2023
15a9add
optimized login method
raj-dubey1 Jul 5, 2023
efed07e
Merge pull request #107 from cometchat-team/uikit-update
raj-dubey1 Jul 5, 2023
db93c64
changes
raj-dubey1 Sep 4, 2023
623df1c
changes
raj-dubey1 Sep 4, 2023
a18f39d
Merge pull request #108 from cometchat-team/v4-app
raj-dubey1 Sep 4, 2023
da1e2ac
changes
raj-dubey1 Oct 17, 2023
7831dd7
changes
raj-dubey1 Oct 17, 2023
9d9b1f1
Merge pull request #109 from cometchat-team/v4-calls-testing
raj-dubey1 Oct 17, 2023
8adbbe4
changes
raj-dubey1 Oct 17, 2023
e90b329
Merge pull request #110 from cometchat-team/v4-calls-testing
raj-dubey1 Oct 17, 2023
3e9c2af
added call log realetd component
birendra20 Dec 17, 2023
892bed2
added call log realetd component
birendra20 Dec 17, 2023
8dee1d6
added icons for all call-log components
birendra20 Dec 18, 2023
c66caaf
removed unwanted console
birendra20 Dec 18, 2023
a584109
updated
birendra20 Dec 18, 2023
d036788
Merge pull request #112 from cometchat-team/ENG-1687
birendra20 Dec 18, 2023
a0b2031
Merge remote-tracking branch 'upstream/dev-v4' into call-logs-temp
birendra20 Dec 18, 2023
e0bcd26
Merge pull request #46 from cometchat/call-logs-temp
birendraprasad-gupta Dec 18, 2023
0132f8e
upadted version info
birendraprasad-gupta Dec 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cometchat-chat-sample-app-angular",
"version": "4.0.1",
"version": "4.1.0",
"license": "SEE LICENSE IN LICENSE.md",
"scripts": {
"ng": "ng",
Expand All @@ -19,8 +19,8 @@
"@angular/platform-browser": "~13.3.0",
"@angular/platform-browser-dynamic": "~13.3.0",
"@angular/router": "~13.3.0",
"@cometchat/calls-sdk-javascript": "^4.0.4",
"@cometchat/chat-uikit-angular":"~4.0.2",
"@cometchat/calls-sdk-javascript": "^4.0.6",
"@cometchat/chat-uikit-angular": "^4.1.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
Expand Down
10 changes: 5 additions & 5 deletions src/MetaInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const MetaInfo = {
name:"cometchat-chat-sample-app-angular",
version:"4.0.2",
type:"sample",
platform:"Angular"
}
name: 'cometchat-chat-sample-app-angular',
version: '4.1.0',
type: 'sample',
platform: 'Angular',
};
103 changes: 71 additions & 32 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CometChatContacts, CometChatConversationsWithMessages, CometChatConversationsWithMessagesComponent } from '@cometchat/chat-uikit-angular';
import {
CometChatContacts,
CometChatConversationsWithMessages,
CometChatConversationsWithMessagesComponent,
} from '@cometchat/chat-uikit-angular';
import { ChatsComponent } from './chats/chats.component';
import { ConversationsDemoComponent } from './chats/conversations-demo/conversations-demo.component';
import { ConversationsWithMessagesDemoComponent } from './chats/conversations-with-messages-demo/conversations-with-messages-demo.component';
Expand Down Expand Up @@ -32,9 +36,16 @@ import { CallsComponent } from './calls/calls.component';
import { CallButtonsDemoComponent } from './calls/call-buttons-demo/call-buttons-demo.component';
import { ContactsDemoComponent } from './chats/contacts-demo/contacts-demo.component';
import { MessageInformationDemoComponent } from './messages/message-information-demo/message-information-demo.component';
import { CallLogsComponent } from './call-logs/call-logs.component';
import { CallLogsWithDetailsDemoComponent } from './call-logs/call-logs-with-details-demo/call-logs-with-details-demo.component';
import { CallLogDetailsDemoComponent } from './call-logs/call-log-details-demo/call-log-details-demo.component';
import { CallLogsDemoComponent } from './call-logs/call-logs-demo/call-logs-demo.component';
import { CallLogParticipantsDemoComponent } from './call-logs/call-log-participants-demo/call-log-participants-demo.component';
import { CallLogRecordingsDemoComponent } from './call-logs/call-log-recordings-demo/call-log-recordings-demo.component';
import { CallLogHistoryDemoComponent } from './call-logs/call-log-history-demo/call-log-history-demo.component';

const routes: Routes = [
{ path: '', redirectTo: "login", pathMatch: "full" },
{ path: '', redirectTo: 'login', pathMatch: 'full' },
{
path: 'login',
component: LoginComponent,
Expand All @@ -46,29 +57,40 @@ const routes: Routes = [
{
path: 'home',
component: HomeComponent,
children:[
children: [
{
path : '',
component: ChatsComponent},
path: '',
component: ChatsComponent,
},
{
path : 'shared-module',
component: SharedComponent},
{
path : 'users-module',
component: UsersComponent},
{
path : 'groups-module',
component: GroupsComponent},
{
path : 'chats-module',
component: ChatsComponent},
{
path : 'messages-module',
component: MessagesComponent},
{
path : 'calls-module',
component: CallsComponent},
]
path: 'shared-module',
component: SharedComponent,
},
{
path: 'users-module',
component: UsersComponent,
},
{
path: 'groups-module',
component: GroupsComponent,
},
{
path: 'chats-module',
component: ChatsComponent,
},
{
path: 'messages-module',
component: MessagesComponent,
},
{
path: 'calls-module',
component: CallsComponent,
},
{
path: 'call-logs-module',
component: CallLogsComponent,
},
],
},
{
path: 'conversations-with-messages',
Expand Down Expand Up @@ -125,41 +147,58 @@ const routes: Routes = [
{
path: 'join-group',
component: JoinGroupDemoComponent,

},
{
path: 'group-members',
component: GroupMembersDemoComponent,

},
{
path: 'add-member',
component: AddMembersDemoComponent,

},
{
path: 'transfer-ownership',
component: TransferOwnershipDemoComponent,

},
{
path: 'banned-members',
component: BannedMembersDemoComponent,

},
{
path: 'details',
component: DetailsDemoComponent,

},
{
path: 'call-buttons',
component: CallButtonsDemoComponent,
},

{
path: 'call-logs',
component: CallLogsDemoComponent,
},
{
path: 'call-logs-with-details',
component: CallLogsWithDetailsDemoComponent,
},
{
path: 'call-log-details',
component: CallLogDetailsDemoComponent,
},
{
path: 'call-log-participants',
component: CallLogParticipantsDemoComponent,
},
{
path: 'call-log-recordings',
component: CallLogRecordingsDemoComponent,
},
{
path: 'call-log-history',
component: CallLogHistoryDemoComponent,
},
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
exports: [RouterModule],
})
export class AppRoutingModule { }
export class AppRoutingModule {}
54 changes: 47 additions & 7 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { FormsModule } from '@angular/forms';
import { LoginComponent } from './login/login.component';
import { SignUpComponent } from './sign-up/sign-up.component';
import { CometChatContacts, CometChatConversations, CometChatConversationsWithMessages, CometChatGroups, CometChatGroupsWithMessages, CometChatIncomingCall, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessages, CometChatUsers, CometChatUsersWithMessages } from '@cometchat/chat-uikit-angular';
import {
CometChatCallLogDetails,
CometChatCallLogHistory,
CometChatCallLogParticipants,
CometChatCallLogRecordings,
CometChatCallLogs,
CometChatCallLogsWithDetails,
CometChatContacts,
CometChatConversations,
CometChatConversationsWithMessages,
CometChatGroups,
CometChatGroupsWithMessages,
CometChatIncomingCall,
CometChatMessageBubble,
CometChatMessageComposer,
CometChatMessageHeader,
CometChatMessageInformation,
CometChatMessageList,
CometChatMessages,
CometChatUsers,
CometChatUsersWithMessages,
} from '@cometchat/chat-uikit-angular';
import { RouterModule } from '@angular/router';
import { MessagesDemoComponent } from './messages/messages-demo/messages-demo.component';
import { GroupsDemoComponent } from './groups/groups-demo/groups-demo.component';
Expand All @@ -27,6 +48,13 @@ import { HomeModule } from './home/home.module';
import { CallsModule } from './calls/calls.module';
import { ContactsDemoComponent } from './chats/contacts-demo/contacts-demo.component';
import { MessageInformationDemoComponent } from './messages/message-information-demo/message-information-demo.component';
import { CallLogsModule } from './call-logs/call-logs.module';
import { CallLogsDemoComponent } from './call-logs/call-logs-demo/call-logs-demo.component';
import { CallLogsWithDetailsDemoComponent } from './call-logs/call-logs-with-details-demo/call-logs-with-details-demo.component';
import { CallLogDetailsDemoComponent } from './call-logs/call-log-details-demo/call-log-details-demo.component';
import { CallLogParticipantsDemoComponent } from './call-logs/call-log-participants-demo/call-log-participants-demo.component';
import { CallLogRecordingsDemoComponent } from './call-logs/call-log-recordings-demo/call-log-recordings-demo.component';
import { CallLogHistoryDemoComponent } from './call-logs/call-log-history-demo/call-log-history-demo.component';
@NgModule({
declarations: [
AppComponent,
Expand All @@ -43,8 +71,13 @@ import { MessageInformationDemoComponent } from './messages/message-information-
MessageComposerDemoComponent,
MessageHeaderDemoComponent,
ContactsDemoComponent,
MessageInformationDemoComponent

MessageInformationDemoComponent,
CallLogsDemoComponent,
CallLogsWithDetailsDemoComponent,
CallLogDetailsDemoComponent,
CallLogParticipantsDemoComponent,
CallLogRecordingsDemoComponent,
CallLogHistoryDemoComponent,
],
imports: [
BrowserModule,
Expand All @@ -68,14 +101,21 @@ import { MessageInformationDemoComponent } from './messages/message-information-
ChatsModule,
GroupsModule,
CallsModule,
CallLogsModule,
FormsModule,
CometChatIncomingCall,
CometChatContacts,
CometChatMessageInformation,
CometChatMessageBubble
CometChatMessageBubble,
CometChatCallLogs,
CometChatCallLogsWithDetails,
CometChatCallLogDetails,
CometChatCallLogParticipants,
CometChatCallLogRecordings,
CometChatCallLogHistory,
],
providers: [],
bootstrap: [AppComponent],
schemas:[CUSTOM_ELEMENTS_SCHEMA]
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
export class AppModule { }
export class AppModule {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<cometchat-call-log-details
[user]="user!"
[call]="call"
*ngIf="user && call"
></cometchat-call-log-details>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { CallLogDetailsDemoComponent } from './call-log-details-demo.component';

describe('CallLogDetailsDemoComponent', () => {
let component: CallLogDetailsDemoComponent;
let fixture: ComponentFixture<CallLogDetailsDemoComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ CallLogDetailsDemoComponent ]
})
.compileComponents();
});

beforeEach(() => {
fixture = TestBed.createComponent(CallLogDetailsDemoComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import {
Component,
HostListener,
Input,
OnInit,
ChangeDetectorRef,
} from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { CometChat } from '@cometchat/chat-sdk-javascript';
import {
CometChatLocalize,
CometChatTheme,
CometChatThemeService,
CometChatUIKitCalls,
CometChatUIKitConstants,
fontHelper,
} from '@cometchat/chat-uikit-angular';
import { ListItemStyle } from '@cometchat/uikit-elements';

@Component({
selector: 'call-log-details-demo',
templateUrl: './call-log-details-demo.component.html',
styleUrls: ['./call-log-details-demo.component.scss'],
})
export class CallLogDetailsDemoComponent implements OnInit {
public user!: CometChat.User | null;
group!: CometChat.Group;
public loggedInUSer!: CometChat.User | null;
call: any;
constructor(
private router: Router,
private route: ActivatedRoute,
private themeService: CometChatThemeService,
private ref: ChangeDetectorRef
) {
this.route.queryParams.subscribe((params) => {});
}

ngOnInit(): void {
CometChat.getLoggedinUser()
.then((user: CometChat.User | null) => {
this.loggedInUSer = user;
CometChat.getUser('superhero1')
.then((user: CometChat.User) => {
this.user = user;
})
.catch((error: CometChat.CometChatException) => {
console.log(error);
});
this.fetchCallLog();
})
.catch((error: CometChat.CometChatException) => {
console.log(error);
});
}

fetchCallLog() {
let callsRequest = new CometChatUIKitCalls.CallLogRequestBuilder()
.setLimit(1)
.setCallCategory('call')
.setAuthToken(this.loggedInUSer?.getAuthToken())
.build();

callsRequest?.fetchNext().then((res: any) => {
this.call = res[0];
this.ref.detectChanges();
});
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<cometchat-call-log-history
[user]="user!"
*ngIf="user || group"
></cometchat-call-log-history>
Loading
Loading