Skip to content

Add IsUsageBased to features and send it to web UI#25465

Merged
mcbattirola merged 8 commits intomasterfrom
mcbattirola/add-usage-based-billing-flag
May 4, 2023
Merged

Add IsUsageBased to features and send it to web UI#25465
mcbattirola merged 8 commits intomasterfrom
mcbattirola/add-usage-based-billing-flag

Conversation

@mcbattirola
Copy link
Copy Markdown
Contributor

@mcbattirola mcbattirola commented May 2, 2023

This PR adds a isUsageBased flag to the Features struct and sends it to the web UI.

This flag will be used to hide/show billing-related stuff in the web UI. Currently, the flag is not used.

This flag is set by this PR: https://github.com/gravitational/teleport.e/pull/1260

@mcbattirola mcbattirola marked this pull request as ready for review May 2, 2023 16:36
@github-actions github-actions Bot requested review from kimlisa and ravicious May 2, 2023 16:36
Comment thread lib/modules/modules.go Outdated
Comment thread api/client/webclient/webconfig.go Outdated
Comment thread web/packages/teleport/src/config.ts
Copy link
Copy Markdown
Contributor

@timothyb89 timothyb89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with @kimlisa's comments resolved.

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from ravicious May 3, 2023 14:09
@mcbattirola mcbattirola enabled auto-merge May 3, 2023 16:10
@mcbattirola mcbattirola disabled auto-merge May 3, 2023 16:18
@mcbattirola mcbattirola enabled auto-merge May 4, 2023 14:45
@mcbattirola mcbattirola added this pull request to the merge queue May 4, 2023
Merged via the queue into master with commit 57690ee May 4, 2023
@mcbattirola mcbattirola deleted the mcbattirola/add-usage-based-billing-flag branch May 4, 2023 15:33
@public-teleport-github-review-bot
Copy link
Copy Markdown

@mcbattirola See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Failed

mcbattirola added a commit that referenced this pull request May 8, 2023
* Add IsUsageBased to features and send to web UI

* Update flag name

* Improve comment

* Add comments and improve field name

* Remove duplicated property
mcbattirola added a commit that referenced this pull request May 8, 2023
* Add IsUsageBased to features and send to web UI

* Update flag name

* Improve comment

* Add comments and improve field name

* Remove duplicated property
mcbattirola added a commit that referenced this pull request May 9, 2023
* Add IsUsageBased to features and send to web UI

* Update flag name

* Improve comment

* Add comments and improve field name

* Remove duplicated property
mcbattirola added a commit that referenced this pull request May 9, 2023
* Add IsUsageBased to features and send to web UI

* Update flag name

* Improve comment

* Add comments and improve field name

* Remove duplicated property
@r0mant r0mant mentioned this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants