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

Chat threads #531

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open

Chat threads #531

wants to merge 43 commits into from

Conversation

timbl
Copy link
Contributor

@timbl timbl commented Mar 14, 2023

These changes add threads functionality, allowing "reply in thread", the display of thread at the right hand side, and display and add social actions (reactions) to messages.

This should be compatible with threads imported by https://github.com/solid-contrib/gitter-solid the bridge from matrix. it includes emoji-based reactions. (You can't create those on the solid side yet)

src/chat/chatLogic.js Outdated Show resolved Hide resolved
src/chat/infinite.js Outdated Show resolved Hide resolved
src/chat/messageTools.js Outdated Show resolved Hide resolved
src/chat/messageTools.js Outdated Show resolved Hide resolved
src/chat/thread.js Outdated Show resolved Hide resolved
src/chat/bookmarks.js Outdated Show resolved Hide resolved
src/chat/bookmarks.js Outdated Show resolved Hide resolved
@@ -41,6 +41,10 @@ export function recordSharedPreferences (subject, context) {
return new Promise(function (resolve, reject) {
const sharedPreferences = kb.any(subject, ns.ui('sharedPreferences'))
if (!sharedPreferences) {
if (!kb.updater.editable(subject.doc())) {
console.log(` Cant make shared preferences, may not change ${subject.doc}`)
Copy link
Contributor

@TallTed TallTed Apr 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
console.log(` Cant make shared preferences, may not change ${subject.doc}`)
console.log(` Cannot make shared preferences; may not change ${subject.doc}`)

src/chat/bookmarks.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants