Skip to content

Conversation

@aniketchawardol
Copy link

Closing #1006
I have tried to fit as many controls as possible by making a single responsive row containing all controls. I have taken care that label and their values must be in the same row.

530625426-13e61b22-d86d-4356-922c-730c2ec4feab 530625468-394e1c66-80ff-4942-a910-b2e9942abb21 530625541-7572f270-8dc7-4dde-b130-7e672700b273

Generative AI disclosure

  • This contribution was assisted or created by Generative AI tools.
    • What tools were used? gemini
    • How were these tools used? initial draft of the code
    • Did you review these outputs before submitting this PR? Yes

@aniketchawardol
Copy link
Author

All the fixes:

Consolidated everything into one dbc.row by moving all 7 control groups, such as Weights and Y-axis and Date Picker, inside a single dbc.Row container so that control groups can be next, to each other.

Grouped each label and input together inside individual dbc.Col's . I also added a class to it that says "d-flex align-items-center". This makes the label sit next to the input instead of being on the top on it for lesser width screens.

Set the width to "auto" on every column so that the browser will use complete space needed for the content for Responsive Sizing.

Spacing: Added className="g-3" to the main row and className="me-2" to the labels to ensure consistent spacing between the elements.

AI review: checked python syntax and ensured latest bootstrap styling syntax is used, also checked for any obsolete code additions

Copy link
Collaborator

@cdolfi cdolfi left a comment

Choose a reason for hiding this comment

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

Everything is on the right row but the alignment class for the labels and their controls need to be added back. See https://eightknot.osci.io/chaoss if youd like to see how the are aligned in its current state

@aniketchawardol
Copy link
Author

Everything is on the right row but the alignment class for the labels and their controls need to be added back. See https://eightknot.osci.io/chaoss if youd like to see how the are aligned in its current state

Because of flexbox, the same code for alignment of controls were not effective. So I tried replicating the same appearance using different approach. let me know if this works!
image

Copilot AI review requested due to automatic review settings January 5, 2026 19:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates the project velocity visualization controls into a single responsive row layout to improve the UI organization and responsiveness, addressing issue #1006.

Key Changes:

  • Restructured layout from multiple separate dbc.Row elements into a single responsive row containing all controls
  • Wrapped each control group (label + input) in individual dbc.Col elements with flexbox utilities for proper alignment
  • Applied consistent spacing and responsive behavior using Bootstrap utility classes (d-flex, align-items-baseline, me-5, g-3)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aniketchawardol
Copy link
Author

image

@cdolfi
Copy link
Collaborator

cdolfi commented Jan 5, 2026

@aniketchawardol did you add copilot as a reviewer? If so please resolve all comments, thanks!

dbc.Row(
[

dbc.Col(
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this wrapped in a col? I dont believe its necessary (comment applies to following additions of col wrapping)

Copy link
Author

Choose a reason for hiding this comment

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

I have initially tested the same, but then values of some labels were falling back to next line. So to force the pair of label & value of a control to stay on a single line, I wrapped all the pairs into seperate cols.

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