Releases: necyberteam/qa-bot
Release 2.4.0
What's Changed
- Integrate JSM by @a-pasquale in #32
- Refactor userinfo by @a-pasquale in #33
- Manual reintroduction of build directory
- Commenting out (temporarily) the feedback flow
- Clear attachment and form state on new chat button
- update chatbot endpoint to no longer use port number
⚠️ NOTE this includes breaking changes for the props passed at instantiation of the bot component
Full Changelog: v2.1.0...v2.4.0
v2.3.1-beta.1 - CSS Import Compatibility Fix
Restores backward compatibility by including build/static/css/main.css
in the published package. Fixes CSS import errors for consuming packages while maintaining all functional improvements from v2.3.0-beta.1.
Changes
- Added
"build"
back topackage.json
files array - Removed
/build
from.gitignore
- CSS files now included in npm package:
build/static/css/main.css
(~27KB)
Preserved Features
- ProForma form field mapping for JSM integration
- Form Context system for better state management
- HTML & Markdown rendering support
- Enhanced keyboard navigation
- Email validation improvements
v2.3.0-beta.1: Remove Main Feedback Flow (Beta)
Beta Release: Remove Main Feedback Flow
This beta version removes the main feedback flow while preserving quick thumbs up/down feedback after Q&A responses.
What's Removed
- "Provide feedback to ACCESS" option from main menu
- Comprehensive feedback form (detailed feedback, role selection, contact info collection)
What's Preserved
- Thumbs up/down feedback after each Q&A response ("Was this helpful?" 👍/👎)
- All other functionality unchanged (Q&A, tickets, security reporting)
Installation
NPM:
npm install @snf/access-qa-bot@beta
CDN:
<script src="https://cdn.jsdelivr.net/gh/necyberteam/[email protected]/build/static/js/main.js"></script>
Purpose
This beta provides the latest features without the main feedback collection flow, while maintaining the same API for consumers.
v2.1.0 Streamlined API, Controlled React Component, ratings, query headers
This release
Features
- sends custom headers with requests made to AI
- presents a feedback button following AI responses
Breaking Changes
- streamlines the react api surface and now includes
open
andonOpenChange
props for use as a controlled component - removes support for instantiation as a web-component (
<qa-bot >
) and does not include auto creation based on html class or id. Instead, users of the standalone bot will instantiate with a simple JS callqaBot({params})
. This is detailed in the README.md
Version 2.0.0
What's Changed
API simplification (breaking changes):
Some work done in this PR is included here. It had breaking changes, and survives as an npm release.
However, that was was largely overwritten by work done in this PR - and includes breaking changes, thus the 2.0
- The primary changes are to the names of the function and web component. So we now call
qaBot({...})
or instantiate<qa-bot>
. - There are also an updated list of props in the readme. Unsupported props should not break things, but the current list is more streamlined and focused.
Full Changelog: v0.3.1...v2.0.0
v0.3.1: CSS Fixes
What's Changed
- Css fix - top bar: #5
Upgrade react-chatbotify to v2
Web component and npm packaging
v0.1.3
Move authentication check out outside of app
v0.1.2
Move authentication check out of app.