Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove NGrok. Configure Tunnel URL #2461

Merged
merged 9 commits into from
Sep 16, 2024
Merged

Remove NGrok. Configure Tunnel URL #2461

merged 9 commits into from
Sep 16, 2024

Conversation

rido-min
Copy link
Member

Removes NGrok dependencies.

To test remote bots, the user has to configure a tunnel - any tunnel software will work - pointing to the emulator service. The tunnel needs to be configured to target to the actual port used by the emulator service.

The port is shown in the settings page and is also available to copy to the clipboard via File Menu.

I've tested with Ngrok, and Microsoft.devTunnel

Version bumped to 4.15.1 availabe to download for testing from ADO: BotFramework-Emulator-4.15.1-windows-setup.exe

rido-min and others added 3 commits September 11, 2024 15:50
* update fileMenu

* add tunnelUrl

* get serviceUrl from settings

* showPort

* rm ngrok settings

* showPort

* rm ngrokdebugger

* rm ngroddebug from editor

* rm ngrokService

* rm nGrokTab

* rm ngrok sagas, actions, styles

* rm ngrok settings

* upd version, and deps
tsconfig.json Outdated Show resolved Hide resolved
@OEvgeny
Copy link
Collaborator

OEvgeny commented Sep 13, 2024

Looks good. I think the only piece which is missing right now is UI changes for ngrok tab. See packages/app/client/src/ui/shell/mdi/tab/ngrokTab.tsx.

As we are probably not able to track status of the tunnel, we may remove the tab.

@rido-min
Copy link
Member Author

As we are probably not able to track status of the tunnel, we may remove the tab.

yep, removed in last commit

Copy link
Contributor

@ceciliaavila ceciliaavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see several references to ngrok in the specs. Also, a few dedicated ngrok tests. Should we keep these?
e.g.:
logEntry.spec.tsx
util.spec.ts

@rido-min
Copy link
Member Author

I can see several references to ngrok in the specs. Also, a few dedicated ngrok tests. Should we keep these? e.g.: logEntry.spec.tsx util.spec.ts

I was not looking at test runs, I can remove all references to ngrok in tests as well.

@rido-min
Copy link
Member Author

@ceciliaavila spec.ts files updated to remove any reference to ngrok in 45635ca

@rido-min rido-min merged commit ffc00bd into main Sep 16, 2024
2 checks passed
@rido-min rido-min deleted the rido/custom-tunnel branch September 16, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants