Skip to content

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Jun 28, 2021

COMPASS-4906
This PR updates how we show collection stats for time-series collections. Because time-series collections are a form of view we don't currently have metadata on the estimated count of documents. Now for time-series collections we only show the total collection size in the collection stats header.

Did a bit of cleanup/refactoring, moving two components out of hadron app component space and into components. I didn't see anywhere else using the CollectionHUD role namespace so I think it should be safe to do this.

Normal collection:
Screen Shot 2021-06-28 at 3 10 42 PM

Time-series collection:
Screen Shot 2021-06-28 at 3 10 54 PM

The export modal still needs to not use estimatedDocumentCount for time-series collections, but I'll do that in a separate pr.

@Anemy Anemy merged commit 1cfcd64 into main Jun 29, 2021
@Anemy Anemy deleted the COMPASS-4906-2 branch June 29, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants