chat-pane 2.4.23-4ebe2e54 → 2.4.23-53849fb9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shortChatPane.js +6 -0
- package/dist/shortChatPane.js.map +1 -1
- package/lib/longChatPane.test.js.map +1 -1
- package/lib/shortChatPane.js +3 -0
- package/lib/shortChatPane.js.map +1 -1
- package/package.json +1 -1
- package/src/longChatPane.test.ts +1 -1
- package/src/shortChatPane.js +6 -0
- package/lib/integration-tests/helpers/setup.js +0 -3
- package/lib/integration-tests/helpers/setup.js.map +0 -1
- package/src/integration-tests/helpers/setup.ts +0 -1
package/dist/shortChatPane.js
CHANGED
|
@@ -79279,6 +79279,12 @@ const shortChatPane = {
|
|
|
79279
79279
|
mintClass: ns.meeting('Chat'),
|
|
79280
79280
|
|
|
79281
79281
|
mintNew: function (context, newPaneOptions) {
|
|
79282
|
+
// This deprecates the creation of short Chats after 2023-04-03.
|
|
79283
|
+
// The mintNew function will be removed/commented out in a few months.
|
|
79284
|
+
if (!confirm('short Chat is deprecated in favor of long Chat.'
|
|
79285
|
+
+ '\nEmbedded chat for comments and existing short Chats will work.'
|
|
79286
|
+
+ '\nYou can report any issues at https://github.com/SolidOS/chat-pane ?'
|
|
79287
|
+
+ '\n\nDo you really want to create a new deprecated short Chat?')) return
|
|
79282
79288
|
const kb = context.session.store
|
|
79283
79289
|
var updater = kb.updater
|
|
79284
79290
|
if (newPaneOptions.me && !newPaneOptions.me.uri) {
|