Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(Timeinput): input width for multi-character duration units #857

Merged
merged 4 commits into from
Oct 4, 2022

Conversation

ChitlangeSahas
Copy link
Contributor

@ChitlangeSahas ChitlangeSahas commented Oct 4, 2022

Part of : #2815

Low risk, since that component isn't used anywhere in the UI. Just for my new feature.

Screen Shot 2022-10-04 at 11 05 25 AM

Changes

// Describe what you changed

Screenshots

// Add screenshots here if relevant

Checklist

Check all that apply

  • Updated documentation to reflect changes
  • Added entry to top of Changelog with link to PR (not issue)
  • Tests pass
  • Peer reviewed and approved
  • Signed CLA (if not already signed)

@ChitlangeSahas ChitlangeSahas changed the title Timeinput width fix(Timeinput): input width for multi-character duration units Oct 4, 2022
@ChitlangeSahas ChitlangeSahas marked this pull request as ready for review October 4, 2022 18:05
@ChitlangeSahas ChitlangeSahas requested a review from a team October 4, 2022 18:05
### 6.3.7 (2022-09-26)

- [835](https://github.com/influxdata/clockface/pull/840): Some Icons were rendering the wrong font files. This fixes it.
- [844](https://github.com/influxdata/clockface/pull/844): Some Icons were rendering the wrong font files. This fixes it.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

wrong PR link earlier.

### 6.3.7 (2022-09-26)

- [835](https://github.com/influxdata/clockface/pull/840): Some Icons were rendering the wrong font files. This fixes it.
- [844](https://github.com/influxdata/clockface/pull/844): Some Icons were rendering the wrong font files. This fixes it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Missing new line

Comment on lines 18 to 22
const TIME_INPUT_DROPDOWN_SIZE = {
xs: '60px',
sm: '66px',
sm: '100px',
md: '70px',
lg: '90px',
Copy link
Contributor

Choose a reason for hiding this comment

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

The only thing I am concerned about is that sm is now the biggest size.

Copy link
Contributor Author

@ChitlangeSahas ChitlangeSahas Oct 4, 2022

Choose a reason for hiding this comment

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

I was about to comment about it, this component isn't used anywhere so we never caught that the different component sizes were never used.

But now that I am in the component, let me just fix that.

@ChitlangeSahas ChitlangeSahas requested a review from TCL735 October 4, 2022 18:32
@ChitlangeSahas ChitlangeSahas merged commit d59fb30 into master Oct 4, 2022
@ChitlangeSahas ChitlangeSahas deleted the timeinput_width branch October 4, 2022 19:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants