Browse Source

chore: use strings as action types

Using anything non-serializable for action types is discouraged:
https://redux.js.org/faq/actions#actions

In fact, this is the Flow definition for dispatching actions:

declare export type DispatchAPI<A> = (action: A) => A;
declare export type Dispatch<A: { type: $Subtype<string> }> = DispatchAPI<A>;

Note how the `type` field is defined as a subtype of string, which Symbol isn’t.
j8
Saúl Ibarra Corretgé 6 years ago
parent
commit
0e92e73789
54 changed files with 190 additions and 214 deletions
  1. 5
    5
      react/features/authentication/actionTypes.js
  2. 2
    2
      react/features/base/app/actionTypes.js
  3. 1
    1
      react/features/base/color-scheme/actionTypes.js
  4. 23
    23
      react/features/base/conference/actionTypes.js
  5. 3
    3
      react/features/base/config/actionTypes.js
  6. 5
    5
      react/features/base/connection/actionTypes.js
  7. 3
    3
      react/features/base/devices/actionTypes.js
  8. 2
    2
      react/features/base/dialog/actionTypes.js
  9. 1
    1
      react/features/base/jwt/actionTypes.js
  10. 1
    1
      react/features/base/known-domains/actionTypes.js
  11. 5
    5
      react/features/base/lib-jitsi-meet/actionTypes.js
  12. 2
    2
      react/features/base/logging/actionTypes.js
  13. 7
    7
      react/features/base/media/actionTypes.js
  14. 11
    11
      react/features/base/participants/actionTypes.js
  15. 2
    2
      react/features/base/responsive-ui/actionTypes.js
  16. 1
    1
      react/features/base/settings/actionTypes.js
  17. 6
    6
      react/features/base/sounds/actionTypes.js
  18. 1
    1
      react/features/base/testing/actionTypes.js
  19. 7
    7
      react/features/base/tracks/actionTypes.js
  20. 0
    23
      react/features/base/util/helpers.js
  21. 9
    9
      react/features/calendar-sync/actionTypes.js
  22. 4
    4
      react/features/chat/actionTypes.js
  23. 2
    2
      react/features/deep-linking/actionTypes.js
  24. 1
    1
      react/features/device-selection/actionTypes.js
  25. 1
    1
      react/features/dropbox/actionTypes.js
  26. 3
    3
      react/features/etherpad/actionTypes.js
  27. 2
    2
      react/features/feedback/actionTypes.js
  28. 3
    3
      react/features/filmstrip/actionTypes.js
  29. 2
    2
      react/features/google-api/actionTypes.js
  30. 7
    7
      react/features/invite/actionTypes.js
  31. 1
    1
      react/features/keyboard-shortcuts/actionTypes.js
  32. 2
    2
      react/features/large-video/actionTypes.js
  33. 3
    3
      react/features/local-recording/actionTypes.js
  34. 2
    2
      react/features/mobile/background/actionTypes.js
  35. 1
    1
      react/features/mobile/call-integration/actionTypes.js
  36. 5
    5
      react/features/mobile/external-api/middleware.js
  37. 1
    1
      react/features/mobile/full-screen/actionTypes.js
  38. 3
    3
      react/features/mobile/incoming-call/actionTypes.js
  39. 1
    2
      react/features/mobile/incoming-call/middleware.js
  40. 3
    3
      react/features/mobile/network-activity/actionTypes.js
  41. 1
    1
      react/features/mobile/picture-in-picture/actionTypes.js
  42. 4
    4
      react/features/notifications/actionTypes.js
  43. 3
    3
      react/features/overlay/actionTypes.js
  44. 3
    3
      react/features/recent-list/actionTypes.js
  45. 4
    4
      react/features/recording/actionTypes.js
  46. 1
    1
      react/features/settings/actionTypes.js
  47. 2
    2
      react/features/share-room/actionTypes.js
  48. 2
    2
      react/features/shared-video/actionTypes.js
  49. 4
    4
      react/features/subtitles/actionTypes.js
  50. 10
    10
      react/features/toolbox/actionTypes.js
  51. 7
    7
      react/features/transcribing/actionTypes.js
  52. 1
    1
      react/features/video-layout/actionTypes.js
  53. 2
    2
      react/features/videosipgw/actionTypes.js
  54. 2
    2
      react/features/welcome/actionTypes.js

+ 5
- 5
react/features/authentication/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  *     type: CANCEL_LOGIN
7 7
  * }
8 8
  */
9
-export const CANCEL_LOGIN = Symbol('CANCEL_LOGIN');
9
+export const CANCEL_LOGIN = 'CANCEL_LOGIN';
10 10
 
11 11
 /**
12 12
  * The type of (redux) action which signals that the cyclic operation of waiting
@@ -16,7 +16,7 @@ export const CANCEL_LOGIN = Symbol('CANCEL_LOGIN');
16 16
  *     type: STOP_WAIT_FOR_OWNER
17 17
  * }
18 18
  */
19
-export const STOP_WAIT_FOR_OWNER = Symbol('STOP_WAIT_FOR_OWNER');
19
+export const STOP_WAIT_FOR_OWNER = 'STOP_WAIT_FOR_OWNER';
20 20
 
21 21
 /**
22 22
  * The type of (redux) action which informs that the authentication and role
@@ -33,7 +33,7 @@ export const STOP_WAIT_FOR_OWNER = Symbol('STOP_WAIT_FOR_OWNER');
33 33
  *     thenableWithCancel: Object
34 34
  * }
35 35
  */
36
-export const UPGRADE_ROLE_FINISHED = Symbol('UPGRADE_ROLE_FINISHED');
36
+export const UPGRADE_ROLE_FINISHED = 'UPGRADE_ROLE_FINISHED';
37 37
 
38 38
 /**
39 39
  * The type of (redux) action which signals that the process of authenticating
@@ -44,7 +44,7 @@ export const UPGRADE_ROLE_FINISHED = Symbol('UPGRADE_ROLE_FINISHED');
44 44
  *     thenableWithCancel: Object
45 45
  * }
46 46
  */
47
-export const UPGRADE_ROLE_STARTED = Symbol('UPGRADE_ROLE_STARTED');
47
+export const UPGRADE_ROLE_STARTED = 'UPGRADE_ROLE_STARTED';
48 48
 
49 49
 /**
50 50
  * The type of (redux) action that sets delayed handler which will check if
@@ -57,4 +57,4 @@ export const UPGRADE_ROLE_STARTED = Symbol('UPGRADE_ROLE_STARTED');
57 57
  *     timeoutMs: number
58 58
  * }
59 59
  */
60
-export const WAIT_FOR_OWNER = Symbol('WAIT_FOR_OWNER');
60
+export const WAIT_FOR_OWNER = 'WAIT_FOR_OWNER';

+ 2
- 2
react/features/base/app/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     app: App
8 8
  * }
9 9
  */
10
-export const APP_WILL_MOUNT = Symbol('APP_WILL_MOUNT');
10
+export const APP_WILL_MOUNT = 'APP_WILL_MOUNT';
11 11
 
12 12
 /**
13 13
  * The type of (redux) action which signals that a specific App will unmount (in
@@ -18,4 +18,4 @@ export const APP_WILL_MOUNT = Symbol('APP_WILL_MOUNT');
18 18
  *     app: App
19 19
  * }
20 20
  */
21
-export const APP_WILL_UNMOUNT = Symbol('APP_WILL_UNMOUNT');
21
+export const APP_WILL_UNMOUNT = 'APP_WILL_UNMOUNT';

+ 1
- 1
react/features/base/color-scheme/actionTypes.js View File

@@ -8,4 +8,4 @@
8 8
  *     colorScheme: Object
9 9
  * }
10 10
  */
11
-export const SET_COLOR_SCHEME = Symbol('SET_COLOR_SCHEME');
11
+export const SET_COLOR_SCHEME = 'SET_COLOR_SCHEME';

+ 23
- 23
react/features/base/conference/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     authLogin: string
9 9
  * }
10 10
  */
11
-export const AUTH_STATUS_CHANGED = Symbol('AUTH_STATUS_CHANGED');
11
+export const AUTH_STATUS_CHANGED = 'AUTH_STATUS_CHANGED';
12 12
 
13 13
 /**
14 14
  * The type of (redux) action which signals that a specific conference failed.
@@ -19,7 +19,7 @@ export const AUTH_STATUS_CHANGED = Symbol('AUTH_STATUS_CHANGED');
19 19
  *     error: Error
20 20
  * }
21 21
  */
22
-export const CONFERENCE_FAILED = Symbol('CONFERENCE_FAILED');
22
+export const CONFERENCE_FAILED = 'CONFERENCE_FAILED';
23 23
 
24 24
 /**
25 25
  * The type of (redux) action which signals that a specific conference was
@@ -30,7 +30,7 @@ export const CONFERENCE_FAILED = Symbol('CONFERENCE_FAILED');
30 30
  *     conference: JitsiConference
31 31
  * }
32 32
  */
33
-export const CONFERENCE_JOINED = Symbol('CONFERENCE_JOINED');
33
+export const CONFERENCE_JOINED = 'CONFERENCE_JOINED';
34 34
 
35 35
 /**
36 36
  * The type of (redux) action which signals that a specific conference was left.
@@ -40,7 +40,7 @@ export const CONFERENCE_JOINED = Symbol('CONFERENCE_JOINED');
40 40
  *     conference: JitsiConference
41 41
  * }
42 42
  */
43
-export const CONFERENCE_LEFT = Symbol('CONFERENCE_LEFT');
43
+export const CONFERENCE_LEFT = 'CONFERENCE_LEFT';
44 44
 
45 45
 /**
46 46
  * The type of (redux) action, which indicates conference subject changes.
@@ -50,7 +50,7 @@ export const CONFERENCE_LEFT = Symbol('CONFERENCE_LEFT');
50 50
  *     subject: string
51 51
  * }
52 52
  */
53
-export const CONFERENCE_SUBJECT_CHANGED = Symbol('CONFERENCE_SUBJECT_CHANGED');
53
+export const CONFERENCE_SUBJECT_CHANGED = 'CONFERENCE_SUBJECT_CHANGED';
54 54
 
55 55
 /**
56 56
  * The type of (redux) action which signals that a specific conference will be
@@ -61,7 +61,7 @@ export const CONFERENCE_SUBJECT_CHANGED = Symbol('CONFERENCE_SUBJECT_CHANGED');
61 61
  *     conference: JitsiConference
62 62
  * }
63 63
  */
64
-export const CONFERENCE_WILL_JOIN = Symbol('CONFERENCE_WILL_JOIN');
64
+export const CONFERENCE_WILL_JOIN = 'CONFERENCE_WILL_JOIN';
65 65
 
66 66
 /**
67 67
  * The type of (redux) action which signals that a specific conference will be
@@ -72,7 +72,7 @@ export const CONFERENCE_WILL_JOIN = Symbol('CONFERENCE_WILL_JOIN');
72 72
  *     conference: JitsiConference
73 73
  * }
74 74
  */
75
-export const CONFERENCE_WILL_LEAVE = Symbol('CONFERENCE_WILL_LEAVE');
75
+export const CONFERENCE_WILL_LEAVE = 'CONFERENCE_WILL_LEAVE';
76 76
 
77 77
 /**
78 78
  * The type of (redux) action which signals that the data channel with the
@@ -82,7 +82,7 @@ export const CONFERENCE_WILL_LEAVE = Symbol('CONFERENCE_WILL_LEAVE');
82 82
  *     type: DATA_CHANNEL_OPENED
83 83
  * }
84 84
  */
85
-export const DATA_CHANNEL_OPENED = Symbol('DATA_CHANNEL_OPENED');
85
+export const DATA_CHANNEL_OPENED = 'DATA_CHANNEL_OPENED';
86 86
 
87 87
 /**
88 88
  * The type of action which signals that the user has been kicked out from
@@ -93,7 +93,7 @@ export const DATA_CHANNEL_OPENED = Symbol('DATA_CHANNEL_OPENED');
93 93
  *     conference: JitsiConference
94 94
  * }
95 95
  */
96
-export const KICKED_OUT = Symbol('KICKED_OUT');
96
+export const KICKED_OUT = 'KICKED_OUT';
97 97
 
98 98
 /**
99 99
  * The type of (redux) action which signals that the lock state of a specific
@@ -105,7 +105,7 @@ export const KICKED_OUT = Symbol('KICKED_OUT');
105 105
  *     locked: boolean
106 106
  * }
107 107
  */
108
-export const LOCK_STATE_CHANGED = Symbol('LOCK_STATE_CHANGED');
108
+export const LOCK_STATE_CHANGED = 'LOCK_STATE_CHANGED';
109 109
 
110 110
 /**
111 111
  * The type of (redux) action which sets the peer2peer flag for the current
@@ -116,7 +116,7 @@ export const LOCK_STATE_CHANGED = Symbol('LOCK_STATE_CHANGED');
116 116
  *     p2p: boolean
117 117
  * }
118 118
  */
119
-export const P2P_STATUS_CHANGED = Symbol('P2P_STATUS_CHANGED');
119
+export const P2P_STATUS_CHANGED = 'P2P_STATUS_CHANGED';
120 120
 
121 121
 /**
122 122
  * The type of (redux) action which sets the audio-only flag for the current
@@ -127,7 +127,7 @@ export const P2P_STATUS_CHANGED = Symbol('P2P_STATUS_CHANGED');
127 127
  *     audioOnly: boolean
128 128
  * }
129 129
  */
130
-export const SET_AUDIO_ONLY = Symbol('SET_AUDIO_ONLY');
130
+export const SET_AUDIO_ONLY = 'SET_AUDIO_ONLY';
131 131
 
132 132
 /**
133 133
  * The type of (redux) action which sets the desktop sharing enabled flag for
@@ -139,7 +139,7 @@ export const SET_AUDIO_ONLY = Symbol('SET_AUDIO_ONLY');
139 139
  * }
140 140
  */
141 141
 export const SET_DESKTOP_SHARING_ENABLED
142
-    = Symbol('SET_DESKTOP_SHARING_ENABLED');
142
+    = 'SET_DESKTOP_SHARING_ENABLED';
143 143
 
144 144
 /**
145 145
  * The type of (redux) action which updates the current known status of the
@@ -150,7 +150,7 @@ export const SET_DESKTOP_SHARING_ENABLED
150 150
  *     enabled: boolean
151 151
  * }
152 152
  */
153
-export const SET_FOLLOW_ME = Symbol('SET_FOLLOW_ME');
153
+export const SET_FOLLOW_ME = 'SET_FOLLOW_ME';
154 154
 
155 155
 /**
156 156
  * The type of (redux) action which sets the video channel's lastN (value).
@@ -160,7 +160,7 @@ export const SET_FOLLOW_ME = Symbol('SET_FOLLOW_ME');
160 160
  *     lastN: number
161 161
  * }
162 162
  */
163
-export const SET_LASTN = Symbol('SET_LASTN');
163
+export const SET_LASTN = 'SET_LASTN';
164 164
 
165 165
 /**
166 166
  * The type of (redux) action which sets the maximum video height that should be
@@ -173,7 +173,7 @@ export const SET_LASTN = Symbol('SET_LASTN');
173 173
  * }
174 174
  */
175 175
 export const SET_MAX_RECEIVER_VIDEO_QUALITY
176
-    = Symbol('SET_MAX_RECEIVER_VIDEO_QUALITY');
176
+    = 'SET_MAX_RECEIVER_VIDEO_QUALITY';
177 177
 
178 178
 /**
179 179
  * The type of (redux) action which sets the password to join or lock a specific
@@ -186,7 +186,7 @@ export const SET_MAX_RECEIVER_VIDEO_QUALITY
186 186
  *     password: string
187 187
  * }
188 188
  */
189
-export const SET_PASSWORD = Symbol('SET_PASSWORD');
189
+export const SET_PASSWORD = 'SET_PASSWORD';
190 190
 
191 191
 /**
192 192
  * The type of (redux) action which signals that setting a password on a
@@ -197,7 +197,7 @@ export const SET_PASSWORD = Symbol('SET_PASSWORD');
197 197
  *     error: string
198 198
  * }
199 199
  */
200
-export const SET_PASSWORD_FAILED = Symbol('SET_PASSWORD_FAILED');
200
+export const SET_PASSWORD_FAILED = 'SET_PASSWORD_FAILED';
201 201
 
202 202
 /**
203 203
  * The type of (redux) action which signals for pending subject changes.
@@ -207,7 +207,7 @@ export const SET_PASSWORD_FAILED = Symbol('SET_PASSWORD_FAILED');
207 207
  *     subject: string
208 208
  * }
209 209
  */
210
-export const SET_PENDING_SUBJECT_CHANGE = Symbol('SET_PENDING_SUBJECT_CHANGE');
210
+export const SET_PENDING_SUBJECT_CHANGE = 'SET_PENDING_SUBJECT_CHANGE';
211 211
 
212 212
 /**
213 213
  * The type of (redux) action which sets the preferred maximum video height that
@@ -219,7 +219,7 @@ export const SET_PENDING_SUBJECT_CHANGE = Symbol('SET_PENDING_SUBJECT_CHANGE');
219 219
  * }
220 220
  */
221 221
 export const SET_PREFERRED_RECEIVER_VIDEO_QUALITY
222
-    = Symbol('SET_PREFERRED_RECEIVER_VIDEO_QUALITY');
222
+    = 'SET_PREFERRED_RECEIVER_VIDEO_QUALITY';
223 223
 
224 224
 /**
225 225
  * The type of (redux) action which sets the name of the room of the
@@ -230,7 +230,7 @@ export const SET_PREFERRED_RECEIVER_VIDEO_QUALITY
230 230
  *     room: string
231 231
  * }
232 232
  */
233
-export const SET_ROOM = Symbol('SET_ROOM');
233
+export const SET_ROOM = 'SET_ROOM';
234 234
 
235 235
 /**
236 236
  * The type of (redux) action, which indicates if a SIP gateway is enabled on
@@ -241,7 +241,7 @@ export const SET_ROOM = Symbol('SET_ROOM');
241 241
  *     isSIPGatewayEnabled: boolean
242 242
  * }
243 243
  */
244
-export const SET_SIP_GATEWAY_ENABLED = Symbol('SET_SIP_GATEWAY_ENABLED');
244
+export const SET_SIP_GATEWAY_ENABLED = 'SET_SIP_GATEWAY_ENABLED';
245 245
 
246 246
 /**
247 247
  * The type of (redux) action which updates the current known status of the
@@ -253,4 +253,4 @@ export const SET_SIP_GATEWAY_ENABLED = Symbol('SET_SIP_GATEWAY_ENABLED');
253 253
  *     startVideoMutedPolicy: boolean
254 254
  * }
255 255
  */
256
-export const SET_START_MUTED_POLICY = Symbol('SET_START_MUTED_POLICY');
256
+export const SET_START_MUTED_POLICY = 'SET_START_MUTED_POLICY';

+ 3
- 3
react/features/base/config/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     locationURL: URL
8 8
  * }
9 9
  */
10
-export const CONFIG_WILL_LOAD = Symbol('CONFIG_WILL_LOAD');
10
+export const CONFIG_WILL_LOAD = 'CONFIG_WILL_LOAD';
11 11
 
12 12
 /**
13 13
  * The redux action which signals that a configuration (commonly known in Jitsi
@@ -19,7 +19,7 @@ export const CONFIG_WILL_LOAD = Symbol('CONFIG_WILL_LOAD');
19 19
  *     locationURL: URL
20 20
  * }
21 21
  */
22
-export const LOAD_CONFIG_ERROR = Symbol('LOAD_CONFIG_ERROR');
22
+export const LOAD_CONFIG_ERROR = 'LOAD_CONFIG_ERROR';
23 23
 
24 24
 /**
25 25
  * The redux action which sets the configuration represented by the feature
@@ -32,4 +32,4 @@ export const LOAD_CONFIG_ERROR = Symbol('LOAD_CONFIG_ERROR');
32 32
  *     config: Object
33 33
  * }
34 34
  */
35
-export const SET_CONFIG = Symbol('SET_CONFIG');
35
+export const SET_CONFIG = 'SET_CONFIG';

+ 5
- 5
react/features/base/connection/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     message: string
8 8
  * }
9 9
  */
10
-export const CONNECTION_DISCONNECTED = Symbol('CONNECTION_DISCONNECTED');
10
+export const CONNECTION_DISCONNECTED = 'CONNECTION_DISCONNECTED';
11 11
 
12 12
 /**
13 13
  * The type of (redux) action which signals that a connection was successfully
@@ -19,7 +19,7 @@ export const CONNECTION_DISCONNECTED = Symbol('CONNECTION_DISCONNECTED');
19 19
  *     timeEstablished: number,
20 20
  * }
21 21
  */
22
-export const CONNECTION_ESTABLISHED = Symbol('CONNECTION_ESTABLISHED');
22
+export const CONNECTION_ESTABLISHED = 'CONNECTION_ESTABLISHED';
23 23
 
24 24
 /**
25 25
  * The type of (redux) action which signals that a connection failed.
@@ -30,7 +30,7 @@ export const CONNECTION_ESTABLISHED = Symbol('CONNECTION_ESTABLISHED');
30 30
  *     error: Object | string
31 31
  * }
32 32
  */
33
-export const CONNECTION_FAILED = Symbol('CONNECTION_FAILED');
33
+export const CONNECTION_FAILED = 'CONNECTION_FAILED';
34 34
 
35 35
 /**
36 36
  * The type of (redux) action which signals that a connection will connect.
@@ -40,7 +40,7 @@ export const CONNECTION_FAILED = Symbol('CONNECTION_FAILED');
40 40
  *     connection: JitsiConnection
41 41
  * }
42 42
  */
43
-export const CONNECTION_WILL_CONNECT = Symbol('CONNECTION_WILL_CONNECT');
43
+export const CONNECTION_WILL_CONNECT = 'CONNECTION_WILL_CONNECT';
44 44
 
45 45
 /**
46 46
  * The type of (redux) action which sets the location URL of the application,
@@ -51,4 +51,4 @@ export const CONNECTION_WILL_CONNECT = Symbol('CONNECTION_WILL_CONNECT');
51 51
  *     locationURL: ?URL
52 52
  * }
53 53
  */
54
-export const SET_LOCATION_URL = Symbol('SET_LOCATION_URL');
54
+export const SET_LOCATION_URL = 'SET_LOCATION_URL';

+ 3
- 3
react/features/base/devices/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     deviceId: string,
8 8
  * }
9 9
  */
10
-export const SET_AUDIO_INPUT_DEVICE = Symbol('SET_AUDIO_INPUT_DEVICE');
10
+export const SET_AUDIO_INPUT_DEVICE = 'SET_AUDIO_INPUT_DEVICE';
11 11
 
12 12
 /**
13 13
  * The type of Redux action which signals that the currently used video
@@ -18,7 +18,7 @@ export const SET_AUDIO_INPUT_DEVICE = Symbol('SET_AUDIO_INPUT_DEVICE');
18 18
  *     deviceId: string,
19 19
  * }
20 20
  */
21
-export const SET_VIDEO_INPUT_DEVICE = Symbol('SET_VIDEO_INPUT_DEVICE');
21
+export const SET_VIDEO_INPUT_DEVICE = 'SET_VIDEO_INPUT_DEVICE';
22 22
 
23 23
 /**
24 24
  * The type of Redux action which signals that the list of known available
@@ -29,4 +29,4 @@ export const SET_VIDEO_INPUT_DEVICE = Symbol('SET_VIDEO_INPUT_DEVICE');
29 29
  *     devices: Array<MediaDeviceInfo>,
30 30
  * }
31 31
  */
32
-export const UPDATE_DEVICE_LIST = Symbol('UPDATE_DEVICE_LIST');
32
+export const UPDATE_DEVICE_LIST = 'UPDATE_DEVICE_LIST';

+ 2
- 2
react/features/base/dialog/actionTypes.js View File

@@ -5,7 +5,7 @@
5 5
  *     type: HIDE_DIALOG
6 6
  * }
7 7
  */
8
-export const HIDE_DIALOG = Symbol('HIDE_DIALOG');
8
+export const HIDE_DIALOG = 'HIDE_DIALOG';
9 9
 
10 10
 /**
11 11
  * The type of Redux action which begins a request to open a dialog.
@@ -17,4 +17,4 @@ export const HIDE_DIALOG = Symbol('HIDE_DIALOG');
17 17
  * }
18 18
  *
19 19
  */
20
-export const OPEN_DIALOG = Symbol('OPEN_DIALOG');
20
+export const OPEN_DIALOG = 'OPEN_DIALOG';

+ 1
- 1
react/features/base/jwt/actionTypes.js View File

@@ -7,4 +7,4 @@
7 7
  *     jwt: string
8 8
  * }
9 9
  */
10
-export const SET_JWT = Symbol('SET_JWT');
10
+export const SET_JWT = 'SET_JWT';

+ 1
- 1
react/features/base/known-domains/actionTypes.js View File

@@ -9,4 +9,4 @@
9 9
  *     knownDomains: Array<string>
10 10
  * }
11 11
  */
12
-export const ADD_KNOWN_DOMAINS = Symbol('ADD_KNOWN_DOMAINS');
12
+export const ADD_KNOWN_DOMAINS = 'ADD_KNOWN_DOMAINS';

+ 5
- 5
react/features/base/lib-jitsi-meet/actionTypes.js View File

@@ -5,7 +5,7 @@
5 5
  *     type: LIB_DID_DISPOSE
6 6
  * }
7 7
  */
8
-export const LIB_DID_DISPOSE = Symbol('LIB_DID_DISPOSE');
8
+export const LIB_DID_DISPOSE = 'LIB_DID_DISPOSE';
9 9
 
10 10
 /**
11 11
  * The type of Redux action which signals that {@link JitsiMeetJS.init()} was
@@ -15,7 +15,7 @@ export const LIB_DID_DISPOSE = Symbol('LIB_DID_DISPOSE');
15 15
  *     type: LIB_DID_INIT
16 16
  * }
17 17
  */
18
-export const LIB_DID_INIT = Symbol('LIB_DID_INIT');
18
+export const LIB_DID_INIT = 'LIB_DID_INIT';
19 19
 
20 20
 /**
21 21
  * Action to signal that lib-jitsi-meet initialized failed with error.
@@ -25,7 +25,7 @@ export const LIB_DID_INIT = Symbol('LIB_DID_INIT');
25 25
  *     error: Error
26 26
  * }
27 27
  */
28
-export const LIB_INIT_ERROR = Symbol('LIB_INIT_ERROR');
28
+export const LIB_INIT_ERROR = 'LIB_INIT_ERROR';
29 29
 
30 30
 /**
31 31
  * The type of Redux action which signals that {@link JitsiMeetJS} will be
@@ -35,7 +35,7 @@ export const LIB_INIT_ERROR = Symbol('LIB_INIT_ERROR');
35 35
  *     type: LIB_WILL_DISPOSE
36 36
  * }
37 37
  */
38
-export const LIB_WILL_DISPOSE = Symbol('LIB_WILL_DISPOSE');
38
+export const LIB_WILL_DISPOSE = 'LIB_WILL_DISPOSE';
39 39
 
40 40
 /**
41 41
  * The type of Redux action which signals that {@link JitsiMeetJS.init()} will
@@ -45,4 +45,4 @@ export const LIB_WILL_DISPOSE = Symbol('LIB_WILL_DISPOSE');
45 45
  *     type: LIB_WILL_INIT
46 46
  * }
47 47
  */
48
-export const LIB_WILL_INIT = Symbol('LIB_WILL_INIT');
48
+export const LIB_WILL_INIT = 'LIB_WILL_INIT';

+ 2
- 2
react/features/base/logging/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     logCollector: Logger.LogCollector
8 8
  * }
9 9
  */
10
-export const SET_LOG_COLLECTOR = Symbol('SET_LOG_COLLECTOR');
10
+export const SET_LOG_COLLECTOR = 'SET_LOG_COLLECTOR';
11 11
 
12 12
 /**
13 13
  * The type of redux action which sets the configuration of the feature
@@ -18,4 +18,4 @@ export const SET_LOG_COLLECTOR = Symbol('SET_LOG_COLLECTOR');
18 18
  *     config: Object
19 19
  * }
20 20
  */
21
-export const SET_LOGGING_CONFIG = Symbol('SET_LOGGING_CONFIG');
21
+export const SET_LOGGING_CONFIG = 'SET_LOGGING_CONFIG';

+ 7
- 7
react/features/base/media/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  *     muted: boolean
7 7
  * }
8 8
  */
9
-export const SET_AUDIO_MUTED = Symbol('SET_AUDIO_MUTED');
9
+export const SET_AUDIO_MUTED = 'SET_AUDIO_MUTED';
10 10
 
11 11
 /**
12 12
  * The type of (redux) action to adjust the availability of the local audio.
@@ -16,7 +16,7 @@ export const SET_AUDIO_MUTED = Symbol('SET_AUDIO_MUTED');
16 16
  *     muted: boolean
17 17
  * }
18 18
  */
19
-export const SET_AUDIO_AVAILABLE = Symbol('SET_AUDIO_AVAILABLE');
19
+export const SET_AUDIO_AVAILABLE = 'SET_AUDIO_AVAILABLE';
20 20
 
21 21
 /**
22 22
  * The type of (redux) action to set the facing mode of the local video camera
@@ -27,7 +27,7 @@ export const SET_AUDIO_AVAILABLE = Symbol('SET_AUDIO_AVAILABLE');
27 27
  *     cameraFacingMode: CAMERA_FACING_MODE
28 28
  * }
29 29
  */
30
-export const SET_CAMERA_FACING_MODE = Symbol('SET_CAMERA_FACING_MODE');
30
+export const SET_CAMERA_FACING_MODE = 'SET_CAMERA_FACING_MODE';
31 31
 
32 32
 /**
33 33
  * The type of (redux) action to adjust the availability of the local video.
@@ -37,7 +37,7 @@ export const SET_CAMERA_FACING_MODE = Symbol('SET_CAMERA_FACING_MODE');
37 37
  *     available: boolean
38 38
  * }
39 39
  */
40
-export const SET_VIDEO_AVAILABLE = Symbol('SET_VIDEO_AVAILABLE');
40
+export const SET_VIDEO_AVAILABLE = 'SET_VIDEO_AVAILABLE';
41 41
 
42 42
 /**
43 43
  * The type of (redux) action to set the muted state of the local video.
@@ -47,7 +47,7 @@ export const SET_VIDEO_AVAILABLE = Symbol('SET_VIDEO_AVAILABLE');
47 47
  *     muted: boolean
48 48
  * }
49 49
  */
50
-export const SET_VIDEO_MUTED = Symbol('SET_VIDEO_MUTED');
50
+export const SET_VIDEO_MUTED = 'SET_VIDEO_MUTED';
51 51
 
52 52
 /**
53 53
  * The type of (redux) action to store the last video {@link Transform} applied
@@ -59,7 +59,7 @@ export const SET_VIDEO_MUTED = Symbol('SET_VIDEO_MUTED');
59 59
  *     transform: Transform
60 60
  * }
61 61
  */
62
-export const STORE_VIDEO_TRANSFORM = Symbol('STORE_VIDEO_TRANSFORM');
62
+export const STORE_VIDEO_TRANSFORM = 'STORE_VIDEO_TRANSFORM';
63 63
 
64 64
 /**
65 65
  * The type of (redux) action to toggle the local video camera facing mode. In
@@ -71,4 +71,4 @@ export const STORE_VIDEO_TRANSFORM = Symbol('STORE_VIDEO_TRANSFORM');
71 71
  *     type: TOGGLE_CAMERA_FACING_MODE
72 72
  * }
73 73
  */
74
-export const TOGGLE_CAMERA_FACING_MODE = Symbol('TOGGLE_CAMERA_FACING_MODE');
74
+export const TOGGLE_CAMERA_FACING_MODE = 'TOGGLE_CAMERA_FACING_MODE';

+ 11
- 11
react/features/base/participants/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     }
9 9
  * }
10 10
  */
11
-export const DOMINANT_SPEAKER_CHANGED = Symbol('DOMINANT_SPEAKER_CHANGED');
11
+export const DOMINANT_SPEAKER_CHANGED = 'DOMINANT_SPEAKER_CHANGED';
12 12
 
13 13
 /**
14 14
  * Create an action for removing a participant from the conference.
@@ -18,7 +18,7 @@ export const DOMINANT_SPEAKER_CHANGED = Symbol('DOMINANT_SPEAKER_CHANGED');
18 18
  *     id: string
19 19
  * }
20 20
  */
21
-export const KICK_PARTICIPANT = Symbol('KICK_PARTICIPANT');
21
+export const KICK_PARTICIPANT = 'KICK_PARTICIPANT';
22 22
 
23 23
 /**
24 24
  * Create an action for muting a remote participant.
@@ -28,7 +28,7 @@ export const KICK_PARTICIPANT = Symbol('KICK_PARTICIPANT');
28 28
  *     id: string
29 29
  * }
30 30
  */
31
-export const MUTE_REMOTE_PARTICIPANT = Symbol('MUTE_REMOTE_PARTICIPANT');
31
+export const MUTE_REMOTE_PARTICIPANT = 'MUTE_REMOTE_PARTICIPANT';
32 32
 
33 33
 /**
34 34
  * Create an action for when the local participant's display name is updated.
@@ -40,7 +40,7 @@ export const MUTE_REMOTE_PARTICIPANT = Symbol('MUTE_REMOTE_PARTICIPANT');
40 40
  * }
41 41
  */
42 42
 export const PARTICIPANT_DISPLAY_NAME_CHANGED
43
-    = Symbol('PARTICIPANT_DISPLAY_NAME_CHANGED');
43
+    = 'PARTICIPANT_DISPLAY_NAME_CHANGED';
44 44
 
45 45
 /**
46 46
  * Action to signal that ID of participant has changed. This happens when
@@ -53,7 +53,7 @@ export const PARTICIPANT_DISPLAY_NAME_CHANGED
53 53
  *     oldValue: string
54 54
  * }
55 55
  */
56
-export const PARTICIPANT_ID_CHANGED = Symbol('PARTICIPANT_ID_CHANGED');
56
+export const PARTICIPANT_ID_CHANGED = 'PARTICIPANT_ID_CHANGED';
57 57
 
58 58
 /**
59 59
  * Action to signal that a participant has joined.
@@ -63,7 +63,7 @@ export const PARTICIPANT_ID_CHANGED = Symbol('PARTICIPANT_ID_CHANGED');
63 63
  *     participant: Participant
64 64
  * }
65 65
  */
66
-export const PARTICIPANT_JOINED = Symbol('PARTICIPANT_JOINED');
66
+export const PARTICIPANT_JOINED = 'PARTICIPANT_JOINED';
67 67
 
68 68
 /**
69 69
  * Action to handle case when participant lefts.
@@ -75,7 +75,7 @@ export const PARTICIPANT_JOINED = Symbol('PARTICIPANT_JOINED');
75 75
  *     }
76 76
  * }
77 77
  */
78
-export const PARTICIPANT_LEFT = Symbol('PARTICIPANT_LEFT');
78
+export const PARTICIPANT_LEFT = 'PARTICIPANT_LEFT';
79 79
 
80 80
 /**
81 81
  * Action to handle case when info about participant changes.
@@ -85,7 +85,7 @@ export const PARTICIPANT_LEFT = Symbol('PARTICIPANT_LEFT');
85 85
  *     participant: Participant
86 86
  * }
87 87
  */
88
-export const PARTICIPANT_UPDATED = Symbol('PARTICIPANT_UPDATED');
88
+export const PARTICIPANT_UPDATED = 'PARTICIPANT_UPDATED';
89 89
 
90 90
 /**
91 91
  * The type of the Redux action which pins a conference participant.
@@ -97,7 +97,7 @@ export const PARTICIPANT_UPDATED = Symbol('PARTICIPANT_UPDATED');
97 97
  *     }
98 98
  * }
99 99
  */
100
-export const PIN_PARTICIPANT = Symbol('PIN_PARTICIPANT');
100
+export const PIN_PARTICIPANT = 'PIN_PARTICIPANT';
101 101
 
102 102
 /**
103 103
  * Action to signal that a hidden participant has joined.
@@ -107,7 +107,7 @@ export const PIN_PARTICIPANT = Symbol('PIN_PARTICIPANT');
107 107
  *     participant: Participant
108 108
  * }
109 109
  */
110
-export const HIDDEN_PARTICIPANT_JOINED = Symbol('HIDDEN_PARTICIPANT_JOINED');
110
+export const HIDDEN_PARTICIPANT_JOINED = 'HIDDEN_PARTICIPANT_JOINED';
111 111
 
112 112
 /**
113 113
  * Action to handle case when hidden participant leaves.
@@ -119,4 +119,4 @@ export const HIDDEN_PARTICIPANT_JOINED = Symbol('HIDDEN_PARTICIPANT_JOINED');
119 119
  *     }
120 120
  * }
121 121
  */
122
-export const HIDDEN_PARTICIPANT_LEFT = Symbol('HIDDEN_PARTICIPANT_LEFT');
122
+export const HIDDEN_PARTICIPANT_LEFT = 'HIDDEN_PARTICIPANT_LEFT';

+ 2
- 2
react/features/base/responsive-ui/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     aspectRatio: Symbol
8 8
  * }
9 9
  */
10
-export const SET_ASPECT_RATIO = Symbol('SET_ASPECT_RATIO');
10
+export const SET_ASPECT_RATIO = 'SET_ASPECT_RATIO';
11 11
 
12 12
 /**
13 13
  * The type of redux action which signals that the reduces UI mode was enabled
@@ -20,4 +20,4 @@ export const SET_ASPECT_RATIO = Symbol('SET_ASPECT_RATIO');
20 20
  *
21 21
  * @public
22 22
  */
23
-export const SET_REDUCED_UI = Symbol('SET_REDUCED_UI');
23
+export const SET_REDUCED_UI = 'SET_REDUCED_UI';

+ 1
- 1
react/features/base/settings/actionTypes.js View File

@@ -19,4 +19,4 @@
19 19
  *     }
20 20
  * }
21 21
  */
22
-export const SETTINGS_UPDATED = Symbol('SETTINGS_UPDATED');
22
+export const SETTINGS_UPDATED = 'SETTINGS_UPDATED';

+ 6
- 6
react/features/base/sounds/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     soundId: string
9 9
  * }
10 10
  */
11
-export const _ADD_AUDIO_ELEMENT = Symbol('_ADD_AUDIO_ELEMENT');
11
+export const _ADD_AUDIO_ELEMENT = '_ADD_AUDIO_ELEMENT';
12 12
 
13 13
 /**
14 14
  * The type of feature/internal/protected (redux) action to remove an audio
@@ -19,7 +19,7 @@ export const _ADD_AUDIO_ELEMENT = Symbol('_ADD_AUDIO_ELEMENT');
19 19
  *     soundId: string
20 20
  * }
21 21
  */
22
-export const _REMOVE_AUDIO_ELEMENT = Symbol('_REMOVE_AUDIO_ELEMENT');
22
+export const _REMOVE_AUDIO_ELEMENT = '_REMOVE_AUDIO_ELEMENT';
23 23
 
24 24
 /**
25 25
  * The type of (redux) action to play a sound from the sounds collection.
@@ -29,7 +29,7 @@ export const _REMOVE_AUDIO_ELEMENT = Symbol('_REMOVE_AUDIO_ELEMENT');
29 29
  *     soundId: string
30 30
  * }
31 31
  */
32
-export const PLAY_SOUND = Symbol('PLAY_SOUND');
32
+export const PLAY_SOUND = 'PLAY_SOUND';
33 33
 
34 34
 /**
35 35
  * The type of (redux) action to register a new sound with the sounds
@@ -40,7 +40,7 @@ export const PLAY_SOUND = Symbol('PLAY_SOUND');
40 40
  *     soundId: string
41 41
  * }
42 42
  */
43
-export const REGISTER_SOUND = Symbol('REGISTER_SOUND');
43
+export const REGISTER_SOUND = 'REGISTER_SOUND';
44 44
 
45 45
 /**
46 46
  * The type of (redux) action to stop a sound from the sounds collection.
@@ -50,7 +50,7 @@ export const REGISTER_SOUND = Symbol('REGISTER_SOUND');
50 50
  *     soundId: string
51 51
  * }
52 52
  */
53
-export const STOP_SOUND = Symbol('STOP_SOUND');
53
+export const STOP_SOUND = 'STOP_SOUND';
54 54
 
55 55
 /**
56 56
  * The type of (redux) action to unregister an existing sound from the sounds
@@ -61,4 +61,4 @@ export const STOP_SOUND = Symbol('STOP_SOUND');
61 61
  *     soundId: string
62 62
  * }
63 63
  */
64
-export const UNREGISTER_SOUND = Symbol('UNREGISTER_SOUND');
64
+export const UNREGISTER_SOUND = 'UNREGISTER_SOUND';

+ 1
- 1
react/features/base/testing/actionTypes.js View File

@@ -6,4 +6,4 @@
6 6
  *     type: SET_CONNECTION_STATE
7 7
  * }
8 8
  */
9
-export const SET_CONNECTION_STATE = Symbol('SET_CONNECTION_STATE');
9
+export const SET_CONNECTION_STATE = 'SET_CONNECTION_STATE';

+ 7
- 7
react/features/base/tracks/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  *     type: TOGGLE_SCREENSHARING
7 7
  * }
8 8
  */
9
-export const TOGGLE_SCREENSHARING = Symbol('TOGGLE_SCREENSHARING');
9
+export const TOGGLE_SCREENSHARING = 'TOGGLE_SCREENSHARING';
10 10
 
11 11
 /**
12 12
  * The type of redux action dispatched when a track has been (locally or
@@ -17,7 +17,7 @@ export const TOGGLE_SCREENSHARING = Symbol('TOGGLE_SCREENSHARING');
17 17
  *     track: Track
18 18
  * }
19 19
  */
20
-export const TRACK_ADDED = Symbol('TRACK_ADDED');
20
+export const TRACK_ADDED = 'TRACK_ADDED';
21 21
 
22 22
 /**
23 23
  * The type of redux action dispatched when a canceled {@code getUserMedia}
@@ -29,7 +29,7 @@ export const TRACK_ADDED = Symbol('TRACK_ADDED');
29 29
  *     trackType: MEDIA_TYPE
30 30
  * }
31 31
  */
32
-export const TRACK_CREATE_CANCELED = Symbol('TRACK_CREATE_CANCELED');
32
+export const TRACK_CREATE_CANCELED = 'TRACK_CREATE_CANCELED';
33 33
 
34 34
 /**
35 35
  * The type of redux action dispatched when {@code getUserMedia} fails with an
@@ -41,7 +41,7 @@ export const TRACK_CREATE_CANCELED = Symbol('TRACK_CREATE_CANCELED');
41 41
  *     trackType: MEDIA_TYPE
42 42
  * }
43 43
  */
44
-export const TRACK_CREATE_ERROR = Symbol('TRACK_CREATE_ERROR');
44
+export const TRACK_CREATE_ERROR = 'TRACK_CREATE_ERROR';
45 45
 
46 46
 /**
47 47
  * The type of redux action dispatched when a track has been (locally or
@@ -52,7 +52,7 @@ export const TRACK_CREATE_ERROR = Symbol('TRACK_CREATE_ERROR');
52 52
  *     track: Track
53 53
  * }
54 54
  */
55
-export const TRACK_REMOVED = Symbol('TRACK_REMOVED');
55
+export const TRACK_REMOVED = 'TRACK_REMOVED';
56 56
 
57 57
 /**
58 58
  * The type of redux action dispatched when a track's properties were updated.
@@ -62,7 +62,7 @@ export const TRACK_REMOVED = Symbol('TRACK_REMOVED');
62 62
  *     track: Track
63 63
  * }
64 64
  */
65
-export const TRACK_UPDATED = Symbol('TRACK_UPDATED');
65
+export const TRACK_UPDATED = 'TRACK_UPDATED';
66 66
 
67 67
 /**
68 68
  * The type of redux action dispatched when a local track starts being created
@@ -82,4 +82,4 @@ export const TRACK_UPDATED = Symbol('TRACK_UPDATED');
82 82
  *     }
83 83
  * }
84 84
  */
85
-export const TRACK_WILL_CREATE = Symbol('TRACK_WILL_CREATE');
85
+export const TRACK_WILL_CREATE = 'TRACK_WILL_CREATE';

+ 0
- 23
react/features/base/util/helpers.js View File

@@ -21,29 +21,6 @@ export function getJitsiMeetGlobalNS() {
21 21
     return window.JitsiMeetJS.app;
22 22
 }
23 23
 
24
-/**
25
- * Gets the description of a specific {@code Symbol}.
26
- *
27
- * @param {Symbol} symbol - The {@code Symbol} to retrieve the description of.
28
- * @private
29
- * @returns {string} The description of {@code symbol}.
30
- */
31
-export function getSymbolDescription(symbol: ?Symbol) {
32
-    let description = symbol ? symbol.toString() : 'undefined';
33
-
34
-    if (description.startsWith('Symbol(') && description.endsWith(')')) {
35
-        description = description.slice(7, -1);
36
-    }
37
-
38
-    // The polyfill es6-symbol that we use does not appear to comply with the
39
-    // Symbol standard and, merely, adds @@ at the beginning of the description.
40
-    if (description.startsWith('@@')) {
41
-        description = description.slice(2);
42
-    }
43
-
44
-    return description;
45
-}
46
-
47 24
 /**
48 25
  * A helper function that behaves similar to Object.assign, but only reassigns a
49 26
  * property in target if it's defined in source.

+ 9
- 9
react/features/calendar-sync/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     type: CLEAR_CALENDAR_INTEGRATION
9 9
  * }
10 10
  */
11
-export const CLEAR_CALENDAR_INTEGRATION = Symbol('CLEAR_CALENDAR_INTEGRATION');
11
+export const CLEAR_CALENDAR_INTEGRATION = 'CLEAR_CALENDAR_INTEGRATION';
12 12
 
13 13
 /**
14 14
  * Action to refresh (re-fetch) the entry list.
@@ -19,7 +19,7 @@ export const CLEAR_CALENDAR_INTEGRATION = Symbol('CLEAR_CALENDAR_INTEGRATION');
19 19
  *     isInteractive: boolean
20 20
  * }
21 21
  */
22
-export const REFRESH_CALENDAR = Symbol('REFRESH_CALENDAR');
22
+export const REFRESH_CALENDAR = 'REFRESH_CALENDAR';
23 23
 
24 24
 /**
25 25
  * Action to signal that calendar access has already been requested since the
@@ -31,7 +31,7 @@ export const REFRESH_CALENDAR = Symbol('REFRESH_CALENDAR');
31 31
  *     authorization: ?string
32 32
  * }
33 33
  */
34
-export const SET_CALENDAR_AUTHORIZATION = Symbol('SET_CALENDAR_AUTHORIZATION');
34
+export const SET_CALENDAR_AUTHORIZATION = 'SET_CALENDAR_AUTHORIZATION';
35 35
 
36 36
 /**
37 37
  * Action to update the last error that occurred while trying to authenticate
@@ -42,7 +42,7 @@ export const SET_CALENDAR_AUTHORIZATION = Symbol('SET_CALENDAR_AUTHORIZATION');
42 42
  *     error: ?Object
43 43
  * }
44 44
  */
45
-export const SET_CALENDAR_ERROR = Symbol('SET_CALENDAR_ERROR');
45
+export const SET_CALENDAR_ERROR = 'SET_CALENDAR_ERROR';
46 46
 
47 47
 /**
48 48
  * Action to update the current calendar entry list in the store.
@@ -52,7 +52,7 @@ export const SET_CALENDAR_ERROR = Symbol('SET_CALENDAR_ERROR');
52 52
  *     events: Array<Object>
53 53
  * }
54 54
  */
55
-export const SET_CALENDAR_EVENTS = Symbol('SET_CALENDAR_EVENTS');
55
+export const SET_CALENDAR_EVENTS = 'SET_CALENDAR_EVENTS';
56 56
 
57 57
 /**
58 58
  * Action to update calendar type to be used for web.
@@ -63,7 +63,7 @@ export const SET_CALENDAR_EVENTS = Symbol('SET_CALENDAR_EVENTS');
63 63
  *     integrationType: string
64 64
  * }
65 65
  */
66
-export const SET_CALENDAR_INTEGRATION = Symbol('SET_CALENDAR_INTEGRATION');
66
+export const SET_CALENDAR_INTEGRATION = 'SET_CALENDAR_INTEGRATION';
67 67
 
68 68
 /**
69 69
  * The type of Redux action which changes Calendar API auth state.
@@ -73,7 +73,7 @@ export const SET_CALENDAR_INTEGRATION = Symbol('SET_CALENDAR_INTEGRATION');
73 73
  * }
74 74
  * @public
75 75
  */
76
-export const SET_CALENDAR_AUTH_STATE = Symbol('SET_CALENDAR_AUTH_STATE');
76
+export const SET_CALENDAR_AUTH_STATE = 'SET_CALENDAR_AUTH_STATE';
77 77
 
78 78
 /**
79 79
  * The type of Redux action which changes Calendar Profile email state.
@@ -84,7 +84,7 @@ export const SET_CALENDAR_AUTH_STATE = Symbol('SET_CALENDAR_AUTH_STATE');
84 84
  * }
85 85
  * @public
86 86
  */
87
-export const SET_CALENDAR_PROFILE_EMAIL = Symbol('SET_CALENDAR_PROFILE_EMAIL');
87
+export const SET_CALENDAR_PROFILE_EMAIL = 'SET_CALENDAR_PROFILE_EMAIL';
88 88
 
89 89
 /**
90 90
  * The type of Redux action which denotes whether a request is in flight to get
@@ -97,4 +97,4 @@ export const SET_CALENDAR_PROFILE_EMAIL = Symbol('SET_CALENDAR_PROFILE_EMAIL');
97 97
  * @public
98 98
  */
99 99
 export const SET_LOADING_CALENDAR_EVENTS
100
-    = Symbol('SET_LOADING_CALENDAR_EVENTS');
100
+    = 'SET_LOADING_CALENDAR_EVENTS';

+ 4
- 4
react/features/chat/actionTypes.js View File

@@ -13,7 +13,7 @@
13 13
  *     timestamp: string,
14 14
  * }
15 15
  */
16
-export const ADD_MESSAGE = Symbol('ADD_MESSAGE');
16
+export const ADD_MESSAGE = 'ADD_MESSAGE';
17 17
 
18 18
 /**
19 19
  * The type of the action which signals to clear messages in Redux.
@@ -22,7 +22,7 @@ export const ADD_MESSAGE = Symbol('ADD_MESSAGE');
22 22
  *     type: CLEAR_MESSAGES
23 23
  * }
24 24
  */
25
-export const CLEAR_MESSAGES = Symbol('CLEAR_MESSAGES');
25
+export const CLEAR_MESSAGES = 'CLEAR_MESSAGES';
26 26
 
27 27
 /**
28 28
  * The type of the action which signals a send a chat message to everyone in the
@@ -33,7 +33,7 @@ export const CLEAR_MESSAGES = Symbol('CLEAR_MESSAGES');
33 33
  *     message: string
34 34
  * }
35 35
  */
36
-export const SEND_MESSAGE = Symbol('SEND_MESSAGE');
36
+export const SEND_MESSAGE = 'SEND_MESSAGE';
37 37
 
38 38
 /**
39 39
  * The type of the action which signals to toggle the display of the chat panel.
@@ -42,4 +42,4 @@ export const SEND_MESSAGE = Symbol('SEND_MESSAGE');
42 42
  *     type: TOGGLE_CHAT
43 43
  * }
44 44
  */
45
-export const TOGGLE_CHAT = Symbol('TOGGLE_CHAT');
45
+export const TOGGLE_CHAT = 'TOGGLE_CHAT';

+ 2
- 2
react/features/deep-linking/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     type: OPEN_DESKTOP
9 9
  * }
10 10
  */
11
-export const OPEN_DESKTOP_APP = Symbol('OPEN_DESKTOP_APP');
11
+export const OPEN_DESKTOP_APP = 'OPEN_DESKTOP_APP';
12 12
 
13 13
 /**
14 14
  * The type of the action which signals to open the conference in the web app.
@@ -17,4 +17,4 @@ export const OPEN_DESKTOP_APP = Symbol('OPEN_DESKTOP_APP');
17 17
  *     type: OPEN_WEB_APP
18 18
  * }
19 19
  */
20
-export const OPEN_WEB_APP = Symbol('OPEN_WEB_APP');
20
+export const OPEN_WEB_APP = 'OPEN_WEB_APP';

+ 1
- 1
react/features/device-selection/actionTypes.js View File

@@ -7,4 +7,4 @@
7 7
  * }}
8 8
  */
9 9
 export const SET_DEVICE_SELECTION_POPUP_DATA
10
-    = Symbol('SET_DEVICE_SELECTION_POPUP_DATA');
10
+    = 'SET_DEVICE_SELECTION_POPUP_DATA';

+ 1
- 1
react/features/dropbox/actionTypes.js View File

@@ -8,4 +8,4 @@
8 8
  *     token: string
9 9
  * }
10 10
  */
11
-export const UPDATE_DROPBOX_TOKEN = Symbol('UPDATE_DROPBOX_TOKEN');
11
+export const UPDATE_DROPBOX_TOKEN = 'UPDATE_DROPBOX_TOKEN';

+ 3
- 3
react/features/etherpad/actionTypes.js View File

@@ -5,7 +5,7 @@
5 5
  *     type: ETHERPAD_INITIALIZED
6 6
  * }
7 7
  */
8
-export const ETHERPAD_INITIALIZED = Symbol('ETHERPAD_INITIALIZED');
8
+export const ETHERPAD_INITIALIZED = 'ETHERPAD_INITIALIZED';
9 9
 
10 10
 
11 11
 /**
@@ -16,7 +16,7 @@ export const ETHERPAD_INITIALIZED = Symbol('ETHERPAD_INITIALIZED');
16 16
  * }
17 17
  */
18 18
 export const SET_DOCUMENT_EDITING_STATUS
19
-    = Symbol('SET_DOCUMENT_EDITING_STATUS');
19
+    = 'SET_DOCUMENT_EDITING_STATUS';
20 20
 
21 21
 /**
22 22
  * The type of the action which signals to start or stop editing a shared
@@ -26,4 +26,4 @@ export const SET_DOCUMENT_EDITING_STATUS
26 26
  *     type: TOGGLE_DOCUMENT_EDITING
27 27
  * }
28 28
  */
29
-export const TOGGLE_DOCUMENT_EDITING = Symbol('TOGGLE_DOCUMENT_EDITING');
29
+export const TOGGLE_DOCUMENT_EDITING = 'TOGGLE_DOCUMENT_EDITING';

+ 2
- 2
react/features/feedback/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     score: number
8 8
  * }
9 9
  */
10
-export const CANCEL_FEEDBACK = Symbol('CANCEL_FEEDBACK');
10
+export const CANCEL_FEEDBACK = 'CANCEL_FEEDBACK';
11 11
 
12 12
 /**
13 13
  * The type of the action which signals feedback was submitted for recording.
@@ -18,4 +18,4 @@ export const CANCEL_FEEDBACK = Symbol('CANCEL_FEEDBACK');
18 18
  *     score: number
19 19
  * }
20 20
  */
21
-export const SUBMIT_FEEDBACK = Symbol('SUBMIT_FEEDBACK');
21
+export const SUBMIT_FEEDBACK = 'SUBMIT_FEEDBACK';

+ 3
- 3
react/features/filmstrip/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  *     enabled: boolean
7 7
  * }
8 8
  */
9
-export const SET_FILMSTRIP_ENABLED = Symbol('SET_FILMSTRIP_ENABLED');
9
+export const SET_FILMSTRIP_ENABLED = 'SET_FILMSTRIP_ENABLED';
10 10
 
11 11
 /**
12 12
  * The type of (redux) action which sets whether or not the filmstrip is being
@@ -17,7 +17,7 @@ export const SET_FILMSTRIP_ENABLED = Symbol('SET_FILMSTRIP_ENABLED');
17 17
  *     hovered: boolean
18 18
  * }
19 19
  */
20
-export const SET_FILMSTRIP_HOVERED = Symbol('SET_FILMSTRIP_HOVERED');
20
+export const SET_FILMSTRIP_HOVERED = 'SET_FILMSTRIP_HOVERED';
21 21
 
22 22
 /**
23 23
  * The type of (redux) action which sets whether the filmstrip is visible.
@@ -27,4 +27,4 @@ export const SET_FILMSTRIP_HOVERED = Symbol('SET_FILMSTRIP_HOVERED');
27 27
  *     visible: boolean
28 28
  * }
29 29
  */
30
-export const SET_FILMSTRIP_VISIBLE = Symbol('SET_FILMSTRIP_VISIBLE');
30
+export const SET_FILMSTRIP_VISIBLE = 'SET_FILMSTRIP_VISIBLE';

+ 2
- 2
react/features/google-api/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  * }
7 7
  * @public
8 8
  */
9
-export const SET_GOOGLE_API_STATE = Symbol('SET_GOOGLE_API_STATE');
9
+export const SET_GOOGLE_API_STATE = 'SET_GOOGLE_API_STATE';
10 10
 
11 11
 /**
12 12
  * The type of Redux action which changes Google API profile state.
@@ -16,4 +16,4 @@ export const SET_GOOGLE_API_STATE = Symbol('SET_GOOGLE_API_STATE');
16 16
  * }
17 17
  * @public
18 18
  */
19
-export const SET_GOOGLE_API_PROFILE = Symbol('SET_GOOGLE_API_PROFILE');
19
+export const SET_GOOGLE_API_PROFILE = 'SET_GOOGLE_API_PROFILE';

+ 7
- 7
react/features/invite/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     request: Object
8 8
  * }
9 9
  */
10
-export const ADD_PENDING_INVITE_REQUEST = Symbol('ADD_PENDING_INVITE_REQUEST');
10
+export const ADD_PENDING_INVITE_REQUEST = 'ADD_PENDING_INVITE_REQUEST';
11 11
 
12 12
 /**
13 13
  * The type of the (redux) action which signals that a click/tap has been
@@ -18,7 +18,7 @@ export const ADD_PENDING_INVITE_REQUEST = Symbol('ADD_PENDING_INVITE_REQUEST');
18 18
  *     type: BEGIN_ADD_PEOPLE
19 19
  * }
20 20
  */
21
-export const BEGIN_ADD_PEOPLE = Symbol('BEGIN_ADD_PEOPLE');
21
+export const BEGIN_ADD_PEOPLE = 'BEGIN_ADD_PEOPLE';
22 22
 
23 23
 /**
24 24
  * The type of redux action which will remove pending invite requests from the
@@ -29,7 +29,7 @@ export const BEGIN_ADD_PEOPLE = Symbol('BEGIN_ADD_PEOPLE');
29 29
  * }
30 30
  */
31 31
 export const REMOVE_PENDING_INVITE_REQUESTS
32
-    = Symbol('REMOVE_PENDING_INVITE_REQUESTS');
32
+    = 'REMOVE_PENDING_INVITE_REQUESTS';
33 33
 
34 34
 /**
35 35
  * The type of redux action which sets the visibility of {@code CalleeInfo}.
@@ -39,7 +39,7 @@ export const REMOVE_PENDING_INVITE_REQUESTS
39 39
  *     calleeInfoVisible: boolean
40 40
  * }
41 41
  */
42
-export const SET_CALLEE_INFO_VISIBLE = Symbol('SET_CALLEE_INFO_VISIBLE');
42
+export const SET_CALLEE_INFO_VISIBLE = 'SET_CALLEE_INFO_VISIBLE';
43 43
 
44 44
 /**
45 45
  * The type of redux action which sets the invite dialog visible or invisible.
@@ -49,7 +49,7 @@ export const SET_CALLEE_INFO_VISIBLE = Symbol('SET_CALLEE_INFO_VISIBLE');
49 49
  *     visible: boolean
50 50
  * }
51 51
  */
52
-export const SET_INVITE_DIALOG_VISIBLE = Symbol('SET_INVITE_DIALOG_VISIBLE');
52
+export const SET_INVITE_DIALOG_VISIBLE = 'SET_INVITE_DIALOG_VISIBLE';
53 53
 
54 54
 /**
55 55
  * The type of the action which signals an error occurred while requesting dial-
@@ -61,7 +61,7 @@ export const SET_INVITE_DIALOG_VISIBLE = Symbol('SET_INVITE_DIALOG_VISIBLE');
61 61
  * }
62 62
  */
63 63
 export const UPDATE_DIAL_IN_NUMBERS_FAILED
64
-    = Symbol('UPDATE_DIAL_IN_NUMBERS_FAILED');
64
+    = 'UPDATE_DIAL_IN_NUMBERS_FAILED';
65 65
 
66 66
 /**
67 67
  * The type of the action which signals a request for dial-in numbers has
@@ -74,4 +74,4 @@ export const UPDATE_DIAL_IN_NUMBERS_FAILED
74 74
  * }
75 75
  */
76 76
 export const UPDATE_DIAL_IN_NUMBERS_SUCCESS
77
-    = Symbol('UPDATE_DIAL_IN_NUMBERS_SUCCESS');
77
+    = 'UPDATE_DIAL_IN_NUMBERS_SUCCESS';

+ 1
- 1
react/features/keyboard-shortcuts/actionTypes.js View File

@@ -7,4 +7,4 @@
7 7
  * }
8 8
  */
9 9
 export const OPEN_KEYBOARD_SHORTCUTS_DIALOG
10
-    = Symbol('OPEN_KEYBOARD_SHORTCUTS_DIALOG');
10
+    = 'OPEN_KEYBOARD_SHORTCUTS_DIALOG';

+ 2
- 2
react/features/large-video/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  * }
8 8
  */
9 9
 export const SELECT_LARGE_VIDEO_PARTICIPANT
10
-    = Symbol('SELECT_LARGE_VIDEO_PARTICIPANT');
10
+    = 'SELECT_LARGE_VIDEO_PARTICIPANT';
11 11
 
12 12
 /**
13 13
  * Action to update the redux store with the current resolution of large video.
@@ -18,4 +18,4 @@ export const SELECT_LARGE_VIDEO_PARTICIPANT
18 18
  * }}
19 19
  */
20 20
 export const UPDATE_KNOWN_LARGE_VIDEO_RESOLUTION
21
-    = Symbol('UPDATE_KNOWN_LARGE_VIDEO_RESOLUTION');
21
+    = 'UPDATE_KNOWN_LARGE_VIDEO_RESOLUTION';

+ 3
- 3
react/features/local-recording/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     recordingEngagedAt: Date
8 8
  * }
9 9
  */
10
-export const LOCAL_RECORDING_ENGAGED = Symbol('LOCAL_RECORDING_ENGAGED');
10
+export const LOCAL_RECORDING_ENGAGED = 'LOCAL_RECORDING_ENGAGED';
11 11
 
12 12
 /**
13 13
  * Action to signal that the local client has stopped recording,
@@ -17,7 +17,7 @@ export const LOCAL_RECORDING_ENGAGED = Symbol('LOCAL_RECORDING_ENGAGED');
17 17
  *     type: LOCAL_RECORDING_UNENGAGED
18 18
  * }
19 19
  */
20
-export const LOCAL_RECORDING_UNENGAGED = Symbol('LOCAL_RECORDING_UNENGAGED');
20
+export const LOCAL_RECORDING_UNENGAGED = 'LOCAL_RECORDING_UNENGAGED';
21 21
 
22 22
 /**
23 23
  * Action to update {@code LocalRecordingInfoDialog} with stats from all
@@ -29,4 +29,4 @@ export const LOCAL_RECORDING_UNENGAGED = Symbol('LOCAL_RECORDING_UNENGAGED');
29 29
  * }
30 30
  */
31 31
 export const LOCAL_RECORDING_STATS_UPDATE
32
-    = Symbol('LOCAL_RECORDING_STATS_UPDATE');
32
+    = 'LOCAL_RECORDING_STATS_UPDATE';

+ 2
- 2
react/features/mobile/background/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *
9 9
  * @protected
10 10
  */
11
-export const _SET_APP_STATE_LISTENER = Symbol('_SET_APP_STATE_LISTENER');
11
+export const _SET_APP_STATE_LISTENER = '_SET_APP_STATE_LISTENER';
12 12
 
13 13
 /**
14 14
  * The type of redux action which signals that the app state has changed (in
@@ -23,4 +23,4 @@ export const _SET_APP_STATE_LISTENER = Symbol('_SET_APP_STATE_LISTENER');
23 23
  * @public
24 24
  * @see {@link https://facebook.github.io/react-native/docs/appstate.html}
25 25
  */
26
-export const APP_STATE_CHANGED = Symbol('APP_STATE_CHANGED');
26
+export const APP_STATE_CHANGED = 'APP_STATE_CHANGED';

+ 1
- 1
react/features/mobile/call-integration/actionTypes.js View File

@@ -10,4 +10,4 @@
10 10
  * @protected
11 11
  */
12 12
 export const _SET_CALL_INTEGRATION_SUBSCRIPTIONS
13
-    = Symbol('_SET_CALL_INTEGRATION_SUBSCRIPTIONS');
13
+    = '_SET_CALL_INTEGRATION_SUBSCRIPTIONS';

+ 5
- 5
react/features/mobile/external-api/middleware.js View File

