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

chore: dynamic webhook auth headers #1069

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ branding=false
totp=false
live_users_counter=false
granularity=false
custom_webhook_headers=false
custom_webhook_headers=true
dynamic_custom_webhook_headers=false
compliance_certificate=false
4 changes: 3 additions & 1 deletion src/components/Filter.res
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,10 @@ let make = (
fieldWrapperClass="p-0"
/>
</RenderIf>
</div>
<div className="flex gap-3 flex-wrap">
<RenderIf condition={allFilters->Array.length > 0}>
<Menu \"as"="div" className="relative inline-block text-left">
<Menu \"as"="div" className="relative inline-block text-left mt-3">
{_menuProps =>
<div>
<Menu.Button
Expand Down
2 changes: 1 addition & 1 deletion src/components/LoadedTableWithCustomColumns.res
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ let make = (
leftIcon=Button.CustomIcon(<Icon name="edit" size=16 />)
text="Customize Columns"
buttonType=SecondaryFilled
buttonSize=XSmall
buttonSize={Small}
onClick={_ => setShowColumnSelector(_ => true)}
customButtonStyle="!rounded-lg !bg-white !h-10 !text-black"
/>
Expand Down
2 changes: 2 additions & 0 deletions src/entryPoints/FeatureFlagUtils.res
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type featureFlag = {
liveUsersCounter: bool,
granularity: bool,
customWebhookHeaders: bool,
dynamicCustomWebhookHeaders: bool,
complianceCertificate: bool,
}

Expand Down Expand Up @@ -66,6 +67,7 @@ let featureFlagType = (featureFlags: JSON.t) => {
liveUsersCounter: dict->getBool("live_users_counter", false),
granularity: dict->getBool("granularity", false),
customWebhookHeaders: dict->getBool("custom_webhook_headers", false),
dynamicCustomWebhookHeaders: dict->getBool("dynamic_custom_webhook_headers", false),
complianceCertificate: dict->getBool("compliance_certificate", false),
}
typedFeatureFlag
Expand Down
Loading
Loading