Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Use TextInput and Button in Grid #600

Merged
merged 5 commits into from Oct 4, 2018
Merged

Conversation

smhigley
Copy link
Contributor

@smhigley smhigley commented Oct 1, 2018

Type: feature

The following has been addressed in the PR:

  • There is a related issue
  • All code matches the style guide
  • Unit or Functional tests are included in the PR

Description:

  • Updates the grid cell to use TextInput and Button widgets
  • Improves focus handling for cell editing
  • Improves focus handling and focusability for TextInput and Button widgets
  • updates grid filtering to be case-insensitive

@@ -35,7 +36,7 @@ export interface ButtonProperties extends ThemedProperties, InputEventProperties
onClick?(): void;
}

export const ThemedBase = ThemedMixin(WidgetBase);
export const ThemedBase = ThemedMixin(FocusMixin(WidgetBase));
Copy link
Member

Choose a reason for hiding this comment

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

Not really ThemedBase anymore 😃

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hah, I never even noticed it was called that 😂

@agubler
Copy link
Member

agubler commented Oct 1, 2018

You got a failing test.

@codecov
Copy link

codecov bot commented Oct 1, 2018

Codecov Report

Merging #600 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #600      +/-   ##
==========================================
+ Coverage   98.94%   98.94%   +<.01%     
==========================================
  Files          42       42              
  Lines        3040     3043       +3     
  Branches      820      820              
==========================================
+ Hits         3008     3011       +3     
  Misses         32       32
Impacted Files Coverage Δ
src/enhanced-text-input/index.ts 100% <ø> (ø) ⬆️
src/grid/utils.ts 100% <100%> (ø) ⬆️
src/text-input/index.ts 100% <100%> (ø) ⬆️
src/grid/widgets/Cell.ts 100% <100%> (ø) ⬆️
src/button/index.ts 100% <100%> (ø) ⬆️
src/combobox/index.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fca00e0...25c537c. Read the comment docs.

@smhigley smhigley merged commit b97596f into dojo:master Oct 4, 2018
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.

None yet

2 participants