@@ -13,7 +13,7 @@ import {
13 13
 import { LOAD_CONFIG_ERROR } from '../../base/config';
14 14
 import { CONNECTION_FAILED } from '../../base/connection';
15 15
 import { MiddlewareRegistry } from '../../base/redux';
16
-import { getSymbolDescription, toURLString } from '../../base/util';
16
+import { toURLString } from '../../base/util';
17 17
 import { ENTER_PICTURE_IN_PICTURE } from '../picture-in-picture';
18 18
 
19 19
 import { sendEvent } from './functions';
@@ -69,7 +69,7 @@ MiddlewareRegistry.register(store => next => action => {
69 69
         break;
70 70
 
71 71
     case ENTER_PICTURE_IN_PICTURE:
72
-        sendEvent(store, getSymbolDescription(type), /* data */ {});
72
+        sendEvent(store, type, /* data */ {});
73 73
         break;
74 74
 
75 75
     case LOAD_CONFIG_ERROR: {
@@ -133,7 +133,7 @@ function _maybeTriggerEarlyConferenceWillJoin(store, action) {
133 133
 
134 134
     isRoomValid(room) && locationURL && sendEvent(
135 135
         store,
136
-        getSymbolDescription(CONFERENCE_WILL_JOIN),
136
+        CONFERENCE_WILL_JOIN,
137 137
         /* data */ {
138 138
             url: toURLString(locationURL)
139 139
         });
@@ -151,7 +151,7 @@ function _sendConferenceEvent(
151 151
         store: Object,
152 152
         action: {
153 153
             conference: Object,
154
-            type: Symbol,
154
+            type: string,
155 155
             url: ?string
156 156
         }) {
157 157
     const { conference, type, ...data } = action;
@@ -175,7 +175,7 @@ function _sendConferenceEvent(
175 175
         type_ = CONFERENCE_TERMINATED;
176 176
         break;
177 177
     default:
178
-        type_ = getSymbolDescription(type);
178
+        type_ = type;
179 179
         break;
180 180
     }
181 181
 

+ 1
- 1
react/features/mobile/full-screen/actionTypes.js View File

@@ -9,4 +9,4 @@
9 9
  *
10 10
  * @protected
11 11
  */
12
-export const _SET_IMMERSIVE_LISTENER = Symbol('_SET_IMMERSIVE_LISTENER');
12
+export const _SET_IMMERSIVE_LISTENER = '_SET_IMMERSIVE_LISTENER';

+ 3
- 3
react/features/mobile/incoming-call/actionTypes.js View File

@@ -5,7 +5,7 @@
5 5
  *     type: INCOMING_CALL_ANSWERED
6 6
  * }
7 7
  */
8
-export const INCOMING_CALL_ANSWERED = Symbol('INCOMING_CALL_ANSWERED');
8
+export const INCOMING_CALL_ANSWERED = 'INCOMING_CALL_ANSWERED';
9 9
 
10 10
 /**
11 11
  * The type of redux action to decline an incoming call.
@@ -14,7 +14,7 @@ export const INCOMING_CALL_ANSWERED = Symbol('INCOMING_CALL_ANSWERED');
14 14
  *     type: INCOMING_CALL_DECLINED
15 15
  * }
16 16
  */
17
-export const INCOMING_CALL_DECLINED = Symbol('INCOMING_CALL_DECLINED');
17
+export const INCOMING_CALL_DECLINED = 'INCOMING_CALL_DECLINED';
18 18
 
19 19
 /**
20 20
  * The type of redux action to receive an incoming call.
@@ -24,4 +24,4 @@ export const INCOMING_CALL_DECLINED = Symbol('INCOMING_CALL_DECLINED');
24 24
  *     caller: Object
25 25
  * }
26 26
  */
27
-export const INCOMING_CALL_RECEIVED = Symbol('INCOMING_CALL_RECEIVED');
27
+export const INCOMING_CALL_RECEIVED = 'INCOMING_CALL_RECEIVED';

+ 1
- 2
react/features/mobile/incoming-call/middleware.js View File

@@ -1,7 +1,6 @@
1 1
 // @flow
2 2
 
3 3
 import { MiddlewareRegistry } from '../../base/redux';
4
-import { getSymbolDescription } from '../../base/util';
5 4
 
6 5
 import { sendEvent } from '../external-api';
7 6
 
@@ -20,7 +19,7 @@ MiddlewareRegistry.register(store => next => action => {
20 19
     switch (action.type) {
21 20
     case INCOMING_CALL_ANSWERED:
22 21
     case INCOMING_CALL_DECLINED:
23
-        sendEvent(store, getSymbolDescription(action.type), /* data */ {});
22
+        sendEvent(store, action.type, /* data */ {});
24 23
         break;
25 24
     }
26 25
 

+ 3
- 3
react/features/mobile/network-activity/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *
9 9
  * @protected
10 10
  */
11
-export const _ADD_NETWORK_REQUEST = Symbol('_ADD_NETWORK_REQUEST');
11
+export const _ADD_NETWORK_REQUEST = '_ADD_NETWORK_REQUEST';
12 12
 
13 13
 /**
14 14
  * The type of redux action to remove all network requests from the redux
@@ -21,7 +21,7 @@ export const _ADD_NETWORK_REQUEST = Symbol('_ADD_NETWORK_REQUEST');
21 21
  * @protected
22 22
  */
23 23
 export const _REMOVE_ALL_NETWORK_REQUESTS
24
-    = Symbol('_REMOVE_ALL_NETWORK_REQUESTS');
24
+    = '_REMOVE_ALL_NETWORK_REQUESTS';
25 25
 
26 26
 /**
27 27
  * The type of redux action to remove a network request from the redux
@@ -34,4 +34,4 @@ export const _REMOVE_ALL_NETWORK_REQUESTS
34 34
  *
35 35
  * @protected
36 36
  */
37
-export const _REMOVE_NETWORK_REQUEST = Symbol('_REMOVE_NETWORK_REQUEST');
37
+export const _REMOVE_NETWORK_REQUEST = '_REMOVE_NETWORK_REQUEST';

+ 1
- 1
react/features/mobile/picture-in-picture/actionTypes.js View File

@@ -8,4 +8,4 @@
8 8
  *
9 9
  * @public
10 10
  */
11
-export const ENTER_PICTURE_IN_PICTURE = Symbol('ENTER_PICTURE_IN_PICTURE');
11
+export const ENTER_PICTURE_IN_PICTURE = 'ENTER_PICTURE_IN_PICTURE';

+ 4
- 4
react/features/notifications/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  *     type: CLEAR_NOTIFICATIONS
7 7
  * }
8 8
  */
9
-export const CLEAR_NOTIFICATIONS = Symbol('CLEAR_NOTIFICATIONS');
9
+export const CLEAR_NOTIFICATIONS = 'CLEAR_NOTIFICATIONS';
10 10
 
11 11
 /**
12 12
  * The type of (redux) action which signals that a specific notification should
@@ -17,7 +17,7 @@ export const CLEAR_NOTIFICATIONS = Symbol('CLEAR_NOTIFICATIONS');
17 17
  *     uid: number
18 18
  * }
19 19
  */
20
-export const HIDE_NOTIFICATION = Symbol('HIDE_NOTIFICATION');
20
+export const HIDE_NOTIFICATION = 'HIDE_NOTIFICATION';
21 21
 
22 22
 /**
23 23
  * The type of (redux) action which signals that a notification component should
@@ -31,7 +31,7 @@ export const HIDE_NOTIFICATION = Symbol('HIDE_NOTIFICATION');
31 31
  *     uid: number
32 32
  * }
33 33
  */
34
-export const SHOW_NOTIFICATION = Symbol('SHOW_NOTIFICATION');
34
+export const SHOW_NOTIFICATION = 'SHOW_NOTIFICATION';
35 35
 
36 36
 /**
37 37
  * The type of (redux) action which signals that notifications should not
@@ -42,4 +42,4 @@ export const SHOW_NOTIFICATION = Symbol('SHOW_NOTIFICATION');
42 42
  *     enabled: Boolean
43 43
  * }
44 44
  */
45
-export const SET_NOTIFICATIONS_ENABLED = Symbol('SET_NOTIFICATIONS_ENABLED');
45
+export const SET_NOTIFICATIONS_ENABLED = 'SET_NOTIFICATIONS_ENABLED';

+ 3
- 3
react/features/overlay/actionTypes.js View File

@@ -10,7 +10,7 @@
10 10
  * @public
11 11
  */
12 12
 export const MEDIA_PERMISSION_PROMPT_VISIBILITY_CHANGED
13
-    = Symbol('MEDIA_PERMISSION_PROMPT_VISIBILITY_CHANGED');
13
+    = 'MEDIA_PERMISSION_PROMPT_VISIBILITY_CHANGED';
14 14
 
15 15
 /**
16 16
  * The type of the Redux action which signals that a suspend was detected.
@@ -20,7 +20,7 @@ export const MEDIA_PERMISSION_PROMPT_VISIBILITY_CHANGED
20 20
  * }
21 21
  * @public
22 22
  */
23
-export const SUSPEND_DETECTED = Symbol('SUSPEND_DETECTED');
23
+export const SUSPEND_DETECTED = 'SUSPEND_DETECTED';
24 24
 
25 25
 /**
26 26
  * Adjust the state of the fatal error which shows/hides the reload screen. See
@@ -32,4 +32,4 @@ export const SUSPEND_DETECTED = Symbol('SUSPEND_DETECTED');
32 32
  * }
33 33
  * @public
34 34
  */
35
-export const SET_FATAL_ERROR = Symbol('SET_FATAL_ERROR');
35
+export const SET_FATAL_ERROR = 'SET_FATAL_ERROR';

+ 3
- 3
react/features/recent-list/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     entryId: Object
9 9
  * }
10 10
  */
11
-export const DELETE_RECENT_LIST_ENTRY = Symbol('DELETE_RECENT_LIST_ENTRY');
11
+export const DELETE_RECENT_LIST_ENTRY = 'DELETE_RECENT_LIST_ENTRY';
12 12
 
13 13
 /**
14 14
  * Action type to signal a new addition to the list.
@@ -20,7 +20,7 @@ export const DELETE_RECENT_LIST_ENTRY = Symbol('DELETE_RECENT_LIST_ENTRY');
20 20
  *
21 21
  * @protected
22 22
  */
23
-export const _STORE_CURRENT_CONFERENCE = Symbol('_STORE_CURRENT_CONFERENCE');
23
+export const _STORE_CURRENT_CONFERENCE = '_STORE_CURRENT_CONFERENCE';
24 24
 
25 25
 /**
26 26
  * Action type to signal that a new conference duration info is available.
@@ -33,4 +33,4 @@ export const _STORE_CURRENT_CONFERENCE = Symbol('_STORE_CURRENT_CONFERENCE');
33 33
  * @protected
34 34
  */
35 35
 export const _UPDATE_CONFERENCE_DURATION
36
-    = Symbol('_UPDATE_CONFERENCE_DURATION');
36
+    = '_UPDATE_CONFERENCE_DURATION';

+ 4
- 4
react/features/recording/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  * }
9 9
  * @public
10 10
  */
11
-export const CLEAR_RECORDING_SESSIONS = Symbol('CLEAR_RECORDING_SESSIONS');
11
+export const CLEAR_RECORDING_SESSIONS = 'CLEAR_RECORDING_SESSIONS';
12 12
 
13 13
 /**
14 14
  * The type of Redux action which updates the current known state of a recording
@@ -20,7 +20,7 @@ export const CLEAR_RECORDING_SESSIONS = Symbol('CLEAR_RECORDING_SESSIONS');
20 20
  * }
21 21
  * @public
22 22
  */
23
-export const RECORDING_SESSION_UPDATED = Symbol('RECORDING_SESSION_UPDATED');
23
+export const RECORDING_SESSION_UPDATED = 'RECORDING_SESSION_UPDATED';
24 24
 
25 25
 /**
26 26
  * The type of Redux action which sets the pending recording notification UID to
@@ -35,7 +35,7 @@ export const RECORDING_SESSION_UPDATED = Symbol('RECORDING_SESSION_UPDATED');
35 35
  * @public
36 36
  */
37 37
 export const SET_PENDING_RECORDING_NOTIFICATION_UID
38
-    = Symbol('SET_PENDING_RECORDING_NOTIFICATION_UID');
38
+    = 'SET_PENDING_RECORDING_NOTIFICATION_UID';
39 39
 
40 40
 /**
41 41
  * Sets the stream key last used by the user for later reuse.
@@ -45,4 +45,4 @@ export const SET_PENDING_RECORDING_NOTIFICATION_UID
45 45
  *     streamKey: string
46 46
  * }
47 47
  */
48
-export const SET_STREAM_KEY = Symbol('SET_STREAM_KEY');
48
+export const SET_STREAM_KEY = 'SET_STREAM_KEY';

+ 1
- 1
react/features/settings/actionTypes.js View File

@@ -7,4 +7,4 @@
7 7
  *     visible: boolean
8 8
  * }
9 9
  */
10
-export const SET_SETTINGS_VIEW_VISIBLE = Symbol('SET_SETTINGS_VIEW_VISIBLE');
10
+export const SET_SETTINGS_VIEW_VISIBLE = 'SET_SETTINGS_VIEW_VISIBLE';

+ 2
- 2
react/features/share-room/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  *     includeDialInfo: boolean
9 9
  * }
10 10
  */
11
-export const BEGIN_SHARE_ROOM = Symbol('BEGIN_SHARE_ROOM');
11
+export const BEGIN_SHARE_ROOM = 'BEGIN_SHARE_ROOM';
12 12
 
13 13
 /**
14 14
  * The type of (redux) action which ends the UI procedure to share a specific
@@ -20,4 +20,4 @@ export const BEGIN_SHARE_ROOM = Symbol('BEGIN_SHARE_ROOM');
20 20
  *     shared: boolean
21 21
  * }
22 22
  */
23
-export const END_SHARE_ROOM = Symbol('END_SHARE_ROOM');
23
+export const END_SHARE_ROOM = 'END_SHARE_ROOM';

+ 2
- 2
react/features/shared-video/actionTypes.js View File

@@ -7,7 +7,7 @@
7 7
  *     status: string
8 8
  * }
9 9
  */
10
-export const SET_SHARED_VIDEO_STATUS = Symbol('SET_SHARED_VIDEO_STATUS');
10
+export const SET_SHARED_VIDEO_STATUS = 'SET_SHARED_VIDEO_STATUS';
11 11
 
12 12
 /**
13 13
  * The type of the action which signals to start the flow for starting or
@@ -17,4 +17,4 @@ export const SET_SHARED_VIDEO_STATUS = Symbol('SET_SHARED_VIDEO_STATUS');
17 17
  *     type: TOGGLE_SHARED_VIDEO
18 18
  * }
19 19
  */
20
-export const TOGGLE_SHARED_VIDEO = Symbol('TOGGLE_SHARED_VIDEO');
20
+export const TOGGLE_SHARED_VIDEO = 'TOGGLE_SHARED_VIDEO';

+ 4
- 4
react/features/subtitles/actionTypes.js View File

@@ -9,7 +9,7 @@
9 9
  *     json: Object
10 10
  * }
11 11
  */
12
-export const ENDPOINT_MESSAGE_RECEIVED = Symbol('ENDPOINT_MESSAGE_RECEIVED');
12
+export const ENDPOINT_MESSAGE_RECEIVED = 'ENDPOINT_MESSAGE_RECEIVED';
13 13
 
14 14
 /**
15 15
  * The type of (redux) action which indicates that an existing transcript
@@ -20,7 +20,7 @@ export const ENDPOINT_MESSAGE_RECEIVED = Symbol('ENDPOINT_MESSAGE_RECEIVED');
20 20
  *      transciptMessageID: string,
21 21
  * }
22 22
  */
23
-export const REMOVE_TRANSCRIPT_MESSAGE = Symbol('REMOVE_TRANSCRIPT_MESSAGE');
23
+export const REMOVE_TRANSCRIPT_MESSAGE = 'REMOVE_TRANSCRIPT_MESSAGE';
24 24
 
25 25
 /**
26 26
  * The type of (redux) action which indicates that a transcript with an
@@ -32,7 +32,7 @@ export const REMOVE_TRANSCRIPT_MESSAGE = Symbol('REMOVE_TRANSCRIPT_MESSAGE');
32 32
  *      newTranscriptMessage: Object
33 33
  * }
34 34
  */
35
-export const UPDATE_TRANSCRIPT_MESSAGE = Symbol('UPDATE_TRANSCRIPT_MESSAGE');
35
+export const UPDATE_TRANSCRIPT_MESSAGE = 'UPDATE_TRANSCRIPT_MESSAGE';
36 36
 
37 37
 /**
38 38
  * The type of (redux) action which indicates that the user pressed the
@@ -44,4 +44,4 @@ export const UPDATE_TRANSCRIPT_MESSAGE = Symbol('UPDATE_TRANSCRIPT_MESSAGE');
44 44
  * }
45 45
  */
46 46
 export const TOGGLE_REQUESTING_SUBTITLES
47
-    = Symbol('TOGGLE_REQUESTING_SUBTITLES');
47
+    = 'TOGGLE_REQUESTING_SUBTITLES';

+ 10
- 10
react/features/toolbox/actionTypes.js View File

@@ -5,7 +5,7 @@
5 5
  *     type: CLEAR_TOOLBOX_TIMEOUT
6 6
  * }
7 7
  */
8
-export const CLEAR_TOOLBOX_TIMEOUT = Symbol('CLEAR_TOOLBOX_TIMEOUT');
8
+export const CLEAR_TOOLBOX_TIMEOUT = 'CLEAR_TOOLBOX_TIMEOUT';
9 9
 
10 10
 /**
11 11
  * The type of (redux) action which updates whether the conference is or is not
@@ -16,7 +16,7 @@ export const CLEAR_TOOLBOX_TIMEOUT = Symbol('CLEAR_TOOLBOX_TIMEOUT');
16 16
  *     fullScreen: boolean
17 17
  * }
18 18
  */
19
-export const FULL_SCREEN_CHANGED = Symbol('FULL_SCREEN_CHANGED');
19
+export const FULL_SCREEN_CHANGED = 'FULL_SCREEN_CHANGED';
20 20
 
21 21
 /**
22 22
  * The type of (redux) action which requests full screen mode be entered or
@@ -27,7 +27,7 @@ export const FULL_SCREEN_CHANGED = Symbol('FULL_SCREEN_CHANGED');
27 27
  *     fullScreen: boolean
28 28
  * }
29 29
  */
30
-export const SET_FULL_SCREEN = Symbol('SET_FULL_SCREEN');
30
+export const SET_FULL_SCREEN = 'SET_FULL_SCREEN';
31 31
 
32 32
 /**
33 33
  * The type of the (redux) action which shows/hides the OverflowMenu.
@@ -37,7 +37,7 @@ export const SET_FULL_SCREEN = Symbol('SET_FULL_SCREEN');
37 37
  *     visible: boolean
38 38
  * }
39 39
  */
40
-export const SET_OVERFLOW_MENU_VISIBLE = Symbol('SET_OVERFLOW_MENU_VISIBLE');
40
+export const SET_OVERFLOW_MENU_VISIBLE = 'SET_OVERFLOW_MENU_VISIBLE';
41 41
 
42 42
 /**
43 43
  * The type of the action which sets the indicator which determiens whether a
@@ -48,7 +48,7 @@ export const SET_OVERFLOW_MENU_VISIBLE = Symbol('SET_OVERFLOW_MENU_VISIBLE');
48 48
  *     hovered: boolean
49 49
  * }
50 50
  */
51
-export const SET_TOOLBAR_HOVERED = Symbol('SET_TOOLBAR_HOVERED');
51
+export const SET_TOOLBAR_HOVERED = 'SET_TOOLBAR_HOVERED';
52 52
 
53 53
 /**
54 54
  * The type of the action which sets the permanent visibility of the Toolbox.
@@ -58,7 +58,7 @@ export const SET_TOOLBAR_HOVERED = Symbol('SET_TOOLBAR_HOVERED');
58 58
  *     alwaysVisible: boolean
59 59
  * }
60 60
  */
61
-export const SET_TOOLBOX_ALWAYS_VISIBLE = Symbol('SET_TOOLBOX_ALWAYS_VISIBLE');
61
+export const SET_TOOLBOX_ALWAYS_VISIBLE = 'SET_TOOLBOX_ALWAYS_VISIBLE';
62 62
 
63 63
 /**
64 64
  * The type of the (redux) action which enables/disables the Toolbox.
@@ -68,7 +68,7 @@ export const SET_TOOLBOX_ALWAYS_VISIBLE = Symbol('SET_TOOLBOX_ALWAYS_VISIBLE');
68 68
  *     enabled: boolean
69 69
  * }
70 70
  */
71
-export const SET_TOOLBOX_ENABLED = Symbol('SET_TOOLBOX_ENABLED');
71
+export const SET_TOOLBOX_ENABLED = 'SET_TOOLBOX_ENABLED';
72 72
 
73 73
 /**
74 74
  * The type of the action which sets a new Toolbox visibility timeout and its
@@ -80,7 +80,7 @@ export const SET_TOOLBOX_ENABLED = Symbol('SET_TOOLBOX_ENABLED');
80 80
  *     timeoutMS: number
81 81
  * }
82 82
  */
83
-export const SET_TOOLBOX_TIMEOUT = Symbol('SET_TOOLBOX_TIMEOUT');
83
+export const SET_TOOLBOX_TIMEOUT = 'SET_TOOLBOX_TIMEOUT';
84 84
 
85 85
 /**
86 86
  * The type of the action which sets the delay in milliseconds after which
@@ -91,7 +91,7 @@ export const SET_TOOLBOX_TIMEOUT = Symbol('SET_TOOLBOX_TIMEOUT');
91 91
  *     timeoutMS: number
92 92
  * }
93 93
  */
94
-export const SET_TOOLBOX_TIMEOUT_MS = Symbol('SET_TOOLBOX_TIMEOUT');
94
+export const SET_TOOLBOX_TIMEOUT_MS = 'SET_TOOLBOX_TIMEOUT';
95 95
 
96 96
 /**
97 97
  * The type of the (redux) action which shows/hides the Toolbox.
@@ -101,4 +101,4 @@ export const SET_TOOLBOX_TIMEOUT_MS = Symbol('SET_TOOLBOX_TIMEOUT');
101 101
  *     visible: boolean
102 102
  * }
103 103
  */
104
-export const SET_TOOLBOX_VISIBLE = Symbol('SET_TOOLBOX_VISIBLE');
104
+export const SET_TOOLBOX_VISIBLE = 'SET_TOOLBOX_VISIBLE';

+ 7
- 7
react/features/transcribing/actionTypes.js View File

@@ -6,7 +6,7 @@
6 6
  * }
7 7
  * @public
8 8
  */
9
-export const DIAL_TRANSCRIBER = Symbol('DIAL_TRANSCRIBER');
9
+export const DIAL_TRANSCRIBER = 'DIAL_TRANSCRIBER';
10 10
 
11 11
 /**
12 12
  * The type of Redux action triggering the transcriber to leave.
@@ -16,7 +16,7 @@ export const DIAL_TRANSCRIBER = Symbol('DIAL_TRANSCRIBER');
16 16
  * }
17 17
  * @public
18 18
  */
19
-export const STOP_TRANSCRIBING = Symbol('STOP_TRANSCRBIBING');
19
+export const STOP_TRANSCRIBING = 'STOP_TRANSCRBIBING';
20 20
 
21 21
 /**
22 22
  * The type of Redux action triggering storage of participantId of transcriber,
@@ -28,7 +28,7 @@ export const STOP_TRANSCRIBING = Symbol('STOP_TRANSCRBIBING');
28 28
  * }
29 29
  * @private
30 30
  */
31
-export const _TRANSCRIBER_JOINED = Symbol('TRANSCRIBER_JOINED');
31
+export const _TRANSCRIBER_JOINED = 'TRANSCRIBER_JOINED';
32 32
 
33 33
 /**
34 34
  * The type of Redux action signalling that the transcriber has left
@@ -39,7 +39,7 @@ export const _TRANSCRIBER_JOINED = Symbol('TRANSCRIBER_JOINED');
39 39
  * }
40 40
  * @private
41 41
  */
42
-export const _TRANSCRIBER_LEFT = Symbol('TRANSCRIBER_LEFT');
42
+export const _TRANSCRIBER_LEFT = 'TRANSCRIBER_LEFT';
43 43
 
44 44
 /**
45 45
  * The type of a Redux action signalling that a hidden participant has joined,
@@ -51,7 +51,7 @@ export const _TRANSCRIBER_LEFT = Symbol('TRANSCRIBER_LEFT');
51 51
  * @private
52 52
  */
53 53
 export const _POTENTIAL_TRANSCRIBER_JOINED
54
-    = Symbol('POTENTIAL_TRANSCRIBER_JOINED');
54
+    = 'POTENTIAL_TRANSCRIBER_JOINED';
55 55
 
56 56
 /**
57 57
  * The type of a Redux action signalling that dialing the transcriber failed.
@@ -61,7 +61,7 @@ export const _POTENTIAL_TRANSCRIBER_JOINED
61 61
  * }
62 62
  * @private
63 63
  */
64
-export const _DIAL_ERROR = Symbol('DIAL_ERROR');
64
+export const _DIAL_ERROR = 'DIAL_ERROR';
65 65
 
66 66
 /**
67 67
  * The type of Redux action which sets the pending transcribing notification UID
@@ -75,4 +75,4 @@ export const _DIAL_ERROR = Symbol('DIAL_ERROR');
75 75
  * @public
76 76
  */
77 77
 export const SET_PENDING_TRANSCRIBING_NOTIFICATION_UID
78
-    = Symbol('SET_PENDING_TRANSCRIBING_NOTIFICATION_UID');
78
+    = 'SET_PENDING_TRANSCRIBING_NOTIFICATION_UID';

+ 1
- 1
react/features/video-layout/actionTypes.js View File

@@ -7,4 +7,4 @@
7 7
  *     enabled: boolean
8 8
  * }}
9 9
  */
10
-export const SET_TILE_VIEW = Symbol('SET_TILE_VIEW');
10
+export const SET_TILE_VIEW = 'SET_TILE_VIEW';

+ 2
- 2
react/features/videosipgw/actionTypes.js View File

@@ -8,7 +8,7 @@
8 8
  * }
9 9
  */
10 10
 export const SIP_GW_AVAILABILITY_CHANGED
11
-    = Symbol('SIP_GW_AVAILABILITY_CHANGED');
11
+    = 'SIP_GW_AVAILABILITY_CHANGED';
12 12
 
13 13
 /**
14 14
  * The type of the action which signals to invite room participants to the
@@ -20,4 +20,4 @@ export const SIP_GW_AVAILABILITY_CHANGED
20 20
  *     rooms: {Immutable.List}
21 21
  * }
22 22
  */
23
-export const SIP_GW_INVITE_ROOMS = Symbol('SIP_GW_INVITE_ROOMS');
23
+export const SIP_GW_INVITE_ROOMS = 'SIP_GW_INVITE_ROOMS';

+ 2
- 2
react/features/welcome/actionTypes.js View File

@@ -9,7 +9,7 @@
9 9
  *     visible: boolean
10 10
  * }
11 11
  */
12
-export const SET_SIDEBAR_VISIBLE = Symbol('SET_SIDEBAR_VISIBLE');
12
+export const SET_SIDEBAR_VISIBLE = 'SET_SIDEBAR_VISIBLE';
13 13
 
14 14
 /**
15 15
  * The type of (redux) action to set the default page index of
@@ -21,4 +21,4 @@ export const SET_SIDEBAR_VISIBLE = Symbol('SET_SIDEBAR_VISIBLE');
21 21
  * }
22 22
  */
23 23
 export const SET_WELCOME_PAGE_LISTS_DEFAULT_PAGE
24
-    = Symbol('SET_WELCOME_PAGE_LIST_DEFAULT_PAGE');
24
+    = 'SET_WELCOME_PAGE_LIST_DEFAULT_PAGE';

Loading…
Cancel
Save