-
Notifications
You must be signed in to change notification settings - Fork 0
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
Release/2.0.0 alpha.1 #11
Commits on May 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 735533b - Browse repository at this point
Copy the full SHA 735533bView commit details -
Merge branch 'master' of github.com:parley-messaging/web-library into…
… feature/configuration
Configuration menu - View commit details
-
Copy full SHA for f094d3f - Browse repository at this point
Copy the full SHA f094d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbd1459 - Browse repository at this point
Copy the full SHA bbd1459View commit details
Commits on May 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for aebd9cd - Browse repository at this point
Copy the full SHA aebd9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6a6752 - Browse repository at this point
Copy the full SHA b6a6752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0689aaa - Browse repository at this point
Copy the full SHA 0689aaaView commit details -
Merge remote-tracking branch 'origin/feature/configuration' into feat…
…ure/components # Conflicts: # .babelrc # .eslintrc.json # .idea/inspectionProfiles/Project_Default.xml # package-lock.json # package.json # src/App.jsx
Configuration menu - View commit details
-
Copy full SHA for 68a4ba2 - Browse repository at this point
Copy the full SHA 68a4ba2View commit details -
This abstraction layer is the base layer which contains all the Api calls done with fetch().
Configuration menu - View commit details
-
Copy full SHA for 8843133 - Browse repository at this point
Copy the full SHA 8843133View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef3bf49 - Browse repository at this point
Copy the full SHA ef3bf49View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8dbde3 - Browse repository at this point
Copy the full SHA a8dbde3View commit details
Commits on May 19, 2021
-
Merge branch 'master' of github.com:parley-messaging/web-library into…
… feature/apiCode � Conflicts: � .babelrc � .eslintrc.json � .gitignore � .idea/inspectionProfiles/Project_Default.xml � README.md � index.html � package-lock.json � package.json � src/App.jsx � src/index.jsx
Configuration menu - View commit details
-
Copy full SHA for 5f6500e - Browse repository at this point
Copy the full SHA 5f6500eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce2a796 - Browse repository at this point
Copy the full SHA ce2a796View commit details -
Fix ESLint issues, especially no-invalid-this
no-invalid-this had to be replaced by @babel/no-invalid-this, otherwise it would show false positives in arrow functions
Configuration menu - View commit details
-
Copy full SHA for f752627 - Browse repository at this point
Copy the full SHA f752627View commit details
Commits on May 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 327c4bc - Browse repository at this point
Copy the full SHA 327c4bcView commit details -
Announcement Image.jsx ImageViewer.jsx ReplyActions.jsx Removed MarkdownText.jsx Changed: Arrow functions and removed binds Disabled Image.jsx (not required in first version)
Configuration menu - View commit details
-
Copy full SHA for 68de614 - Browse repository at this point
Copy the full SHA 68de614View commit details -
Merge branch 'master' of https://github.com/parley-messaging/web-library
Configuration menu - View commit details
-
Copy full SHA for 36302a1 - Browse repository at this point
Copy the full SHA 36302a1View commit details
Commits on May 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7c8f9fc - Browse repository at this point
Copy the full SHA 7c8f9fcView commit details -
Remove babel presets that are handled automatically in Parcel beta 3
https://v2.parceljs.org/blog/beta3/ Had to install a plugin for eslint otherwise it showed errors because it is missing je react-preset
Configuration menu - View commit details
-
Copy full SHA for 484af4c - Browse repository at this point
Copy the full SHA 484af4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42ec683 - Browse repository at this point
Copy the full SHA 42ec683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24a4606 - Browse repository at this point
Copy the full SHA 24a4606View commit details
Commits on May 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c638c3a - Browse repository at this point
Copy the full SHA c638c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ea2a3 - Browse repository at this point
Copy the full SHA 93ea2a3View commit details -
Merge branch 'feature/components' of github.com:parley-messaging/web-…
…library into feature/strictCSP � Conflicts: � index.html
Configuration menu - View commit details
-
Copy full SHA for b5300fa - Browse repository at this point
Copy the full SHA b5300faView commit details -
Merge branch 'feature/build' of github.com:parley-messaging/web-libra…
…ry into feature/strictCSP � Conflicts: � package-lock.json � package.json � src/ui/App.jsx
Configuration menu - View commit details
-
Copy full SHA for d020c36 - Browse repository at this point
Copy the full SHA d020c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1eb7df - Browse repository at this point
Copy the full SHA d1eb7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3cde7e - Browse repository at this point
Copy the full SHA c3cde7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 766953c - Browse repository at this point
Copy the full SHA 766953cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32a1088 - Browse repository at this point
Copy the full SHA 32a1088View commit details
Commits on May 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for af8e5ad - Browse repository at this point
Copy the full SHA af8e5adView commit details
Commits on Jun 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2020840 - Browse repository at this point
Copy the full SHA 2020840View commit details
Commits on Jun 3, 2021
-
Implement PollingService in ApiEventTarget
And demo this in the example application
Configuration menu - View commit details
-
Copy full SHA for d4decbd - Browse repository at this point
Copy the full SHA d4decbdView commit details
Commits on Jun 24, 2021
-
Merge branch 'master' of github.com:parley-messaging/web-library into…
… feature/polling � Conflicts: � cypress/.eslintrc.json � cypress/plugins/index.js � cypress/support/index.js � package-lock.json � package.json � src/Api/Api.js � src/Api/ApiEventTarget.js � src/App.jsx � src/Configuration.jsx � src/EventLog.jsx � src/MessageList.jsx � src/Messaging.jsx
Configuration menu - View commit details
-
Copy full SHA for c5cb84f - Browse repository at this point
Copy the full SHA c5cb84fView commit details -
Implement Polling Service in UI (because we don't use the logic in Ap…
…iEventTarget anymore)
Configuration menu - View commit details
-
Copy full SHA for 349f58f - Browse repository at this point
Copy the full SHA 349f58fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09326a4 - Browse repository at this point
Copy the full SHA 09326a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39ace3b - Browse repository at this point
Copy the full SHA 39ace3bView commit details
Commits on Jun 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 603dfee - Browse repository at this point
Copy the full SHA 603dfeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8002228 - Browse repository at this point
Copy the full SHA 8002228View commit details -
Only stop(& restart) the polling interval when we go on to the next i…
…nterval If we keep the current interval there is no need to stop and restart..
Configuration menu - View commit details
-
Copy full SHA for f93b17b - Browse repository at this point
Copy the full SHA f93b17bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66322fd - Browse repository at this point
Copy the full SHA 66322fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 861fa5a - Browse repository at this point
Copy the full SHA 861fa5aView commit details
Commits on Jun 28, 2021
-
Merge remote-tracking branch 'origin/master' into feature/polling
# Conflicts: # src/Messaging.jsx
Configuration menu - View commit details
-
Copy full SHA for 961e4f9 - Browse repository at this point
Copy the full SHA 961e4f9View commit details
Commits on Jun 30, 2021
-
Rename stuff & fix issue with
currentIntervalAmount
being greater t……han the max Also fixed last test for polling; it didn't stop after `resolve()` so it needed a `return`
Configuration menu - View commit details
-
Copy full SHA for bb4cb01 - Browse repository at this point
Copy the full SHA bb4cb01View commit details -
Remove config const for polling tests and let each test define their own
also lowered the intervals for the first test
Configuration menu - View commit details
-
Copy full SHA for f07015a - Browse repository at this point
Copy the full SHA f07015aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a00def - Browse repository at this point
Copy the full SHA 5a00defView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3922f8 - Browse repository at this point
Copy the full SHA f3922f8View commit details -
Rename interfaceTexts.js to tempConfig.js, becuase we will be storing…
… config values aswell Also disabled quickreplies
Configuration menu - View commit details
-
Copy full SHA for 2db67ca - Browse repository at this point
Copy the full SHA 2db67caView commit details -
Start polling when device is subscribed and reset polling when messag…
…e is sent Also added; Message sending on submit, Device registration when chat opens, Stop polling on unmount
Configuration menu - View commit details
-
Copy full SHA for 4fb4085 - Browse repository at this point
Copy the full SHA 4fb4085View commit details -
Configuration menu - View commit details
-
Copy full SHA for e07f42b - Browse repository at this point
Copy the full SHA e07f42bView commit details
Commits on Jul 1, 2021
-
Remove comments about implementing stuff later
We have tickets and that should be enough
Configuration menu - View commit details
-
Copy full SHA for 58dec5b - Browse repository at this point
Copy the full SHA 58dec5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cf656d - Browse repository at this point
Copy the full SHA 9cf656dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e19669e - Browse repository at this point
Copy the full SHA e19669eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dc8c0a - Browse repository at this point
Copy the full SHA 3dc8c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f423da7 - Browse repository at this point
Copy the full SHA f423da7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20681a2 - Browse repository at this point
Copy the full SHA 20681a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd31dd1 - Browse repository at this point
Copy the full SHA fd31dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f147dc - Browse repository at this point
Copy the full SHA 3f147dcView commit details -
Restart polling when there is focus on the input field
Also open the chat when there is a new message
Configuration menu - View commit details
-
Copy full SHA for 498087f - Browse repository at this point
Copy the full SHA 498087fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ac190d - Browse repository at this point
Copy the full SHA 7ac190dView commit details -
Let Conversation.jsx restart polling when it mounts
This way you should always see your new messages when the conversation window opens
Configuration menu - View commit details
-
Copy full SHA for 7403922 - Browse repository at this point
Copy the full SHA 7403922View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9f318c - Browse repository at this point
Copy the full SHA f9f318cView commit details -
When i remove this variable the IDEA complains about the override not being the same as the original..
Configuration menu - View commit details
-
Copy full SHA for bbca754 - Browse repository at this point
Copy the full SHA bbca754View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1029825 - Browse repository at this point
Copy the full SHA 1029825View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6cb84b - Browse repository at this point
Copy the full SHA a6cb84bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c9b021 - Browse repository at this point
Copy the full SHA 1c9b021View commit details
Commits on Jul 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a352c75 - Browse repository at this point
Copy the full SHA a352c75View commit details
Commits on Jul 7, 2021
-
Remove auto start of polling in constructor
Also clear event listeners on stopPolling() And fixed tests
Configuration menu - View commit details
-
Copy full SHA for 88f2b1b - Browse repository at this point
Copy the full SHA 88f2b1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3a82aa - Browse repository at this point
Copy the full SHA a3a82aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for aad0305 - Browse repository at this point
Copy the full SHA aad0305View commit details -
Fix scroll to bottom when new messages come in
Had to compare last id's instead of array lengths because the API gives out max 50 messages..
Configuration menu - View commit details
-
Copy full SHA for dde05a8 - Browse repository at this point
Copy the full SHA dde05a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7996f80 - Browse repository at this point
Copy the full SHA 7996f80View commit details -
Merge branch 'feature/polling' of github.com:parley-messaging/web-lib…
…rary into feature/strictCSP � Conflicts: � .babelrc � .eslintrc.json � .idea/inspectionProfiles/Project_Default.xml � README.md � index.html � package-lock.json � package.json � src/UI/index.jsx
Configuration menu - View commit details
-
Copy full SHA for 66b1ef3 - Browse repository at this point
Copy the full SHA 66b1ef3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95493cd - Browse repository at this point
Copy the full SHA 95493cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for de41408 - Browse repository at this point
Copy the full SHA de41408View commit details -
Configuration menu - View commit details
-
Copy full SHA for deba8b3 - Browse repository at this point
Copy the full SHA deba8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07044ef - Browse repository at this point
Copy the full SHA 07044efView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3592fd - Browse repository at this point
Copy the full SHA e3592fdView commit details -
Dont check unused vars in args because they can conflict with phpstor…
…m's "signature mismatch" inspection
Configuration menu - View commit details
-
Copy full SHA for 8e7eebc - Browse repository at this point
Copy the full SHA 8e7eebcView commit details -
Merge branch 'master' of github.com:parley-messaging/web-library into…
… feature/strictCSP � Conflicts: � cypress/integration/polling_spec.js � src/Api/Polling.js � src/UI/App.jsx � src/UI/Buttons/HeaderButton.jsx � src/UI/Chat.jsx � src/UI/Conversation.jsx � src/UI/Launcher.jsx
Configuration menu - View commit details
-
Copy full SHA for 1e38430 - Browse repository at this point
Copy the full SHA 1e38430View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff04fab - Browse repository at this point
Copy the full SHA ff04fabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bf5fcb - Browse repository at this point
Copy the full SHA 8bf5fcbView commit details -
Use Parcel nightly for css scope hoisting fix
fix: parcel-bundler/parcel#6489 Also used parcel's babel presets as defined here: https://v2.parceljs.org/languages/babel/#extending-the-default-babel-config
Configuration menu - View commit details
-
Copy full SHA for dc38479 - Browse repository at this point
Copy the full SHA dc38479View commit details
Commits on Jul 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3d02f1b - Browse repository at this point
Copy the full SHA 3d02f1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f4df77 - Browse repository at this point
Copy the full SHA 1f4df77View commit details -
Configuration menu - View commit details
-
Copy full SHA for c24cbd6 - Browse repository at this point
Copy the full SHA c24cbd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d919de - Browse repository at this point
Copy the full SHA 9d919deView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a32ca - Browse repository at this point
Copy the full SHA b9a32caView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccd154c - Browse repository at this point
Copy the full SHA ccd154cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312548e - Browse repository at this point
Copy the full SHA 312548eView commit details
Commits on Jul 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e8a3561 - Browse repository at this point
Copy the full SHA e8a3561View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6113ce9 - Browse repository at this point
Copy the full SHA 6113ce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d919f - Browse repository at this point
Copy the full SHA f0d919fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87c7a7d - Browse repository at this point
Copy the full SHA 87c7a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e85c0 - Browse repository at this point
Copy the full SHA 05e85c0View commit details -
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 -
Make sure fontawesome css is bundled in our css
so that we don't need to include it separately in the index.html
Configuration menu - View commit details
-
Copy full SHA for 855bffe - Browse repository at this point
Copy the full SHA 855bffeView commit details
Commits on Jul 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ce5b191 - Browse repository at this point
Copy the full SHA ce5b191View 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 -
Merge branch 'feature/strictCSP' of github.com:parley-messaging/web-l…
…ibrary into release/2.0.0-alpha.1 � Conflicts: � .eslintrc.json � .postcssrc.json � 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 a49a07d - Browse repository at this point
Copy the full SHA a49a07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27d045d - Browse repository at this point
Copy the full SHA 27d045dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84e1d97 - Browse repository at this point
Copy the full SHA 84e1d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74bce62 - Browse repository at this point
Copy the full SHA 74bce62View commit details -
Merge branch 'feature/saveDeviceRegistration' of github.com:parley-me…
…ssaging/web-library into release/2.0.0-alpha.1 � Conflicts: � .postcssrc.json � index.html � index.js � 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 45438ba - Browse repository at this point
Copy the full SHA 45438baView commit details -
Configuration menu - View commit details
-
Copy full SHA for eed3f25 - Browse repository at this point
Copy the full SHA eed3f25View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea91726 - Browse repository at this point
Copy the full SHA ea91726View commit details -
Compare localStorage device information with new one when calling sub…
…scribeDevice when they both match, it means we don't have any new data for the api so calling it would be a waste of resources.
Configuration menu - View commit details
-
Copy full SHA for bbe770a - Browse repository at this point
Copy the full SHA bbe770aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2a86b - Browse repository at this point
Copy the full SHA 8b2a86bView commit details -
Move parleycdn demo stuff to its own folder
this way we can call it index.html and the output file will also be called index.html
Configuration menu - View commit details
-
Copy full SHA for f2fab2e - Browse repository at this point
Copy the full SHA f2fab2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5018f4d - Browse repository at this point
Copy the full SHA 5018f4dView commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e3dbdaf - Browse repository at this point
Copy the full SHA e3dbdafView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc301a2 - Browse repository at this point
Copy the full SHA bc301a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01149e9 - Browse repository at this point
Copy the full SHA 01149e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7474864 - Browse repository at this point
Copy the full SHA 7474864View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b83cf6 - Browse repository at this point
Copy the full SHA 2b83cf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8410275 - Browse repository at this point
Copy the full SHA 8410275View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f1b02 - Browse repository at this point
Copy the full SHA 08f1b02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa3c50 - Browse repository at this point
Copy the full SHA 4fa3c50View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa92892 - Browse repository at this point
Copy the full SHA aa92892View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36c3f5f - Browse repository at this point
Copy the full SHA 36c3f5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef83fcb - Browse repository at this point
Copy the full SHA ef83fcbView commit details
Commits on Jul 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 00b1c60 - Browse repository at this point
Copy the full SHA 00b1c60View commit details -
Fix issue where we wouldn't create a new device when account identifi…
…cation changes This was due to the localstorage still containing the device info. When we try to subscribe with the same info it will ignore the call because it is a waste of resources if we make the call with nothing new in it.
Configuration menu - View commit details
-
Copy full SHA for 317a39e - Browse repository at this point
Copy the full SHA 317a39eView commit details
Commits on Jul 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 34c5156 - Browse repository at this point
Copy the full SHA 34c5156View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a65f9 - Browse repository at this point
Copy the full SHA c0a65f9View commit details -
fix Styling Issue after call Triodos (#12)
* Fixed - Minor styling issues font and color Added - Error root styling (was in front-end web library) not in here tho Auto - name got added after i did install packages * Fixed - Prefix in root values * Fixed - package-lock.json * Fixed - Duplicate root style * Fixed - vcs file
Configuration menu - View commit details
-
Copy full SHA for 74e5486 - Browse repository at this point
Copy the full SHA 74e5486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cde9e7 - Browse repository at this point
Copy the full SHA 7cde9e7View commit details
Commits on Jul 29, 2021
-
Also; renamed variables for aria labels to start with "ariaLabel"
Configuration menu - View commit details
-
Copy full SHA for fabfa5f - Browse repository at this point
Copy the full SHA fabfa5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b00180e - Browse repository at this point
Copy the full SHA b00180eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 468cc22 - Browse repository at this point
Copy the full SHA 468cc22View commit details -
Save account/device identification in localstorage
This way we can re-subscribe if one of those has changed
Configuration menu - View commit details
-
Copy full SHA for 0c55c06 - Browse repository at this point
Copy the full SHA 0c55c06View commit details -
Create new Api and Polling service when device identification changes
When device/account identification changes we want te subscribe the (new) device to the (new) account. Also; the default value for the deviceIdentification is either; the one saved in storage from previous session OR a new random uuid
Configuration menu - View commit details
-
Copy full SHA for 110b680 - Browse repository at this point
Copy the full SHA 110b680View commit details
Commits on Apr 20, 2022
-
Merge branch 'master' of github.com:parley-messaging/web-library into…
… release/2.0.0-alpha.1 � Conflicts: � .babelrc � cypress/integration/api-class_spec.js � cypress/integration/ui_spec.js � index.html � package-lock.json � package.json � src/Api/Api.js � src/UI/App.jsx � src/UI/Buttons/HeaderButton.jsx � src/UI/Chat.jsx � src/UI/Chat.module.css � src/UI/Launcher.jsx � src/UI/Launcher.module.css � src/UI/ReplyText.jsx � src/UI/Scripts/Context.js � src/UI/Scripts/WorkingHours.js
Configuration menu - View commit details
-
Copy full SHA for 3869a88 - Browse repository at this point
Copy the full SHA 3869a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2c5d03 - Browse repository at this point
Copy the full SHA e2c5d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for e97af72 - Browse repository at this point
Copy the full SHA e97af72View commit details
Commits on Apr 26, 2022
-
Solve merge conflicts from merge: master into v2.0.0-alpha.1 (#25)
* Add support for strict CSP's (#8) * Initial commit * Initial commit * Use babel-eslint parser to support arrow functions (and other) * Use babel-eslint parser to support arrow functions (part 2) * Intitial commit for components * Add Api abstraction layer This abstraction layer is the base layer which contains all the Api calls done with fetch(). * Add step comments to EventLog.jsx * Add some comments to api scripts * We dont have a release branch anymore (due to creating a new repo) * Fix ESLint issues, especially no-invalid-this no-invalid-this had to be replaced by @babel/no-invalid-this, otherwise it would show false positives in arrow functions * Removed console logs and fixed `curly` rule to be used always * Innitial commit for: Announcement Image.jsx ImageViewer.jsx ReplyActions.jsx Removed MarkdownText.jsx Changed: Arrow functions and removed binds Disabled Image.jsx (not required in first version) * Add build targets to package.json * Remove babel presets that are handled automatically in Parcel beta 3 https://v2.parceljs.org/blog/beta3/ Had to install a plugin for eslint otherwise it showed errors because it is missing je react-preset * Working on build targets * Added .postcssrc for more control over CSS transformations * Update readme with info about building * Add CSP * Pulled from /components * Pulled from /build * Create index.html with CSP * Forgot to load the css stylesheet * Add Cypress and Polling and first basic test * Add unit tests for polling mechanism * Implement PollingService in ApiEventTarget And demo this in the example application * Implement Polling Service in UI (because we don't use the logic in ApiEventTarget anymore) * Add polling test for restartPolling() * Fix regex * Remove duplicated files * Remove duplicated files * Only stop(& restart) the polling interval when we go on to the next interval If we keep the current interval there is no need to stop and restart.. * Reset variables when calling restartPolling() * Remove unneeded dependency with account/deviceIdentification * Rename stuff & fix issue with `currentIntervalAmount` being greater than the max Also fixed last test for polling; it didn't stop after `resolve()` so it needed a `return` * Remove config const for polling tests and let each test define their own also lowered the intervals for the first test * Use timeouts in Polling * Rename message send event to "sent" (past tense) * Rename interfaceTexts.js to tempConfig.js, becuase we will be storing config values aswell Also disabled quickreplies * Start polling when device is subscribed and reset polling when message is sent Also added; Message sending on submit, Device registration when chat opens, Stop polling on unmount * Disable input field while sending message to parley * Remove comments about implementing stuff later We have tickets and that should be enough * Use ow package to validate params * Rename var to timeout * Remove commented console logs * Wait for getMessages before continuing the next interval * Forgot a variable * Test polling reaction to api events * Show messages in conversation * Restart polling when there is focus on the input field Also open the chat when there is a new message * Fixed issue in code that finds a new message id * Let Conversation.jsx restart polling when it mounts This way you should always see your new messages when the conversation window opens * Scroll down when there is a new message * Suppress eslint error When i remove this variable the IDEA complains about the override not being the same as the original.. * Only render Agent's name once if there are more agent messages * Refocus input field after sending a message * Updating axe-core Was hoping this would fix it.. * Remove auto start of polling in constructor Also clear event listeners on stopPolling() And fixed tests * Restart polling when page/window receives visibility/focus * Fix scroll to bottom when new messages come in Had to compare last id's instead of array lengths because the API gives out max 50 messages.. * Fix typo in test * Merge * Only load code-coverage code when in development mode * (re)create index CSP file * Turn default imports (css) into namespace imports https://v2.parceljs.org/languages/postcss/#css-modules-tree-shaking * Fix issue where CSS was not correctly build in index_CSP.html * Dont check unused vars in args because they can conflict with phpstorm's "signature mismatch" inspection * No need for a variable here * Remove unused npmrc * Use Parcel nightly for css scope hoisting fix fix: parcel-bundler/parcel#6489 Also used parcel's babel presets as defined here: https://v2.parceljs.org/languages/babel/#extending-the-default-babel-config * Remove idea gitignore (we have our own one) * Revert change to parley-web-library.iml * Remove pageVisibilityApi.js, we dont need it anymore * Make sure fontawesome css is bundled in our css so that we don't need to include it separately in the index.html * Remove axe-core and fix csp * Dont need postcss (installed automatically by Parcel) * Fix building css finally Co-authored-by: Gydo Titulaer <gydo.titulaer@tracebuzz.com> Co-authored-by: Daan Leenders <daan@tracebuzz.com> * Save device registration in storage (#9) * Save device registration in local storage and check it upon `subscribeDevice()` * Add ability to load settings from window.parleySettings (for now) * Add start wrapper function for loading the chat in the advanced demo page (for now) * Add css to index.html * Use namespace imports for styles * Use parcel's own babel presets * Use css scoped names * Fix issue with Parcel * Add js for demo page (taken from v1 so not optimized, might also be temporary) * Only load code coverage on development builds * Compare localStorage device information with new one when calling subscribeDevice when they both match, it means we don't have any new data for the api so calling it would be a waste of resources. * Add authorization and language options to demo # Conflicts: # index.js # parleycdn-demo/index.html * Add authorization and language options to demo * Compare authorization before registering device * Make storage prefix customizable Somehow is also missed some npm packages so i needed to install those * Add storage prefix from settings * Update index.html Co-authored-by: Daan Leenders <daanleenders@gmail.com> Co-authored-by: Daan Leenders <daanleenders@gmail.com> * Implements the configuration (#10) * 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 * Add context providers also handle/show errors in chat also remove axe-core (doesn't work and keeps throwing errors) * Add tests for ui errors * Working changing language * No need for contextType * Create test for testing parley settings reactivity * Make window.parleySettings reactive using Proxies also; moved/renamed context.js => Scripts/Context.js also; add a Logger for logging stuff with log levels * When language changes, make sure the interfaceTexts overrides stay the 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 * Create new Api instance (and device) when switching roomNumber * Re-register device when authHeader changes * Re-register device when userAdditionalInformation changes * 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 * When placeholderMessenger setting changes, the UI needs to change as well Also; added plugin to disallow `.only` tests * Add some comments * 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 * Add workingHours (weekdays) and hideChatOutsideWorkingHours (hideChatAfterBusinessHours) 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 * Add mobile recognition * Add device version to state * Move country to runOptions layer * Authorization can't be empty when calling subscribeDevice() * Fix issue where device version is empty if it didn't have pre-release tags * Add hide button for error messages * Default value for error message colors * Load all interface texts default on construct * Remove todo comments * Set stylelint config path to auto-detect somehow Phpstorm was messing up the path (probably because of a new update..) * Remove unused css * Rename referer to referrer if we are talking about anything other than the HTTP header / Api payload * Remove unused var and remove optional params * Make sure code coverage and index.html are CSP compliant * Not sure why Phpstorm deleted this but i don't think it is important * Data can be null if no messages are found, so it's better if we check if data is set * 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.. * Return `null` when get messages api call throws an error * fix typo * Remove event listener on unmount * Make the api generic error configurable in the UI * Make unit tests for working hours script * Add code coverage for unit test * 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.. * 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 * Use array destructuring for readability * Use `toLocaleString()` so we don't need an extra array * Make sure office hours are 24/7 otherwise tests will fail * Add an extra test which tests the `false` part of the `format [day, start, end, false]` office hours format * Add storagePrefix to state * Use `componentDidUpdate()` instead of `shouldComponentUpdate()` because it is a better place for these checks * Ignore stuff we don't need in the repo * Forgot to change copied test Also ignore gitlink * Don't allow falsy values in the `state.messages`, it should always be an array * Fix some bad merges * Add functionality that clears your local messages if you don't have access (anymore) to the API Co-authored-by: Gydo Titulaer <gydo.titulaer@tracebuzz.com> Co-authored-by: Daan Leenders <daan@tracebuzz.com> Co-authored-by: Daan Leenders <daanleenders@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 169fe9c - Browse repository at this point
Copy the full SHA 169fe9cView commit details
Commits on Jun 22, 2022
-
Merge remote-tracking branch 'origin/release/2.0.0-alpha.1' into rele…
…ase/2.0.0-alpha.1 # Conflicts: # cypress/integration/ui_spec.js # src/UI/Conversation.jsx
Configuration menu - View commit details
-
Copy full SHA for 4e38fea - Browse repository at this point
Copy the full SHA 4e38feaView commit details