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
Implements the configuration #10
Commits on Jul 13, 2021
-
Fix problem where error notification returned a object and not just text
also added the use of `ApiGenericError` for errors when the API didn't provide one
Configuration menu - View commit details
-
Copy full SHA for 9b777de - Browse repository at this point
Copy the full SHA 9b777deView commit details -
also handle/show errors in chat also remove axe-core (doesn't work and keeps throwing errors)
Configuration menu - View commit details
-
Copy full SHA for 5eb9778 - Browse repository at this point
Copy the full SHA 5eb9778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59bb371 - Browse repository at this point
Copy the full SHA 59bb371View commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 393aa6d - Browse repository at this point
Copy the full SHA 393aa6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eea332 - Browse repository at this point
Copy the full SHA 5eea332View commit details
Commits on Jul 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dfc02eb - Browse repository at this point
Copy the full SHA dfc02ebView commit details -
Make window.parleySettings reactive using Proxies
also; moved/renamed context.js => Scripts/Context.js also; add a Logger for logging stuff with log levels
Configuration menu - View commit details
-
Copy full SHA for 13560b5 - Browse repository at this point
Copy the full SHA 13560b5View commit details -
When language changes, make sure the interfaceTexts overrides stay th…
…e same when overriding interfaceTexts using `window.parleySettings.runOptions.interfaceTexts` and switching language, we don't want your custom overrides to get replaced by the InterfaceText.{language} defaults
Configuration menu - View commit details
-
Copy full SHA for fea4039 - Browse repository at this point
Copy the full SHA fea4039View commit details
Commits on Jul 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fc28de2 - Browse repository at this point
Copy the full SHA fc28de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50e1139 - Browse repository at this point
Copy the full SHA 50e1139View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3542aa0 - Browse repository at this point
Copy the full SHA 3542aa0View commit details -
When infoText setting changes, the UI needs to change as well
Also; fixed issue where proxy would keep triggering `setState()` after being unmounted Also; added eslint plugin to remove unused imports
Configuration menu - View commit details
-
Copy full SHA for 4854e68 - Browse repository at this point
Copy the full SHA 4854e68View commit details -
When placeholderMessenger setting changes, the UI needs to change as …
…well Also; added plugin to disallow `.only` tests
Configuration menu - View commit details
-
Copy full SHA for f274f05 - Browse repository at this point
Copy the full SHA f274f05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fd3d07 - Browse repository at this point
Copy the full SHA 2fd3d07View commit details
Commits on Jul 21, 2021
-
Change how Proxy works to make it more robust and easier to understand
Also; renamed v1 props to v2 in InterfaceTexts Also; moved some functions around Also; added jsdocs Also; fixed issue where errorNotfication render gave an error that it didn't exist
Configuration menu - View commit details
-
Copy full SHA for f239f7c - Browse repository at this point
Copy the full SHA f239f7cView commit details -
Add workingHours (weekdays) and hideChatOutsideWorkingHours (hideChat…
…AfterBusinessHours) settings Also; made them hide the Launcher if we are outside working hours and hideChatxxx is true Also; Copied the script from v1 that checks if we are inside/outside working hours
Configuration menu - View commit details
-
Copy full SHA for dcc72dd - Browse repository at this point
Copy the full SHA dcc72ddView commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 328bc5b - Browse repository at this point
Copy the full SHA 328bc5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35b2e1d - Browse repository at this point
Copy the full SHA 35b2e1dView commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4e2024c - Browse repository at this point
Copy the full SHA 4e2024cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cce605d - Browse repository at this point
Copy the full SHA cce605dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13b9f5a - Browse repository at this point
Copy the full SHA 13b9f5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40fb743 - Browse repository at this point
Copy the full SHA 40fb743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e72bcc - Browse repository at this point
Copy the full SHA 0e72bccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eaea6f - Browse repository at this point
Copy the full SHA 5eaea6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d476092 - Browse repository at this point
Copy the full SHA d476092View commit details
Commits on Sep 7, 2021
-
Merge branch 'master' of github.com:parley-messaging/web-library into…
… feature/config � Conflicts: � .eslintrc.json � .postcssrc.json � index.html � package-lock.json � package.json � src/UI/App.jsx � src/UI/Buttons/HeaderButton.jsx � src/UI/Launcher.jsx � src/UI/index.jsx
Configuration menu - View commit details
-
Copy full SHA for 1657bb0 - Browse repository at this point
Copy the full SHA 1657bb0View commit details -
Set stylelint config path to auto-detect
somehow Phpstorm was messing up the path (probably because of a new update..)
Configuration menu - View commit details
-
Copy full SHA for be4d769 - Browse repository at this point
Copy the full SHA be4d769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58cc022 - Browse repository at this point
Copy the full SHA 58cc022View commit details
Commits on Apr 7, 2022
-
Rename referer to referrer if we are talking about anything other tha…
…n the HTTP header / Api payload
Configuration menu - View commit details
-
Copy full SHA for e8fd421 - Browse repository at this point
Copy the full SHA e8fd421View commit details -
Configuration menu - View commit details
-
Copy full SHA for f658935 - Browse repository at this point
Copy the full SHA f658935View commit details
Commits on Apr 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cca9791 - Browse repository at this point
Copy the full SHA cca9791View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1da31a - Browse repository at this point
Copy the full SHA f1da31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44a5922 - Browse repository at this point
Copy the full SHA 44a5922View commit details -
Remove eslint rule
prefer-promise-reject-errors
We don't need to throw an Error here with a stack trace because the API made the error so there is no stack trace that points to the API..
Configuration menu - View commit details
-
Copy full SHA for 78f37f9 - Browse repository at this point
Copy the full SHA 78f37f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e43a14 - Browse repository at this point
Copy the full SHA 5e43a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for b91f9df - Browse repository at this point
Copy the full SHA b91f9dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0305f85 - Browse repository at this point
Copy the full SHA 0305f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bc92b0 - Browse repository at this point
Copy the full SHA 5bc92b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 846e863 - Browse repository at this point
Copy the full SHA 846e863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f434e6 - Browse repository at this point
Copy the full SHA 9f434e6View commit details -
Add missing tests so we reach ~99% code coverage
I can't test line 92 on workingHours.js because it checks the current date and to change that i need to change the system time..
Configuration menu - View commit details
-
Copy full SHA for 9277f6f - Browse repository at this point
Copy the full SHA 9277f6fView commit details -
Install light-server to serve code coverage page with live reload
Couldn't use `parcel serve` for this because the index.html page contained multiple assets
Configuration menu - View commit details
-
Copy full SHA for 97f835e - Browse repository at this point
Copy the full SHA 97f835eView commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ce694ec - Browse repository at this point
Copy the full SHA ce694ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15e18dd - Browse repository at this point
Copy the full SHA 15e18ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 035174c - Browse repository at this point
Copy the full SHA 035174cView commit details -
Add an extra test which tests the
false
part of the `format [day, s……tart, end, false]` office hours format
Configuration menu - View commit details
-
Copy full SHA for 3655d2a - Browse repository at this point
Copy the full SHA 3655d2aView commit details -
Merge branch 'master' of github.com:parley-messaging/web-library into…
… feature/config � Conflicts: � .postcssrc.json � index.html � index.js � package-lock.json � package.json � src/Api/Api.js � src/UI/App.jsx � src/UI/index.jsx
Configuration menu - View commit details
-
Copy full SHA for 997ff5c - Browse repository at this point
Copy the full SHA 997ff5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18a4c43 - Browse repository at this point
Copy the full SHA 18a4c43View commit details
Commits on Apr 15, 2022
-
Use
componentDidUpdate()
instead ofshouldComponentUpdate()
becau……se it is a better place for these checks
Configuration menu - View commit details
-
Copy full SHA for 031b55d - Browse repository at this point
Copy the full SHA 031b55dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3324062 - Browse repository at this point
Copy the full SHA 3324062View commit details
Commits on Apr 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for afbb281 - Browse repository at this point
Copy the full SHA afbb281View commit details