Skip to content

Conversation

mabaasit
Copy link
Collaborator

@mabaasit mabaasit commented Apr 12, 2022

feat(aggregations): move maxTimeMS to Options COMPASS-5610

maxTimeMS in collation toolbar
maxTimeMS in collation toolbar

Pipeline builder specific settings only
Pipeline builder specific settings only

Collation toolbar post these changes
Collation toolbar post these changes

Collation toolbar prior to these changes
Collation toolbar prior to these changes

Description

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@mabaasit mabaasit changed the title COMPASS-5610-move-maxtime-ms feat(aggregations): move maxTimeMS to options COMPASS-5610 Apr 12, 2022
@mabaasit mabaasit marked this pull request as ready for review April 13, 2022 16:52
@mabaasit mabaasit requested a review from gribnoysup April 13, 2022 20:51
}

.max-time-ms {
width: 30%;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this will work well here, this should be a bit more dynamic, probably with a base width in pixels and not percentages, otherwise on small compass window sizes this looks like this:

image

white-space: nowrap;
border-radius: 14px;
padding: 2px 1px;
padding: 2px 4px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

padding-left: 4px makes sense to me, but on the right this feels very cramped, maybe let's do padding-right: 8px here?

outline-width: 0;
}

.max-time-ms {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can hide the arrow buttons here to make it more like the one in the query bar

@mabaasit mabaasit merged commit bd72419 into main Apr 15, 2022
@mabaasit mabaasit deleted the COMPASS-5610-move-maxtime-ms branch April 15, 2022 01:30
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