Skip to content

Releases: fuma-nama/shark-chat-js

Shark Chat Beta 4.1

24 Apr 11:59
Compare
Choose a tag to compare

image

UI/UX Improvements

  • Auto-focus text area
  • Improved color contrast and font sizes
  • Added more animations
  • Changed channel banner

New Features

  • Delete accounts
  • Auto-logout if account is deleted

Migrated to PosgreSQL

20 Apr 16:53
Compare
Choose a tag to compare

We have migrated to PostgreSQL, will make some changes soon

Shark Chat Beta 3

14 Jun 11:28
Compare
Choose a tag to compare

Many breaking changes were being made to the database in order to improve its maintainability.

Message Embeds

When someone posted a link, no one knows what's the link about.
With embeds, people can see some information on the linked website without clicking on the link.

Shark Chat Beta - Google Chrome 6_14_2023 7_04_49 PM

UI & UX Improvements

We've made some small changes to the UI, components such as Avatar, Modal and Tabs have a better look.

Better Sidebar

The old sidebar is "weird" and overcrowded, we redesigned a better one, with more features.

Last Message

Now, Chat group items on the sidebar also display the last message, you can see the latest message of a chat group without clicking inside.
Shark Chat Beta - Google Chrome 6_14_2023 7_11_29 PM

User Profile Modal

Previously, if you click on a username, you'll be redirected to Direct Message. After the update, a modal will be opened instead:
Shark Chat Beta - Google Chrome 6_14_2023 7_15_54 PMd

Inspired by Shadcn UI

I tried Shadcn UI, and their implementation inspired me a lot.
For example, bg-light-100 dark:bg-dark-900 can be simplified into bg-background.

This design can make the css even simpler and break nothing when moving fast.

Migrated to Monorepo

As the codebase is growing way faster, we've just migrated this repository to a monorepo (using Turbo).

Channel API (Internal)

Actually, the API for direct messages and chat groups is entirely different. We usually have to implement the same feature twice in order to support both DM and group chat.

Those duplicated parts are now combined into the Channel API, which effectively reduces the difficulty to maintain the codebase.

Summary

Full Changelog: beta-0.2...beta-0.3

Shark Chat Beta 2

18 Apr 13:18
Compare
Choose a tag to compare

Several changes are made to support more features and improve the performance

Message Attachments

You can upload and attach images/files to your message (limit is 10MB)

Redis

Redis is now used for storing simple data such as unread messages amount
in order to enhance the performance and load speed

Ratelimit

The Rate limit is implemented using the Upstash Ratelimit package
The current limit is 50 requests per 10s

Drizzle ORM

Migrated from Prisma to Drizzle ORM, improved query speed

Other Changes

  • UI/UX Improvement
  • Reduce unnecessary re-renders
  • Improve internal utilities such as Ably Schema

First Beta

05 Apr 14:11
Compare
Choose a tag to compare
beta-0.1

Update preview image