-
Notifications
You must be signed in to change notification settings - Fork 6
Self-hosted tipping #671
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
base: develop
Are you sure you want to change the base?
Self-hosted tipping #671
Changes from all commits
807ade6
4cb12d3
f5c64d0
67d19d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -68,6 +68,12 @@ export interface InstanceConfig { | |||||||||||||||||||||||
| post: { | ||||||||||||||||||||||||
| text2Speech: { enabled: boolean }; | ||||||||||||||||||||||||
| }; | ||||||||||||||||||||||||
| tipping?: { | ||||||||||||||||||||||||
| enabled?: boolean; | ||||||||||||||||||||||||
| general?: { enabled: boolean; buttonLabel?: string }; | ||||||||||||||||||||||||
| post?: { enabled: boolean; buttonLabel?: string }; | ||||||||||||||||||||||||
| amounts?: number[]; | ||||||||||||||||||||||||
| }; | ||||||||||||||||||||||||
|
Comment on lines
+71
to
+76
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Top-level The 🔧 Suggested cleanup tipping?: {
- enabled?: boolean;
general?: { enabled: boolean; buttonLabel?: string };
post?: { enabled: boolean; buttonLabel?: string };
amounts?: number[];
};📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||
| auth: { | ||||||||||||||||||||||||
| enabled: boolean; | ||||||||||||||||||||||||
| methods: string[]; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
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
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 130
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 527
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 1236
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 2028
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 978
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 116
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 92
🏁 Script executed:
Repository: ecency/vision-next
Length of output: 226
Align dependency versions between self-hosted and web app packages.
The
@floating-ui/domdependency is not redundant—it's directly imported inapps/self-hosted/src/features/tipping/components/tip-button.tsx(e.g.,import { autoUpdate, offset } from "@floating-ui/dom"), and multiple files in the web app also import directly from it.However, the self-hosted package has version mismatches with the web app:
@floating-ui/dom: self-hosted uses^1.7.4while web app uses^1.6.13@floating-ui/react-dom: self-hosted uses^2.1.6while web app uses^2.1.2qrcode: self-hosted uses^1.5.4while web app uses^1.5.3@rsbuild/plugin-node-polyfill: added to self-hosted devDeps but not present in web appUpdate the web app's
package.jsonto match self-hosted versions, or justify version differences if intentional.🤖 Prompt for AI Agents