Skip to content

Custom chat widget styles for A-B Tech.

Notifications You must be signed in to change notification settings

BluesparkLabs/abtech-mibew-chat

Repository files navigation

A-B Tech Mibew Chat theme

These custom chat widget styles for Mibew matche the 2020 A-B Tech website redesign. The styles are loosly based on the default Mibew chat widget styles with the following changes and additions:

Chat widget screenshot render

Installation

  1. Assumes Mibew 3.2.6 has already been installed and configured.
  2. Download and unzip the latest zipfile from master branch on Github inside a new folder on the server: mibew/styles/chats/abtech/.
  3. In the web browser, visit the Chat theme preview page at: /mibew/operator/style/chat/preview and select "abtech" from the dropdown to confirm it is properly installed.
  4. Select the theme:
    • During transition/testing: leave the default theme enabled globally at /mibew/operator/settings and generate a specific button code at /mibew/operator/button-code with the abtech style selected in the "Chat window style" dropdown.
    • For website re-launch: set the abtech theme globally at /mibew/operator/settings in the "Select a style for your chat windows" option dropdown.
  5. Update the logo. Set "Company logo" to the value /mibew/styles/chats/abtech/images/default-logo.svg on the page /mibew/operator/settings to load the hi-res version of the A-B Tech logo included with this theme. Note this will affect both the default theme and the new abtech theme.
  6. Continue installation with the A-B Tech Mibew Invitations theme.

Changes from the default mibew chat widget styles

Gulpfile overhaul

For some unknown reason the mibew themes depend on the gulpfile.js provided by Mibew core source code. Unfortunately the versions are fairly outddated, so I opted to package a custom gulpfile.js with this project, allowing us to add more dependencies.

  • Upgraded gulpfile to version 4.
  • Ported the relevant gulpfile.js tasks from upstream Mibew version 3.2.6.
  • Note: the gulp-handlebars and npm handlebars engine are locked, at version 4.0.x to avoid rendering errors from Mibew version 3.2.6
  • Added SCSS and POSTCSS support to gulpfile.

Theme changes:

  • Removed old ie (6/7) support.
  • Overhaul several handlebars templates to match theming DOM and CSS needs.
  • Removed all GIF and PNG background images that supported the "shadowed" styles. This theme is more of a flat look and feel.
  • Removed "buttons.gif" icon sprite and replaced it with Bootstrap Icons. Icons are copied from the node_modules/bootstrap-icons folder into icons/ to make them accessible to the stylesheet without committing npm dependencies.
  • Replaced several PNGs with new SVGs (eg, default-logo.svg).
  • Added custom favicon.ico from the A-B Tech 2020 site redesign.
  • Added screenshot of the admin ui.
  • Ensure both Iframe and PopUp methods are themed and work correctly.

About

Custom chat widget styles for A-B Tech.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published