diff --git a/app/channel-settings-mail-messages/client/lib/startup.js b/app/channel-settings-mail-messages/client/lib/startup.js
index 60986fc628be..50d119741391 100644
--- a/app/channel-settings-mail-messages/client/lib/startup.js
+++ b/app/channel-settings-mail-messages/client/lib/startup.js
@@ -12,7 +12,7 @@ Meteor.startup(() => {
i18nTitle: 'Mail_Messages',
icon: 'mail',
template: 'mailMessagesInstructions',
- order: 10,
+ order: 12,
condition: () => hasAllPermission('mail-messages'),
});
diff --git a/app/channel-settings/client/startup/tabBar.js b/app/channel-settings/client/startup/tabBar.js
index 2a3d794c4046..2ef4c61a1d4f 100644
--- a/app/channel-settings/client/startup/tabBar.js
+++ b/app/channel-settings/client/startup/tabBar.js
@@ -10,6 +10,6 @@ Meteor.startup(() => {
i18nTitle: 'Room_Info',
icon: 'info-circled',
template: 'channelSettings',
- order: 1,
+ order: 7,
});
});
diff --git a/app/discussion/client/tabBar.js b/app/discussion/client/tabBar.js
index e10e1143eeb5..661c9a8ddebf 100644
--- a/app/discussion/client/tabBar.js
+++ b/app/discussion/client/tabBar.js
@@ -10,7 +10,7 @@ Meteor.startup(function() {
i18nTitle: 'Discussions',
icon: 'discussion',
template: 'discussionsTabbar',
- order: 10,
+ order: 1,
condition: () => settings.get('Discussion_enabled'),
});
});
diff --git a/app/e2e/client/tabbar.js b/app/e2e/client/tabbar.js
index 656285620096..4f7ef3cb0b8e 100644
--- a/app/e2e/client/tabbar.js
+++ b/app/e2e/client/tabbar.js
@@ -20,7 +20,7 @@ Meteor.startup(() => {
const room = ChatRoom.findOne(Session.get('openedRoom'));
call('saveRoomSettings', room._id, 'encrypted', !room.encrypted);
},
- order: 10,
+ order: 13,
condition: () => hasAllPermission('edit-room', Session.get('openedRoom')),
});
} else {
diff --git a/app/lib/client/defaultTabBars.js b/app/lib/client/defaultTabBars.js
index 25938ee9db4c..31bb8f8a04b3 100644
--- a/app/lib/client/defaultTabBars.js
+++ b/app/lib/client/defaultTabBars.js
@@ -11,7 +11,7 @@ TabBar.addButton({
i18nTitle: 'Search_Messages',
icon: 'magnifier',
template: 'RocketSearch',
- order: 2,
+ order: 4,
});
TabBar.addButton({
@@ -20,7 +20,7 @@ TabBar.addButton({
i18nTitle: 'User_Info',
icon: 'user',
template: 'membersList',
- order: 2,
+ order: 5,
condition() {
const rid = Session.get('openedRoom');
const room = Rooms.findOne({
@@ -34,10 +34,10 @@ TabBar.addButton({
TabBar.addButton({
groups: ['direct'],
id: 'user-info-group',
- i18nTitle: 'Members_List',
+ i18nTitle: 'Members',
icon: 'team',
template: 'membersList',
- order: 2,
+ order: 5,
condition() {
const rid = Session.get('openedRoom');
const room = Rooms.findOne({
@@ -51,10 +51,10 @@ TabBar.addButton({
TabBar.addButton({
groups: ['channel', 'group'],
id: 'members-list',
- i18nTitle: 'Members_List',
+ i18nTitle: 'Members',
icon: 'team',
template: 'membersList',
- order: 2,
+ order: 5,
condition() {
const rid = Session.get('openedRoom');
const room = Rooms.findOne({
@@ -69,32 +69,13 @@ TabBar.addButton({
},
});
-TabBar.addButton({
- groups: ['channel', 'group'],
- id: 'addUsers',
- i18nTitle: 'Add_users',
- icon: 'user-plus',
- template: 'inviteUsers',
- order: 2,
-});
-
-TabBar.addButton({
- groups: ['channel', 'group'],
- id: 'createInviteLink',
- i18nTitle: 'Invite_Users',
- icon: 'user-plus',
- template: 'createInviteLink',
- order: 2,
-});
-
-
TabBar.addButton({
groups: ['channel', 'group', 'direct'],
id: 'uploaded-files-list',
- i18nTitle: 'Room_uploaded_file_list',
+ i18nTitle: 'Files',
icon: 'clip',
template: 'uploadedFilesList',
- order: 3,
+ order: 6,
});
TabBar.addButton({
@@ -103,5 +84,5 @@ TabBar.addButton({
i18nTitle: 'Keyboard_Shortcuts_Title',
icon: 'keyboard',
template: 'keyboardShortcuts',
- order: 4,
+ order: 99,
});
diff --git a/app/livechat/client/ui.js b/app/livechat/client/ui.js
index d1dd6f9212e0..3a4d3fb73f2b 100644
--- a/app/livechat/client/ui.js
+++ b/app/livechat/client/ui.js
@@ -34,7 +34,7 @@ TabBar.addButton({
groups: ['live'],
id: 'visitor-history',
i18nTitle: 'Past_Chats',
- icon: 'chat',
+ icon: 'clock',
template: 'visitorHistory',
order: 11,
});
diff --git a/app/mentions-flextab/client/tabBar.js b/app/mentions-flextab/client/tabBar.js
index afad4b9d86e2..2b2a219c6709 100644
--- a/app/mentions-flextab/client/tabBar.js
+++ b/app/mentions-flextab/client/tabBar.js
@@ -9,6 +9,6 @@ Meteor.startup(function() {
i18nTitle: 'Mentions',
icon: 'at',
template: 'mentionsFlexTab',
- order: 3,
+ order: 9,
});
});
diff --git a/app/message-pin/client/tabBar.js b/app/message-pin/client/tabBar.js
index 2830549a1fe0..b1fd452707df 100644
--- a/app/message-pin/client/tabBar.js
+++ b/app/message-pin/client/tabBar.js
@@ -13,7 +13,7 @@ Meteor.startup(function() {
i18nTitle: 'Pinned_Messages',
icon: 'pin',
template: 'pinnedMessages',
- order: 10,
+ order: 11,
});
} else {
TabBar.removeButton('pinned-messages');
diff --git a/app/message-star/client/tabBar.js b/app/message-star/client/tabBar.js
index dbf6af6c4b89..cff05f61cc0a 100644
--- a/app/message-star/client/tabBar.js
+++ b/app/message-star/client/tabBar.js
@@ -9,6 +9,6 @@ Meteor.startup(function() {
i18nTitle: 'Starred_Messages',
icon: 'star',
template: 'starredMessages',
- order: 3,
+ order: 10,
});
});
diff --git a/app/otr/client/tabBar.js b/app/otr/client/tabBar.js
index 9df91860dd98..2d26df948327 100644
--- a/app/otr/client/tabBar.js
+++ b/app/otr/client/tabBar.js
@@ -16,7 +16,7 @@ Meteor.startup(function() {
i18nTitle: 'OTR',
icon: 'key',
template: 'otrFlexTab',
- order: 11,
+ order: 13,
});
} else {
OTR.enabled.set(false);
diff --git a/app/push-notifications/client/tabBar.js b/app/push-notifications/client/tabBar.js
index ed742ddb6857..98c0edec0317 100644
--- a/app/push-notifications/client/tabBar.js
+++ b/app/push-notifications/client/tabBar.js
@@ -9,6 +9,6 @@ Meteor.startup(function() {
i18nTitle: 'Notifications_Preferences',
icon: 'bell',
template: 'pushNotificationsFlexTab',
- order: 100,
+ order: 8,
});
});
diff --git a/app/threads/client/flextab/threadlist.js b/app/threads/client/flextab/threadlist.js
index 64c0dc28d1a4..d639e25df042 100644
--- a/app/threads/client/flextab/threadlist.js
+++ b/app/threads/client/flextab/threadlist.js
@@ -17,6 +17,6 @@ Meteor.startup(function() {
return subscription.tunread && subscription.tunread.length && { body: subscription.tunread.length > 99 ? '99+' : subscription.tunread.length };
}
},
- order: 0,
+ order: 2,
});
});
diff --git a/app/ui-admin/client/rooms/adminRooms.js b/app/ui-admin/client/rooms/adminRooms.js
index 4a7133850330..96a7c4c562fd 100644
--- a/app/ui-admin/client/rooms/adminRooms.js
+++ b/app/ui-admin/client/rooms/adminRooms.js
@@ -100,7 +100,7 @@ Template.adminRooms.onCreated(function() {
i18nTitle: 'Room_Info',
icon: 'info-circled',
template: 'adminRoomInfo',
- order: 1,
+ order: 7,
});
ChannelSettings.addOption({
group: ['admin-room'],
diff --git a/app/ui-admin/client/users/adminUsers.js b/app/ui-admin/client/users/adminUsers.js
index 6a656839bf48..090b27a2f627 100644
--- a/app/ui-admin/client/users/adminUsers.js
+++ b/app/ui-admin/client/users/adminUsers.js
@@ -75,22 +75,6 @@ Template.adminUsers.onCreated(function() {
this.tabBarData = new ReactiveVar();
this.users = new ReactiveVar([]);
- TabBar.addButton({
- groups: ['admin-users'],
- id: 'invite-user',
- i18nTitle: 'Invite_Users',
- icon: 'send',
- template: 'adminInviteUser',
- order: 1,
- });
- TabBar.addButton({
- groups: ['admin-users'],
- id: 'add-user',
- i18nTitle: 'Add_User',
- icon: 'plus',
- template: 'adminUserEdit',
- order: 2,
- });
TabBar.addButton({
groups: ['admin-users'],
id: 'admin-user-info',
diff --git a/app/ui-flextab/client/tabs/membersList.js b/app/ui-flextab/client/tabs/membersList.js
index 07f286909e79..ac77958a13c6 100644
--- a/app/ui-flextab/client/tabs/membersList.js
+++ b/app/ui-flextab/client/tabs/membersList.js
@@ -298,7 +298,7 @@ Template.membersList.onCreated(function() {
this.clearUserDetail = () => {
this.showDetail.set(false);
this.tabBar.setData({
- label: 'Members_List',
+ label: 'Members',
icon: 'team',
});
setTimeout(() => this.clearRoomUserDetail(), 100);
diff --git a/app/ui-master/public/icons.svg b/app/ui-master/public/icons.svg
index 0d2fbfeae599..1895d7c09d23 100644
--- a/app/ui-master/public/icons.svg
+++ b/app/ui-master/public/icons.svg
@@ -158,6 +158,12 @@
+
+
+
+
+
+
@@ -245,6 +251,9 @@
+
+
+
diff --git a/app/ui-master/public/icons/phone.svg b/app/ui-master/public/icons/phone.svg
new file mode 100644
index 000000000000..b970b8bec4f6
--- /dev/null
+++ b/app/ui-master/public/icons/phone.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/app/ui-utils/client/lib/TabBar.js b/app/ui-utils/client/lib/TabBar.js
index 15568d7be4e9..5117af3ad6b1 100644
--- a/app/ui-utils/client/lib/TabBar.js
+++ b/app/ui-utils/client/lib/TabBar.js
@@ -2,7 +2,7 @@ import _ from 'underscore';
import { ReactiveVar } from 'meteor/reactive-var';
import { Tracker } from 'meteor/tracker';
-export const TABBAR_DEFAULT_VISIBLE_ICON_COUNT = 4;
+export const TABBAR_DEFAULT_VISIBLE_ICON_COUNT = 6;
export const TabBar = new class TabBar {
get size() {
diff --git a/app/videobridge/client/tabBar.js b/app/videobridge/client/tabBar.js
index a6617d8b8a58..99f9ef9f75ed 100644
--- a/app/videobridge/client/tabBar.js
+++ b/app/videobridge/client/tabBar.js
@@ -28,12 +28,12 @@ Meteor.startup(function() {
TabBar.addButton({
groups,
id: 'bbb_video',
- i18nTitle: 'BBB Video Chat',
- icon: 'video',
+ i18nTitle: 'BBB Video Call',
+ icon: 'phone',
iconColor: 'red',
template: 'videoFlexTabBbb',
width: 600,
- order: live ? -1 : 15,
+ order: live ? -1 : 0,
class: () => live && 'live',
});
});
@@ -43,12 +43,12 @@ Meteor.startup(function() {
TabBar.addButton({
groups: ['direct', 'group'],
id: 'video',
- i18nTitle: 'Video Chat',
- icon: 'video',
+ i18nTitle: 'Call',
+ icon: 'phone',
iconColor: 'red',
template: 'videoFlexTab',
width: 600,
- order: 12,
+ order: 0,
});
} else {
TabBar.removeButton('video');
diff --git a/packages/rocketchat-i18n/i18n/en.i18n.json b/packages/rocketchat-i18n/i18n/en.i18n.json
index 110f01e9b262..48460e2dab0f 100644
--- a/packages/rocketchat-i18n/i18n/en.i18n.json
+++ b/packages/rocketchat-i18n/i18n/en.i18n.json
@@ -575,6 +575,7 @@
"CAS_trust_username_description": "When enabled, Rocket.Chat will trust that any username from CAS belongs to the same user on Rocket.Chat. This may be needed if an user is renamed on CAS, but may also allow people to take control of Rocket.Chat accounts by renaming their own CAS users.",
"CAS_version": "CAS Version",
"CAS_version_Description": "Only use a supported CAS version supported by your CAS SSO service.",
+ "Call": "Call",
"Categories": "Categories",
"CDN_PREFIX": "CDN Prefix",
"CDN_PREFIX_ALL": "Use CDN Prefix for all assets",
@@ -2258,7 +2259,7 @@
"Maximum": "Maximum",
"Media": "Media",
"Medium": "Medium",
- "Members_List": "Members List",
+ "Members": "Members",
"mention-all": "Mention All",
"mention-all_description": "Permission to use the @all mention",
"mention-here": "Mention Here",
@@ -2879,7 +2880,6 @@
"Room_type_changed_successfully": "Room type changed successfully",
"Room_type_of_default_rooms_cant_be_changed": "This is a default room and the type can not be changed, please consult with your administrator.",
"Room_unarchived": "Room unarchived",
- "Room_uploaded_file_list": "Files List",
"Room_uploaded_file_list_empty": "No files available.",
"Rooms": "Rooms",
"Routing": "Routing",
diff --git a/packages/rocketchat-i18n/i18n/pt-BR.i18n.json b/packages/rocketchat-i18n/i18n/pt-BR.i18n.json
index bc6301c49fc0..6381e33e89d4 100644
--- a/packages/rocketchat-i18n/i18n/pt-BR.i18n.json
+++ b/packages/rocketchat-i18n/i18n/pt-BR.i18n.json
@@ -526,6 +526,7 @@
"CAS_Sync_User_Data_FieldMap_Description": "Use esta entrada JSON para criar atributos internos (chave) de atributos externos (valor). Os nomes de atributo externos incluídos com '%' serão interpolados em cadeias de valores. Exemplo, `{\"email\":\"%email%\", \"nome\":\"%firstname%, %lastname%\"}` O mapa de atributos sempre é interpolado. No CAS 1.0, apenas o atributo `username` está disponível. Os atributos internos disponíveis são: nome de usuário, nome, email, salas; as salas são uma lista de salas separadas por vírgulas às quais o usuário será automaticamente incluso ao se registrar na plataforma, por exemplo: {\"rooms\": \"% team%,%department%\"} acompanhariam os usuários do CAS ao criar sua conta seu time e departamento.",
"CAS_version": "Versão CAS",
"CAS_version_Description": "Use apenas uma versão suportada do CAS suportada pelo seu serviço CAS SSO.",
+ "Call": "Ligação",
"Categories": "Categorias",
"CDN_PREFIX": "Prefixo CDN",
"CDN_PREFIX_ALL": "Use o prefixo da CDN para todos os recursos",
@@ -2036,7 +2037,7 @@
"Max_number_of_uses": "Número máximo de usos",
"Media": "meios de comunicação",
"Medium": "Médio",
- "Members_List": "Lista de Membros",
+ "Members": "Membros",
"mention-all": "Mencionar tudo",
"mention-all_description": "Permissão para usar a menção @all",
"mention-here": "Mencionar aqui",
diff --git a/private/public/icons.svg b/private/public/icons.svg
index aacb59953fa6..1895d7c09d23 100644
--- a/private/public/icons.svg
+++ b/private/public/icons.svg
@@ -158,6 +158,12 @@
+
+
+
+
+
+
@@ -245,6 +251,9 @@
+
+
+
@@ -374,4 +383,4 @@
-
+
\ No newline at end of file