chore: Remove linear integration feature flag (#12716)

This PR removes the linear integration feature flag since the
integration is pretty much stable and we do display the Linear CTA for
users who aren't connected.
Fixes
https://linear.app/chatwoot/issue/CW-5819/remove-linear-feature-flag-from-front-end
This commit is contained in:
Muhsin Keloth
2025-10-27 15:29:57 +05:30
committed by GitHub
parent 1f0b56b96e
commit c4ba925ae7

View File

@@ -21,7 +21,6 @@ import ShopifyOrdersList from 'dashboard/components/widgets/conversation/Shopify
import SidebarActionsHeader from 'dashboard/components-next/SidebarActionsHeader.vue'; import SidebarActionsHeader from 'dashboard/components-next/SidebarActionsHeader.vue';
import LinearIssuesList from 'dashboard/components/widgets/conversation/linear/IssuesList.vue'; import LinearIssuesList from 'dashboard/components/widgets/conversation/linear/IssuesList.vue';
import LinearSetupCTA from 'dashboard/components/widgets/conversation/linear/LinearSetupCTA.vue'; import LinearSetupCTA from 'dashboard/components/widgets/conversation/linear/LinearSetupCTA.vue';
import { FEATURE_FLAGS } from 'dashboard/featureFlags';
const props = defineProps({ const props = defineProps({
conversationId: { conversationId: {
@@ -44,12 +43,6 @@ const {
const dragging = ref(false); const dragging = ref(false);
const conversationSidebarItems = ref([]); const conversationSidebarItems = ref([]);
const currentAccountId = useMapGetter('getCurrentAccountId');
const isFeatureEnabledonAccount = useMapGetter(
'accounts/isFeatureEnabledonAccount'
);
const shopifyIntegration = useFunctionGetter( const shopifyIntegration = useFunctionGetter(
'integrations/getIntegration', 'integrations/getIntegration',
'shopify' 'shopify'
@@ -68,11 +61,6 @@ const isLinearIntegrationEnabled = computed(
() => linearIntegration.value?.enabled || false () => linearIntegration.value?.enabled || false
); );
const isLinearFeatureEnabled = isFeatureEnabledonAccount.value(
currentAccountId.value,
FEATURE_FLAGS.LINEAR
);
const store = useStore(); const store = useStore();
const currentChat = useMapGetter('getSelectedChat'); const currentChat = useMapGetter('getSelectedChat');
const conversationId = computed(() => props.conversationId); const conversationId = computed(() => props.conversationId);
@@ -137,7 +125,7 @@ onMounted(() => {
@close="closeContactPanel" @close="closeContactPanel"
/> />
<ContactInfo :contact="contact" :channel-type="channelType" /> <ContactInfo :contact="contact" :channel-type="channelType" />
<div class="pb-8 list-group px-2"> <div class="px-2 pb-8 list-group">
<Draggable <Draggable
:list="conversationSidebarItems" :list="conversationSidebarItems"
animation="200" animation="200"
@@ -250,11 +238,7 @@ onMounted(() => {
<MacrosList :conversation-id="conversationId" /> <MacrosList :conversation-id="conversationId" />
</AccordionItem> </AccordionItem>
</woot-feature-toggle> </woot-feature-toggle>
<div <div v-else-if="element.name === 'linear_issues'">
v-else-if="
element.name === 'linear_issues' && isLinearFeatureEnabled
"
>
<AccordionItem <AccordionItem
:title="$t('CONVERSATION_SIDEBAR.ACCORDION.LINEAR_ISSUES')" :title="$t('CONVERSATION_SIDEBAR.ACCORDION.LINEAR_ISSUES')"
:is-open="isContactSidebarItemOpen('is_linear_issues_open')" :is-open="isContactSidebarItemOpen('is_linear_issues_open')"