gazebo icon indicating copy to clipboard operation
gazebo copied to clipboard

components over time display name instead of id

Open JerrySentry opened this issue 1 year ago • 7 comments
trafficstars

fixes: https://github.com/codecov/engineering-team/issues/1702

The components table now displays component name instead of ID. This also fixes linking to the code tree view via clicking on the component names on the table

Screenshot 2024-05-07 at 4 09 43 PM Screenshot 2024-05-07 at 4 09 54 PM

The codecov.yml file looks like this for components. Notice that the name is being displayed now, and "banker" has no name so the ID is showing.

  individual_components:
    - component_id: dictionary
      name: DictionaryApp
      paths:
        - "**/dictionary.py"
    - component_id: calculator
      name: CalculatorApp
      paths:
        - "**/calculator.py"
      flag_regexes:
        - "unit"
    - component_id: banker
      paths:
        - "**/banker.py"
      flag_regexes:
        - "integration"

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

JerrySentry avatar May 07 '24 16:05 JerrySentry

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.48%. Comparing base (0704cb9) to head (d490b8c).

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2855   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files         875      875           
  Lines       12914    12916    +2     
  Branches     3397     3458   +61     
=======================================
+ Hits        12718    12720    +2     
  Misses        192      192           
  Partials        4        4           
Files Coverage Δ
...tsTab/subroute/ComponentsTable/ComponentsTable.tsx 95.83% <100.00%> (+0.05%) :arrow_up:
...able/DeleteComponentModal/DeleteComponentModal.tsx 100.00% <100.00%> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 54.54% <ø> (ø)
Layouts 97.26% <ø> (ø)
Pages 99.27% <100.00%> (+<0.01%) :arrow_up:
Services 99.47% <ø> (ø)
Shared 99.84% <ø> (ø)
UI 94.53% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0704cb9...d490b8c. Read the comment docs.

codecov-qa[bot] avatar May 07 '24 16:05 codecov-qa[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.48%. Comparing base (0704cb9) to head (d490b8c). Report is 2 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2855   +/-   ##
=====================================
  Coverage   98.48   98.48           
=====================================
  Files        875     875           
  Lines      12914   12916    +2     
  Branches    3457    3463    +6     
=====================================
+ Hits       12718   12720    +2     
  Misses       192     192           
  Partials       4       4           
Files Coverage Δ
...tsTab/subroute/ComponentsTable/ComponentsTable.tsx 95.83% <100.00%> (+0.05%) :arrow_up:
...able/DeleteComponentModal/DeleteComponentModal.tsx 100.00% <100.00%> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 54.54% <ø> (ø)
Layouts 97.26% <ø> (ø)
Pages 99.27% <100.00%> (+<0.01%) :arrow_up:
Services 99.47% <ø> (ø)
Shared 99.84% <ø> (ø)
UI 94.53% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0704cb9...d490b8c. Read the comment docs.

codecov[bot] avatar May 07 '24 16:05 codecov[bot]

Bundle Report

Changes will increase total bundle size by 141 bytes :arrow_up:

Bundle name Size Change
gazebo-staging-array-push 6.58MB 141 bytes :arrow_up:

codecov-staging[bot] avatar May 07 '24 16:05 codecov-staging[bot]

Bundle Report

Changes will increase total bundle size by 141 bytes :arrow_up:

Bundle name Size Change
gazebo-production-array-push 6.58MB 141 bytes :arrow_up:

codecov[bot] avatar May 07 '24 17:05 codecov[bot]

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Commit Created Cloud Enterprise
b15fa496047e797dd68c543b948cef88abfcacb6 Tue, 07 May 2024 17:04:01 GMT Expired Expired
681f0d76bf61eb50e3b1e24c0a066087e95ee68f Tue, 07 May 2024 18:04:47 GMT Expired Expired
bd8f13654893670f44dc92438b99acf7979e21ed Thu, 09 May 2024 16:17:52 GMT Expired Expired
d490b8cbd5e23d824eb3f2b5944d84f1d96885a2 Thu, 09 May 2024 17:30:11 GMT Cloud Enterprise

codecov-releaser avatar May 07 '24 17:05 codecov-releaser

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.48%. Comparing base (0704cb9) to head (d490b8c).

:white_check_mark: All tests successful. No failed tests found :relaxed:

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2855   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files         875      875           
  Lines       12914    12916    +2     
  Branches     3396     3458   +62     
=======================================
+ Hits        12718    12720    +2     
  Misses        192      192           
  Partials        4        4           
Files Coverage Δ
...tsTab/subroute/ComponentsTable/ComponentsTable.tsx 95.83% <100.00%> (+0.05%) :arrow_up:
...able/DeleteComponentModal/DeleteComponentModal.tsx 100.00% <100.00%> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 54.54% <ø> (ø)
Layouts 97.26% <ø> (ø)
Pages 99.27% <100.00%> (+<0.01%) :arrow_up:
Services 99.47% <ø> (ø)
Shared 99.84% <ø> (ø)
UI 94.53% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0704cb9...d490b8c. Read the comment docs.

codecov-public-qa[bot] avatar May 09 '24 17:05 codecov-public-qa[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:white_check_mark: All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2855   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files         875      875           
  Lines       12914    12916    +2     
  Branches     3462     3440   -22     
=======================================
+ Hits        12718    12720    +2     
  Misses        192      192           
  Partials        4        4           
Files Coverage Δ
...tsTab/subroute/ComponentsTable/ComponentsTable.tsx 95.83% <100.00%> (+0.05%) :arrow_up:
...able/DeleteComponentModal/DeleteComponentModal.tsx 100.00% <100.00%> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 54.54% <ø> (ø)
Layouts 97.26% <ø> (ø)
Pages 99.27% <100.00%> (+<0.01%) :arrow_up:
Services 99.47% <ø> (ø)
Shared 99.84% <ø> (ø)
UI 94.53% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0704cb9...d490b8c. Read the comment docs.