Disable Feedback
Use feedback.enabled: false when the host application owns all operation feedback.
TS
export const usersSchema = {
resource: "users",
feedback: {
enabled: false
}
} as const;When feedback is disabled, VibeFlui does not render FluiKitFeedback.
What still happens
Disabling feedback does not disable:
- action execution
- endpoint execution
- handler execution
- status resolution used by the action flow
- lifecycle hooks
- events
- table loading state
- table empty state
- table load-error state
Custom toast pattern
Use events or handlers to connect a host toast system.
TS
import { createRegistry } from "@vibeflui/core";
export const registry = createRegistry({
events: {
"users.actionSucceeded": ({ value }) => {
console.log("Show host toast", value);
},
"users.actionFailed": ({ value }) => {
console.error("Show host error toast", value);
}
}
});TS
export const usersSchema = {
resource: "users",
feedback: {
enabled: false
},
events: {
actionSucceeded: "users.actionSucceeded",
actionFailed: "users.actionFailed"
},
registry: {
events: ["users.actionSucceeded", "users.actionFailed"]
}
} as const;Table states are separate
feedback.enabled: false does not hide table loading, empty, or load-error states. Configure those through table.states.