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
sync/UI: Add ability to send custom URLs for blocking rules. #1140
Conversation
aece4dd
to
b84d19a
Compare
This allows a sync server to send a `custom_url` field along with a rule blocking execution and this will be used as the URL for the "open" button in place of the normally generated URL.
b84d19a
to
3834d7c
Compare
This allows a sync server to send a `custom_url` field along with a rule blocking execution and this will be used as the URL for the "open" button in place of the normally generated URL. Fixes google#1087
16117a7
to
2ff989e
Compare
This implements and fixes #1087. Expected behavior for the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I just think we should add an info / warning log if the custom url is somehow malformed since it'll make the button disappear in the dialog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This allows a sync server to send a
custom_url
field along with a rule blocking execution and this will be used as the URL for the "open" button in place of the normally generated URL.