[IMPROVE] Refactor Omnichannel Office Hours feature (#17824)
* Change omnichannel office hours data structure
* Rename omnichannel office hours templates
* Renaming things from office hour to business hour
* Partially remove LivechatOfficeHour model
* remove obsolete setting
* Remove settings from the template
* Add support to cron jobs on omnichannel business hours
* Add dynamic template to omnichannel business hours
* Open and close business hours
* Remove references to LivechatOfficeHours
* Open and close business hour automatically on startup and setting changes
* Improve open and close business hours process
* Removing separated interfaces
* Apply suggestions from review
* Changing pt-br term
* General improvements on business hour layout
* Apply suggestions from review
* Remove online verification
* Change data structure
* Ignore if collection does not exist
Co-authored-by:
Renato Becker <renato.augusto.becker@gmail.com>
Showing
- app/authorization/server/startup.js 1 addition, 1 deletionapp/authorization/server/startup.js
- app/livechat/client/collections/livechatOfficeHour.js 0 additions, 3 deletionsapp/livechat/client/collections/livechatOfficeHour.js
- app/livechat/client/route.js 4 additions, 4 deletionsapp/livechat/client/route.js
- app/livechat/client/views/admin.js 2 additions, 1 deletionapp/livechat/client/views/admin.js
- app/livechat/client/views/app/business-hours/BusinessHours.ts 28 additions, 0 deletions...livechat/client/views/app/business-hours/BusinessHours.ts
- app/livechat/client/views/app/business-hours/IBusinessHour.ts 3 additions, 0 deletions...livechat/client/views/app/business-hours/IBusinessHour.ts
- app/livechat/client/views/app/business-hours/Single.ts 7 additions, 0 deletionsapp/livechat/client/views/app/business-hours/Single.ts
- app/livechat/client/views/app/business-hours/livechatBusinessHoursForm.html 54 additions, 0 deletions...t/views/app/business-hours/livechatBusinessHoursForm.html
- app/livechat/client/views/app/business-hours/livechatBusinessHoursForm.js 144 additions, 0 deletions...ent/views/app/business-hours/livechatBusinessHoursForm.js
- app/livechat/client/views/app/business-hours/livechatMainBusinessHours.html 7 additions, 0 deletions...t/views/app/business-hours/livechatMainBusinessHours.html
- app/livechat/client/views/app/business-hours/livechatMainBusinessHours.js 10 additions, 0 deletions...ent/views/app/business-hours/livechatMainBusinessHours.js
- app/livechat/client/views/app/livechatOfficeHours.html 0 additions, 69 deletionsapp/livechat/client/views/app/livechatOfficeHours.html
- app/livechat/client/views/app/livechatOfficeHours.js 0 additions, 174 deletionsapp/livechat/client/views/app/livechatOfficeHours.js
- app/livechat/client/views/sideNav/livechatSideNavItems.js 1 addition, 1 deletionapp/livechat/client/views/sideNav/livechatSideNavItems.js
- app/livechat/imports/server/rest/businessHours.js 12 additions, 0 deletionsapp/livechat/imports/server/rest/businessHours.js
- app/livechat/imports/server/rest/officeHour.js 7 additions, 3 deletionsapp/livechat/imports/server/rest/officeHour.js
- app/livechat/server/api.js 1 addition, 0 deletionsapp/livechat/server/api.js
- app/livechat/server/api/lib/businessHours.ts 13 additions, 0 deletionsapp/livechat/server/api/lib/businessHours.ts
- app/livechat/server/api/lib/officeHour.js 3 additions, 3 deletionsapp/livechat/server/api/lib/officeHour.js
- app/livechat/server/business-hour/AbstractBusinessHour.ts 53 additions, 0 deletionsapp/livechat/server/business-hour/AbstractBusinessHour.ts
Loading
Please register or sign in to comment