disable welcome page #48

Closed
opened 2026-02-16 10:15:55 -05:00 by yindo · 3 comments
Owner

Originally created by @yjc980121 on GitHub (Oct 24, 2024).

In the Dify webapp conversational application, how can I disable the welcome page and directly enter into the conversation? As a newcomer to Next.js, I'm not sure where to start and would appreciate guidance on how to proceed.

Originally created by @yjc980121 on GitHub (Oct 24, 2024). In the Dify webapp conversational application, how can I disable the welcome page and directly enter into the conversation? As a newcomer to Next.js, I'm not sure where to start and would appreciate guidance on how to proceed.
yindo closed this issue 2026-02-16 10:15:55 -05:00
Author
Owner

@guillaumemeyer commented on GitHub (Nov 13, 2024):

Same request. As we're embedding the conversation in another app, we're passing the inputs dynamically to the conversation and don't want to show them to the end-user.

@guillaumemeyer commented on GitHub (Nov 13, 2024): Same request. As we're embedding the conversation in another app, we're passing the inputs dynamically to the conversation and don't want to show them to the end-user.
Author
Owner

@marsDes commented on GitHub (Feb 27, 2025):

it is the fast way to skip welcome

    if (id === '-1') {
      createNewChat()
      if (!config?.WELCOME) //   this line
        handleStartChat({})
      setConversationIdChangeBecauseOfNew(true)
    }
    else {
      setConversationIdChangeBecauseOfNew(false)
    }
    // trigger handleConversationSwitch
    setCurrConversationId(id, APP_ID)
    hideSidebar()
  }
@marsDes commented on GitHub (Feb 27, 2025): it is the fast way to skip welcome ``` const handleConversationIdChange = (id: string) => { if (id === '-1') { createNewChat() if (!config?.WELCOME) // this line handleStartChat({}) setConversationIdChangeBecauseOfNew(true) } else { setConversationIdChangeBecauseOfNew(false) } // trigger handleConversationSwitch setCurrConversationId(id, APP_ID) hideSidebar() } ```
Author
Owner

@liuq361036938 commented on GitHub (Mar 10, 2025):

it is the fast way to skip welcome

    if (id === '-1') {
      createNewChat()
      if (!config?.WELCOME) //   this line
        handleStartChat({})
      setConversationIdChangeBecauseOfNew(true)
    }
    else {
      setConversationIdChangeBecauseOfNew(false)
    }
    // trigger handleConversationSwitch
    setCurrConversationId(id, APP_ID)
    hideSidebar()
  }

i try it ,bug it dosent work

@liuq361036938 commented on GitHub (Mar 10, 2025): > it is the fast way to skip welcome > > ``` > if (id === '-1') { > createNewChat() > if (!config?.WELCOME) // this line > handleStartChat({}) > setConversationIdChangeBecauseOfNew(true) > } > else { > setConversationIdChangeBecauseOfNew(false) > } > // trigger handleConversationSwitch > setCurrConversationId(id, APP_ID) > hideSidebar() > } > ``` i try it ,bug it dosent work
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/webapp-conversation#48