GithubHelp home page GithubHelp logo

abtech-mibew-chat's Introduction

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.

abtech-mibew-chat's People

Contributors

jameswilson avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.