Loading .nvmrc +1 −1 Original line number Diff line number Diff line v24.13.0 v24.4.1 package.json +2 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,8 @@ "packages/admin", "packages/client", "packages/server", "packages/lib" "packages/lib", "packages/chat" ], "main": "src/index.ts", "scripts": { Loading packages/chat/.gitignore 0 → 100644 +24 −0 Original line number Diff line number Diff line # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* node_modules dist dist-ssr *.local # Editor directories and files .vscode/* !.vscode/extensions.json .idea .DS_Store *.suo *.ntvs* *.njsproj *.sln *.sw? packages/chat/README.md 0 → 100644 +21 −0 Original line number Diff line number Diff line # Yapper Chat module for Canvas ## Goals - [ ] Authentication with aftermath.gg using fediauth - [ ] Display of rooms user is apart of (sorted by recent activity) - [ ] Mapping of matrix handle -> fediverse handle - [ ] Sending messages - [ ] Action buttons to open object in external client (matrix.to link) - [ ] Message content fallback for unknown events - [ ] Report messages - [ ] Block user from messaging ## Future plans - [ ] Historic message pagination - [ ] Message reactions - [ ] Attachments? - [ ] Rich text packages/chat/eslint.config.js 0 → 100644 +38 −0 Original line number Diff line number Diff line import js from "@eslint/js"; import globals from "globals"; import reactHooks from "eslint-plugin-react-hooks"; import reactRefresh from "eslint-plugin-react-refresh"; import tseslint from "typescript-eslint"; import { defineConfig, globalIgnores } from "eslint/config"; export default defineConfig([ globalIgnores(["dist"]), { files: ["**/*.{ts,tsx}"], extends: [ js.configs.recommended, tseslint.configs.recommended, reactHooks.configs["recommended-latest"], reactRefresh.configs.vite, { rules: { "@typescript-eslint/no-unused-vars": [ "error", { argsIgnorePattern: "^_", caughtErrors: "all", caughtErrorsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_", varsIgnorePattern: "^_", ignoreRestSiblings: true, }, ], }, }, ], languageOptions: { ecmaVersion: 2020, globals: globals.browser, }, }, ]); Loading
package.json +2 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,8 @@ "packages/admin", "packages/client", "packages/server", "packages/lib" "packages/lib", "packages/chat" ], "main": "src/index.ts", "scripts": { Loading
packages/chat/.gitignore 0 → 100644 +24 −0 Original line number Diff line number Diff line # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* node_modules dist dist-ssr *.local # Editor directories and files .vscode/* !.vscode/extensions.json .idea .DS_Store *.suo *.ntvs* *.njsproj *.sln *.sw?
packages/chat/README.md 0 → 100644 +21 −0 Original line number Diff line number Diff line # Yapper Chat module for Canvas ## Goals - [ ] Authentication with aftermath.gg using fediauth - [ ] Display of rooms user is apart of (sorted by recent activity) - [ ] Mapping of matrix handle -> fediverse handle - [ ] Sending messages - [ ] Action buttons to open object in external client (matrix.to link) - [ ] Message content fallback for unknown events - [ ] Report messages - [ ] Block user from messaging ## Future plans - [ ] Historic message pagination - [ ] Message reactions - [ ] Attachments? - [ ] Rich text
packages/chat/eslint.config.js 0 → 100644 +38 −0 Original line number Diff line number Diff line import js from "@eslint/js"; import globals from "globals"; import reactHooks from "eslint-plugin-react-hooks"; import reactRefresh from "eslint-plugin-react-refresh"; import tseslint from "typescript-eslint"; import { defineConfig, globalIgnores } from "eslint/config"; export default defineConfig([ globalIgnores(["dist"]), { files: ["**/*.{ts,tsx}"], extends: [ js.configs.recommended, tseslint.configs.recommended, reactHooks.configs["recommended-latest"], reactRefresh.configs.vite, { rules: { "@typescript-eslint/no-unused-vars": [ "error", { argsIgnorePattern: "^_", caughtErrors: "all", caughtErrorsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_", varsIgnorePattern: "^_", ignoreRestSiblings: true, }, ], }, }, ], languageOptions: { ecmaVersion: 2020, globals: globals.browser, }, }, ]);