Skip to content

Update the UI strings for coverage upload status filter #1584

Closed

Description

@Adal3n3

Problem to solve

Description

The CI status filter is misleading because we do not currently record the CI Status, we only track internal processing status, so we will need to work with the platform team on that.

The description below is the true:
Complete: Upload completed
Pending: we have received the report, but haven’t started processing it.
Error: Error would be something wrong with the report, it’s empty, it’s got an unsupported format
Skipped: the CI skipped running for that commit. No tests run, no reports where uploaded (probably)

Screenshot 2024-04-16 at 10 49 11 AM

Possible solution

  1. Change the copy to “Coverage upload status” instead of "CI status"
  2. Change the copy to "All upload states" instead of "All CI states"
  3. Remove "skipped" from the dropdown selection
  4. Add aria labels on all the emojis (Column and multi-selection)

Screenshot 2024-04-17 at 12 14 39 PM

Figma: link

Action Checklist for Issue Creation

  • Add the design project (to the right under "projects" > settings icon > select "design team")
  • Share in relevant Slack channel (#discuss-codecov-product-design) for visiblity
  • Add targeted launch date/delivery date as/if needed

Additional Information

Activity

  1. added
    in discovery
    on Apr 16, 2024
  2. added
    Dev-Ready
    and removed
    in discovery
    on Apr 16, 2024
  3. Adal3n3 commented on Apr 16, 2024

    @Adal3n3
    Author

    @katia-sentry can you prioritize this issue? thx!

  4. nicholas-codecov commented on Apr 17, 2024

    @nicholas-codecov

    @katia-sentry this is blocked by API work, tho I don't see any tickets mentioned here about that.

  5. Adal3n3 commented on Apr 17, 2024

    @Adal3n3
    Author

    @nicholas-codecov this is not blocked by API work. Please review the solution section on this issue. We want to update the UI strings to reflect the true.

    This is the investigation issues for the API work:
    #1493
    #1489

  6. nicholas-codecov commented on Apr 17, 2024

    @nicholas-codecov

    How can we update the UI strings to reflect the truth if we can't fetch the truth?

    Are we not displaying the coverage upload status anywhere in the table?

  7. katia-sentry commented on Apr 17, 2024

    @katia-sentry
    Contributor

    @Adal3n3 I think @nicholas-codecov is right, we need the data to display the true info on the UI. I think we'll need to assign #1489 before doing this work. LMK if I'm missing something.

  8. Adal3n3 commented on Apr 17, 2024

    @Adal3n3
    Author

    @katia-sentry @nicholas-codecov The current filter is actually a coverage upload filter... so the UI strings update is around upload. Are you saying the coverage upload is also not from the truth? 🥲

    There's a new design from #1497 will cover the display for coverage upload status in the table so I removed it from this issue.

  9. nicholas-codecov commented on Apr 17, 2024

    @nicholas-codecov

    The CI status column is currently controlled by a boolean value true | false | null we can't display any but three things at the moment Passed | Failed | No Status, until the API is updated.

  10. nicholas-codecov commented on Apr 17, 2024

    @nicholas-codecov

    So diving into the api a bit more, there are four possible states a commit could be on:

    COMPLETE
    PENDING
    ERROR
    SKIPPED
    
  11. nicholas-codecov commented on Apr 17, 2024

    @nicholas-codecov

    I'm really confused as to what's being asked here, it's not very clear to me:

    • the changes to the dropdown, you want skipped removed but that's a valid commit state?
    • CI Status column (and ciStatus field from the API), is currently controlled by a true | false | null value so we can only show three things, so we can't show skipped for instance
    • We're not making any changes to the table to indicate to the user that they're actually seeing what they requested.
  12. codecovdesign commented on Apr 17, 2024

    @codecovdesign
    Contributor

    from a sync review with @Adal3n3 @katia-sentry (cc @nicholas-codecov):

    @Adal3n3 to close this ticket and update dropdown/copy updates and add to #1497, which should cover the key changes: 1) removing elements from table (project coverage, ci status), 2) updating current dropdown filter copy

  13. removed
    Dev-Ready
    on Apr 17, 2024
  14. changed the title [-]Update the UI strings for CI status filter[/-] [+]Update the UI strings for coverage upload status filter[/+] on Apr 17, 2024
  15. Adal3n3 commented on Apr 17, 2024

    @Adal3n3
    Author

    @codecovdesign @katia-sentry @nicholas-codecov

    I've updated the design to aligned with issue 1497 It's the same design but like @codecovdesign mentioned above this issue focus on the fix for dropdown/copy updates.

  16. codecovdesign commented on Apr 23, 2024

    @codecovdesign
    Contributor

    @Adal3n3 from the review and breakdown, we'll close this issue since it's interrelated to the updates on #1497; said differently, the needed copy updates here will be captured in #1497 – it doesn't work as standalone since the "CI status" columns is being removed opting for the 1497 column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions