Skip to content

Commit

Permalink
Merge pull request #1006 from The-Commit-Company/develop
Browse files Browse the repository at this point in the history
Release v1.6.6
  • Loading branch information
nikkothari22 authored Aug 9, 2024
2 parents 8eb9d6e + 7678c34 commit 83ea15d
Show file tree
Hide file tree
Showing 7 changed files with 765 additions and 212 deletions.
36 changes: 20 additions & 16 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "raven-ui",
"private": true,
"license": "AGPL-3.0-only",
"version": "1.6.5",
"version": "1.6.6",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -11,19 +11,23 @@
"copy-html-entry": "cp ../raven/public/raven/index.html ../raven/www/raven.html"
},
"dependencies": {
"@radix-ui/themes": "^3.1.1",
"@tiptap/extension-code-block-lowlight": "^2.4.0",
"@tiptap/extension-highlight": "^2.4.0",
"@tiptap/extension-image": "^2.4.0",
"@tiptap/extension-link": "^2.4.0",
"@tiptap/extension-mention": "^2.4.0",
"@tiptap/extension-placeholder": "^2.4.0",
"@tiptap/extension-typography": "^2.4.0",
"@tiptap/extension-underline": "^2.4.0",
"@tiptap/pm": "^2.4.0",
"@tiptap/react": "^2.4.0",
"@tiptap/starter-kit": "^2.4.0",
"@tiptap/suggestion": "^2.4.0",
"@radix-ui/themes": "^3.1.3",
"@tiptap/extension-code-block-lowlight": "^2.5.9",
"@tiptap/extension-highlight": "^2.5.9",
"@tiptap/extension-image": "^2.5.9",
"@tiptap/extension-link": "^2.5.9",
"@tiptap/extension-mention": "^2.5.9",
"@tiptap/extension-placeholder": "^2.5.9",
"@tiptap/extension-table": "^2.5.9",
"@tiptap/extension-table-cell": "^2.5.9",
"@tiptap/extension-table-header": "^2.5.9",
"@tiptap/extension-table-row": "^2.5.9",
"@tiptap/extension-typography": "^2.5.9",
"@tiptap/extension-underline": "^2.5.9",
"@tiptap/pm": "^2.5.9",
"@tiptap/react": "^2.5.9",
"@tiptap/starter-kit": "^2.5.9",
"@tiptap/suggestion": "^2.5.9",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.17",
"cal-sans": "^1.0.1",
Expand All @@ -32,12 +36,12 @@
"cva": "npm:class-variance-authority",
"dayjs": "^1.11.11",
"downshift": "^8.3.1",
"emoji-picker-element": "^1.21.0",
"emoji-picker-element": "^1.22.2",
"firebase": "^10.9.0",
"frappe-react-sdk": "^1.7.1",
"highlight.js": "^11.9.0",
"html-react-parser": "^5.1.8",
"jotai": "^2.8.3",
"jotai": "^2.9.2",
"js-cookie": "^3.0.5",
"lowlight": "^3.1.0",
"react": "^18.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ import Italic from '@tiptap/extension-italic';
import './tiptap-renderer.styles.css'
import Mention from '@tiptap/extension-mention'
import { PluginKey } from '@tiptap/pm/state'
import Table from '@tiptap/extension-table'
import TableCell from '@tiptap/extension-table-cell'
import TableHeader from '@tiptap/extension-table-header'
import TableRow from '@tiptap/extension-table-row'

const lowlight = createLowlight(common)

lowlight.register('html', html)
Expand Down Expand Up @@ -95,6 +100,26 @@ export const TiptapRenderer = ({ message, user, isScrolling = false, isTruncated
CustomBold,
CustomLink,
Italic,
Table.configure({
HTMLAttributes: {
class: 'rt-TableRootTable border-l border-r border-t border-gray-4 dark:border-gray-7 my-2'
}
}),
TableRow.configure({
HTMLAttributes: {
class: 'rt-TableRow'
}
}),
TableHeader.configure({
HTMLAttributes: {
class: 'rt-TableHeader px-2 py-1 bg-accent-2 dark:bg-gray-3 border-r border-b border-gray-4 dark:border-gray-7'
}
}),
TableCell.configure({
HTMLAttributes: {
class: 'rt-TableCell py-1 px-2 border-r border-gray-4 dark:border-gray-7'
}
}),
Image.configure({
HTMLAttributes: {
class: 'w-full max-w-48 sm:max-w-96 mt-1 h-auto'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "raven",
"version": "1.6.5",
"version": "1.6.6",
"description": "Messaging Application",
"workspaces": [
"frontend"
Expand Down
2 changes: 1 addition & 1 deletion raven/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.6.5"
__version__ = "1.6.6"
2 changes: 1 addition & 1 deletion raven/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raven-app",
"version": "1.6.5",
"version": "1.6.6",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
Loading

0 comments on commit 83ea15d

Please sign in to comment.