Skip to content

Conversation

@mfrasca
Copy link
Contributor

@mfrasca mfrasca commented May 21, 2019

I'm opening this PR as work in progress. the underlying idea is better visibility of the solving process for issue #544 .

mfrasca and others added 3 commits May 21, 2019 07:55
this is meant as a start for the patch fixing applegrew#544
I've included some of the print statements that helped me follow the process
--- I used more, near a few of the `__init__` methods involved.  you don't
want to produce `logging` info, or do you?  I still miss the point where the
final writing into `self.attrs` happens, and I'm not so sure what other
attributes need the same treatment, if any.  anyway, I really would rather
intervene on the final writing into `self.attrs`, in particular if we
collect more attributes than just this one.
@mfrasca
Copy link
Contributor Author

mfrasca commented May 21, 2019

this patch triggers 4 failures, all after a simulated click. three of them fail because the tests assert different results on different widgets, but the result is now Please enter 2 or more characters, which is possibly the correct behaviour.

mfrasca and others added 2 commits May 21, 2019 11:54
the thing is that here they didn't fail before, and don't fail now,
so this is mostly a shot in the dark.
@codingjoe
Copy link
Collaborator

@mfrasca I added one commit myself to change how the defaults are set. Would you mind reviewing it?

@codecov-io
Copy link

Codecov Report

Merging #547 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #547   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines           8      8           
=====================================
  Hits            8      8

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 2bb6f3a...082801e. Read the comment docs.

@codecov-io
Copy link

codecov-io commented May 23, 2019

Codecov Report

Merging #547 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #547   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines           8      8           
=====================================
  Hits            8      8

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 2bb6f3a...c0dd48a. Read the comment docs.

@mfrasca
Copy link
Contributor Author

mfrasca commented May 23, 2019

looks good to me. about testing, do you think you have all cases covered? I do miss some technical documentation, like the role of the parameters, or hints to "future me" because in a couple of weeks I will know nothing of this code. let me add, I'm quite happy about the process we followed. 👍

whenever I am back to using these widgets for the M2M, I'll review the docs and suggest additions if I miss anything.

@codingjoe codingjoe merged commit c15de46 into applegrew:master Jun 10, 2019
@marojenka
Copy link

Hi. Just as a remark. Enabling default value for data-minimum-input-length changed default behaviour so some ppl might be confused by this (I was a bit) as it was made in patch release.
Happy to have it regardless.

@mfrasca
Copy link
Contributor Author

mfrasca commented Aug 14, 2019

Hi. Just as a remark. Enabling default value for data-minimum-input-length changed default behaviour so some ppl might be confused by this (I was a bit) as it was made in patch release.
Happy to have it regardless.

may I suggest … do you think you can provide the unit test cases you are interested in?
as to guarantee that the behaviour stays frozen.

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.

4 participants