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
Remove "add new segment" selector in segment editor #17998
Conversation
@peterhashair nice! Could we instead of having a CSS solution that adds more css instead remove the HTML for that part? |
remove css and html
build js |
fix IE 11
mysql row format dynamic updates
revert wrong branch change
update grid to inline-block
update some css
update new screenshot
update one more image
add no wrap to the display
@tsteur updated it, it should wrap the text in one line. |
@peterhashair just tested it. And seems when you make the browser smaller there are certain sizes where it shows like in the screenshot below vs before this was not the case and it was always showing correctly |
fix the UI on different device
@tsteur thanks for pointing that out, fixed it. Also, I noticed the visit-in real-time widgets UI is broken on your screen as well. |
update images
@sgiehl Sorry to bother, regard those files, are they still there? I saw those in the PR
|
@peterhashair Seems they are meanwhile removed. Last time I had a look at the diff they were still in place.... |
@peterhashair There are still a few UI tests failing. See https://app.travis-ci.com/github/matomo-org/matomo/jobs/539682400#L1182 matomo/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js Lines 88 to 93 in 29819cc
|
@sgiehl yeah, I am trying to figure out those 2 tests as well, something wrong with my PR images, the expected images are correct, I will update the test code a little bit to fix that one. |
update segment selector test
update image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are changes on the expected screenshot file tests/UI/expected-screenshots/ViewDataTableTest_exclude_low_population.png
, which seem unrelated to this PR, so might be good not to update it here.
@sgiehl sorry, that was my bad, pushed the wrong one. |
update js test
update segment screen and test
update test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the ui screenshots and removed some unneeded css code. Now everything seems to be fine 👍
Description:
File Changes
segmentgenerator.directive.less
Segmentation.js
segmentation.less
_segmentSelector.twig
SegmentSelectorEditor_spec.js
Review