Add event status trigger, improve test coverage, and UI enhancements

- Add event-status-changed trigger for SmoothSchedule Activepieces piece
- Add comprehensive test coverage for payments, tickets, messaging, mobile
- Add test coverage for core services, signals, consumers, and views
- Improve Activepieces UI: templates, billing hooks, project hooks
- Update marketing automation showcase and workflow visual components
- Add public API endpoints for availability

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-20 00:19:12 -05:00
parent f3e1b8f8bf
commit 2417bb8313
51 changed files with 13823 additions and 340 deletions

View File

@@ -12,20 +12,26 @@ export const projectMembersHooks = {
const query = useQuery<ProjectMemberWithUser[]>({
queryKey: ['project-members', authenticationSession.getProjectId()],
queryFn: async () => {
const projectId = authenticationSession.getProjectId();
assertNotNullOrUndefined(projectId, 'Project ID is null');
const res = await projectMembersApi.list({
projectId: projectId,
projectRoleId: undefined,
cursor: undefined,
limit: 100,
});
return res.data;
try {
const projectId = authenticationSession.getProjectId();
assertNotNullOrUndefined(projectId, 'Project ID is null');
const res = await projectMembersApi.list({
projectId: projectId,
projectRoleId: undefined,
cursor: undefined,
limit: 100,
});
return res.data;
} catch {
// Return empty array if endpoint doesn't exist (community edition)
return [];
}
},
staleTime: Infinity,
retry: false, // Don't retry on failure
});
return {
projectMembers: query.data,
projectMembers: query.data ?? [],
isLoading: query.isLoading,
refetch: query.refetch,
};