Enabling workflows for managed events (#8446)
* Enabling workflows for managed events * Disabling fields for workflow when readonly * Disabling event type workflows if readonly * Installing auth app * Reverting yarn.lock * Again reverting yarn * Showing user workflows in managed event type * Reusing existing code to show all workflows * Further extending workflow support * Added unit test * Fixing workflow assignment * Fixing locked workflows for children MET * Update packages/features/ee/workflows/components/EventWorkflowsTab.tsx Co-authored-by: Carina Wollendorfer <[email protected]> * Personal workflows fix, matching count numbers * Fixing menu items for managed event types * Fixing type checks * Fixing empty activeOn select * Fixing unit test * handling active workflows for MET * Fixing MET slug nit * Embed option in action restored for non-MET * Correcting mobile view when hidden * More adjustments * fix sms reminder field for children * remove console.log --------- Co-authored-by: Carina Wollendorfer <[email protected]> Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
29 files changed
+559
-269
No files matched your search
@@ -390,7 +390,12 @@ export const EventSetupTab = (
|
||||
addOnLeading={
|
||||
<>
|
||||
{CAL_URL?.replace(/^(https?:|)\/\//, "")}/
|
||||
{team ? "team/" + team.slug : eventType.users[0].username}/
|
||||
{!isManagedEventType
|
||||
? team
|
||||
? "team/" + team.slug
|
||||
: eventType.users[0].username
|
||||
: t("username_placeholder")}
|
||||
/
|
||||
</>
|
||||
}
|
||||
{...formMethods.register("slug", {
|
||||
|
||||
@@ -170,7 +170,7 @@ function EventTypeSingleLayout({
|
||||
|
||||
// Define tab navigation here
|
||||
const EventTypeTabs = useMemo(() => {
|
||||
let navigation = getNavigation({
|
||||
const navigation = getNavigation({
|
||||
t,
|
||||
eventType,
|
||||
enabledAppsNumber,
|
||||
@@ -210,7 +210,7 @@ function EventTypeSingleLayout({
|
||||
}
|
||||
if (isManagedEventType || isChildrenManagedEventType) {
|
||||
// Removing apps and workflows for manageg event types by admins v1
|
||||
navigation = navigation.slice(0, -2);
|
||||
navigation.splice(-2, 1);
|
||||
} else {
|
||||
navigation.push({
|
||||
name: "webhooks",
|
||||
|
||||
Reference in new issue
Block a user