-
Notifications
You must be signed in to change notification settings - Fork 0
Modmail Feature MVP #1
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
Open
IzzyDotExe
wants to merge
42
commits into
main
Choose a base branch
from
dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
a7ea21f
dev changes
iaristide eb8f9a3
add dotenv deps
iaristide 83f1542
move schema files
iaristide 7060993
add cache dependency
iaristide 57df76f
add blacklist and guild config hooks
iaristide 84e177d
add blacklist and guild config schemas
iaristide c729ea1
add modmail schema
iaristide 5229337
add config commands
iaristide 616b900
add modmail progress
iaristide bb36552
add blacklist to setConfig guard
iaristide cf45bac
more modmail functionality
iaristide e44c720
move files
iaristide f97e861
add text keys
iaristide 5e6449e
add tests for hooks
iaristide d0cff03
jest config setup
iaristide 4e770a7
add vars to text action
iaristide dc7de53
fix bug in guildconfig
iaristide 987725d
refac text keys and fix not found text keys
iaristide 4f15cf9
resolve json
iaristide 13f5f43
add version string to arc
iaristide bc74079
fix error
iaristide 2901b46
add tests for placeholder and not found tex tkeys
iaristide 6e7f27b
add text keys
iaristide 87228e8
add timestamps to mail
iaristide 3bd784e
add more utils
iaristide 6ae2604
refac
iaristide 288e422
refac
iaristide 6249396
add autocomplete to setconfig
iaristide 31f98da
enhancements
iaristide 41f5334
more discord utils
iaristide 5dc1af8
fix blacklist
iaristide 8274aa4
add text keys
iaristide 57d8742
modmail save
iaristide 018ed3b
fix modmail ui
iaristide f4febcd
fix time
iaristide 569b5b2
add CreateTranscript
iaristide 81d7e8d
fix createtranscript
iaristide 06110cf
add edit emoji
iaristide 9d033c6
rm transcript utils and add transcript v2
iaristide 71c09be
add message editing
iaristide 75c1ce7
finish modmail basics feature
iaristide bcb5d2b
fix modmail service errors
iaristide File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| export default { | ||
| preset: 'ts-jest/presets/default-esm', | ||
| extensionsToTreatAsEsm: ['.ts'], | ||
| testEnvironment: 'node', | ||
| moduleNameMapper: { | ||
| '^(\\.{1,2}/.*)\\.js$': '$1', | ||
| }, | ||
| transform: { | ||
| '^.+\\.tsx?$': ['ts-jest', { | ||
| useESM: true, | ||
| }], | ||
| }, | ||
| testMatch: [ | ||
| '**/__tests__/**/*.test.ts', | ||
| '**/?(*.)+(spec|test).ts', | ||
| ], | ||
| moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], | ||
| collectCoverageFrom: [ | ||
| 'src/**/*.{ts,tsx}', | ||
| '!src/**/*.d.ts', | ||
| '!src/**/__tests__/**', | ||
| ], | ||
| setupFilesAfterEnv: ['<rootDir>/jest.setup.js'], | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| // Jest setup file | ||
| // This file is loaded before tests run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Align ts-jest with Jest 30 (prevents test runs).
You’re on Jest 30; ts-jest 29 targets Jest 29.
🏁 Script executed:
Length of output: 30
🌐 Web query:
💡 Result:
Short answer: ts-jest has not released a stable v30 — the maintained ts-jest releases are in the 29.x line and are intended to match Jest 29. So Jest 30 compatibility requires waiting for a ts-jest v30 (or a 29→30 compatibility release) or using a workaround (keep Jest at 29.x, or force-install with risks). [1][2]
Sources:
References:
[1] ts-jest package/releases (latest: 29.x).
[2] Jest — Upgrading from v29 to v30.
🌐 Web query:
💡 Result:
There is no ts-jest 30.0.0 release. The ts-jest releases are currently in the 29.x series (latest tags show v29.4.5; npm/Snyk metadata also list 29.4.x as the newest). [1][2]
Sources:
Jest 30 is incompatible with ts-jest 29 — requires immediate resolution.
The current configuration pairs Jest 30 (
^30.1.3) with ts-jest 29 (^29.4.2). ts-jest latest releases are in the 29.x line and are intended to match Jest 29, and Jest 30 compatibility requires waiting for a ts-jest v30. No stable ts-jest 30.0.0 release currently exists; the latest ts-jest release is 29.4.5.Choose one:
🤖 Prompt for AI Agents