Skip to content
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

Add option to hide widget outside working hours #85

Open
reichert621 opened this issue Mar 10, 2021 · 6 comments
Open

Add option to hide widget outside working hours #85

reichert621 opened this issue Mar 10, 2021 · 6 comments
Assignees

Comments

@reichert621
Copy link
Collaborator

Let's add a new prop: hideOutsideWorkingHours.

If this is true, we'll check the widget settings settings.account?.is_outside_working_hours and completely hide the widget if this value is true.

@reichert621 reichert621 self-assigned this Mar 10, 2021
@tharun208
Copy link

@reichert621, I like to work on this

@reichert621
Copy link
Collaborator Author

sure @tharun208! let me know if you need any help getting set up 👍

@tharun208
Copy link

@reichert621, The test account added in the repo is removed I think so

@reichert621
Copy link
Collaborator Author

@tharun208 the easiest way to test for you would probably be to do the following:

@tharun208
Copy link

@reichert621, should we need to show the chat widget icon or we need to show nothing to the user if this prop is set ?

@reichert621
Copy link
Collaborator Author

show nothing if this prop is set 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants