Skip to content

Fixed Minor Issues

Choose a tag to compare

@atozdebug atozdebug released this 25 Jun 12:56
· 15 commits to main since this release

Introduces several updates across multiple files to enhance functionality, improve styling, and streamline the codebase for the chatbot widget. Key changes include updates to dependencies, refactoring of components, and adjustments to styling and configuration.

Dependency and Configuration Updates:

  • package.json: Updated the version to 1.1.5, added new dependencies such as ldrs, lucide-react, and vite-plugin-dts, and included new dev dependencies like @rollup/plugin-commonjs and terser. These additions enhance the build process and extend functionality. [1] [2] [3]

Component Enhancements:

  • src/App.tsx: Refactored the ChatbotWidget component to include new hooks for handling edit modes and lead visibility, added Microsoft Clarity integration for analytics, and improved the structure for better maintainability. [1] [2]
  • src/components/ChatBotButton.tsx: Enhanced the ChatBotButton component to handle additional props for label visibility, added animations, and improved responsiveness.
  • src/components/Chatbody/ChatBody.tsx: Adjusted the ChatBody component for better styling consistency, added brand-based dynamic colors, and removed unused survey-related code. [1] [2]

Styling Updates:

  • src/App.css: Removed outdated styles and animations, added a new font import, and introduced hover animations for the widget.
  • index.html: Updated the viewport meta tag to include interactive-widget=resizes-content for better responsiveness.

Environment and Development Setup:

  • .env.dev: Removed hardcoded API URLs to simplify environment configuration.
  • .vscode/settings.json: Added code actions on save for organizing imports, fixing issues, and formatting, streamlining the development workflow.

Export Adjustments:

  • index.ts: Added an export for the Chatbot component to facilitate external usage.