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

Billing pre-release #605

Merged
merged 18 commits into from
Nov 19, 2023
Merged

Billing pre-release #605

merged 18 commits into from
Nov 19, 2023

Commits on Oct 23, 2023

  1. Bill 112 (#583)

    * START: add billing home page and data page
    
    * REFACTOR: NavBar
    
    * REFACTOR: NavBar
    
    * REFACTOR: NavBar - adding dropdown meny capability
    
    * ../
    
    * FIX: fixed style in the nav. Everythign but search bar
    
    * FIX: search bar fixed
    
    * DONE: menu and billing pages done
    
    * REMOVE: remove redundant code
    
    * LINT: fix format
    violetbrina authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    8126e78 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. [BIL-26] BILLING - User Story 1.3 (#578)

    * User Story 1.3: As a user, I want to sort costs by budget and by the percentage of budget used
    
    * First version of Current Billing Cost page.
    
    * Added dropdown to select grouping by Project, Topic or Dataset.
    milo-hyben authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    efc122b View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. [BIL-39] User Story 2.3: As a user, I want to view costs in a time se…

    …ries with daily granularity in the billing dashboard (#588)
    
    * Added gcp-projects API to billing, new Billing CostByTime page
    
    * Updated StackedAreaByDateChart wiht more custom properties.
    milo-hyben authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0d609e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Bill 150 (#589)

    * FIX: navbar style fix
    
    * FIX: Dropdown to FieldSelector in BillingInvoiceMonthCost
    
    * API: add api changes to allow the get running cost query to filter using invoice month
    
    * API: add api changes to allow the get running cost query to filter using invoice month
    
    * FIX: Dropdown to FieldSelector in BillingInvoiceMonthCost
    
    * FIX: all pages and navigation/links working
    
    * FIX: fixed all of the navigate() issues now all links work
    
    * IN PROGRESS: trying to cache the call to the seqr prop map API endpoint. UI cleaned up.
    
    * LINT: fix typing issues in API
    
    * RM: console.log
    violetbrina authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5c2b758 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69be891 View commit details
    Browse the repository at this point in the history
  3. Billing cost by time data refactor (#592)

    * REFACOR: move data loading logic into the main page to be used by all charts
    
    * LINT: fix format
    
    * FIX: bug fix for _.uniq issue
    
    * LINT: fix format
    violetbrina authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6819f90 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Bil 225 (#596)

    * IN PROGRESS: data table on over time cost page
    
    * DONE: data table on time view page complete
    
    * LINT: fix format
    violetbrina authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    41c471d View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Billing - Bar & Donut charts (#597)

    * Added gcp-projects API to billing, new Billing CostByTime page
    
    * Updated StackedAreaByDateChart with more custom properties.
    
    * First version of Bar and Donut charts.
    
    * Upgrading babel / vulnerability.
    milo-hyben authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    c8248df View commit details
    Browse the repository at this point in the history
  2. Revert "Billing - Bar & Donut charts (#597)"

    This reverts commit c8248df.
    violetbrina committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    79daad6 View commit details
    Browse the repository at this point in the history
  3. Bil 242 - Hide billing pages when env variables aren't set (#600)

    * Bill 112 (#583)
    
    * START: add billing home page and data page
    
    * REFACTOR: NavBar
    
    * REFACTOR: NavBar
    
    * REFACTOR: NavBar - adding dropdown meny capability
    
    * ../
    
    * FIX: fixed style in the nav. Everythign but search bar
    
    * FIX: search bar fixed
    
    * DONE: menu and billing pages done
    
    * REMOVE: remove redundant code
    
    * LINT: fix format
    
    * [BIL-26] BILLING - User Story 1.3 (#578)
    
    * User Story 1.3: As a user, I want to sort costs by budget and by the percentage of budget used
    
    * First version of Current Billing Cost page.
    
    * Added dropdown to select grouping by Project, Topic or Dataset.
    
    * [BIL-39] User Story 2.3: As a user, I want to view costs in a time series with daily granularity in the billing dashboard (#588)
    
    * Added gcp-projects API to billing, new Billing CostByTime page
    
    * Updated StackedAreaByDateChart wiht more custom properties.
    
    * Bill 150 (#589)
    
    * FIX: navbar style fix
    
    * FIX: Dropdown to FieldSelector in BillingInvoiceMonthCost
    
    * API: add api changes to allow the get running cost query to filter using invoice month
    
    * API: add api changes to allow the get running cost query to filter using invoice month
    
    * FIX: Dropdown to FieldSelector in BillingInvoiceMonthCost
    
    * FIX: all pages and navigation/links working
    
    * FIX: fixed all of the navigate() issues now all links work
    
    * IN PROGRESS: trying to cache the call to the seqr prop map API endpoint. UI cleaned up.
    
    * LINT: fix typing issues in API
    
    * RM: console.log
    
    * Extended bq looks back time to 300 days as we do not have much loaded in the dev table. (#591)
    
    * Billing cost by time data refactor (#592)
    
    * REFACOR: move data loading logic into the main page to be used by all charts
    
    * LINT: fix format
    
    * FIX: bug fix for _.uniq issue
    
    * LINT: fix format
    
    * Bil 225 (#596)
    
    * IN PROGRESS: data table on over time cost page
    
    * DONE: data table on time view page complete
    
    * LINT: fix format
    
    * FIX: rename of variables
    
    * UPDATE: frontend now checks if the the billing endpoint is returning an OK status or not. Hides billing pages on any failed (not 200) status
    
    ---------
    
    Co-authored-by: Milo Hyben <milo-hyben@users.noreply.github.com>
    violetbrina and milo-hyben authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    1705d7b View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Billing small fixes (#601)

    * Added gcp-projects API to billing, new Billing CostByTime page
    
    * Updated StackedAreaByDateChart with more custom properties.
    
    * First version of Bar and Dount charts.
    
    * Upgrading babel / vulnerability.
    milo-hyben authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    ee8b231 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Billing - show 24H table fields only to the current invoice month (#604)

    * Fixing last 24H billing calculations.
    
    * Limit Budget % and 24H to only latest month.
    
    * Pick only the latest monthly budget row per gcp_project.
    
    * Added Last 24H UTC day to the table header.
    
    * Removing unused job_config.
    milo-hyben authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    80b673a View commit details
    Browse the repository at this point in the history
  2. Merged from dev.

    milo-hyben committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    ce9b13f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    b4b6b56 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    f4d7784 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    2dc9d2f View commit details
    Browse the repository at this point in the history
  2. Billing addressing comments (#609)

    * FIX: revert analysi.py, fix unused import
    
    * FIX: endpoint naming consistency
    
    * FIX: additional get_invoice_month_range comment detail
    
    * FIX: revert analysis.py db layer
    
    * FIX: remove hard coding in billing.py db layer
    
    * FIX: add clarrifying comments to billing.py layer
    
    * FIX: switch to defaultdict in billing layer, also some error message clarrification
    
    * FIX: Decimal to float
    violetbrina authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    cacc103 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3722cd View commit details
    Browse the repository at this point in the history