dappros / ethora-chat-component

NPM package "Ethora Chat Component". Quickly deploy a chat interface powered by Ethora super-app engine. Available via npm registry: https://www.npmjs.com/package/@ethora/chat-component
https://www.ethora.com
GNU Affero General Public License v3.0
2 stars 0 forks source link

To review URL sharing, previews and server rendering #17

Open phwizard opened 1 week ago

phwizard commented 1 week ago

Sharing with previews

Let's ignore the existing 'short link' and 'preview' sharing service functionality from the old version. This functionality allows to display chat preview in outside applications (e.g. when sharing Ethora based app chat link via WhatsApp or Slack - via eto.li users will see a link preview including a chat name).

CleanShot 2024-11-06 at 11 38 27@2x

In chat sharing modal in the new beta version we will use the same URL as in the browser for now.

In future phase, we should:

  1. Add server rendering (Next.js ?) so that the usual chat URL copied from the browser also supports link previews.
  2. Add a better URL shortener functionality for the QR/sharing modal window so that a short link can be generated for each chat which will ultimately render into the normal link.
  3. Review requirements for Chat and User profile access and layout for guest users (i.e. cases where User or Chat access is set to public in which case we can allow 3rd party apps, search engines and unauthorised users to preview some of the content).