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

Update Gemini dev server and serve 4.17 #5199

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Update Gemini dev server and serve 4.17 #5199

merged 2 commits into from
Jun 3, 2024

Conversation

compulim
Copy link
Contributor

@compulim compulim commented May 29, 2024

Changelog Entry

Changed

Description

(Gemini is the HTML page behind https://webchat.botframework.com/embed//gemini, which host Web Chat on Azure Bot Services.)

Fixed Gemini dev server to host the bits with latest dependencies.

Navigate to http://localhost:5002 to connect to MockBot.

Or http://localhost:5002/embed/<my-bot-id>/gemini?b=<my-bot-id>&t=<token> to connect to any bots.

Design

We are still keeping Webpack 5 instead of esbuild. Pug is not well-supported in esbuild and writing the plug-in ourselves seems overkill for now.

Specific Changes

  • Updated servicingPlan.json to serve 4.17 for both current and nextminor FCB
  • Bumped http-proxy-middleware
  • Moved from restify to express
  • Removed node-fetch
  • Renamed dist/index.html to dist/gemini.html for easier deploying to Azure Bot Services
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@compulim compulim changed the title Update dev server and use 4.17 Update Gemini dev server and serve 4.17 May 29, 2024
@compulim compulim marked this pull request as ready for review May 29, 2024 22:26
OEvgeny
OEvgeny previously approved these changes May 29, 2024
@compulim compulim merged commit 157a8cb into main Jun 3, 2024
25 checks passed
@compulim compulim deleted the feat-gemini-4.17 branch June 3, 2024 19:21
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.

2 participants