Skip to content

Conversation

darek607
Copy link
Contributor

  • adjustments to button, toggle and dropdown (after comparing with ML1),
  • unit tests improvements

device-2020-01-28-151028

device-2020-01-28-151049

device-2020-01-28-151233

@darek607 darek607 added the Android Related to Android platform. label Jan 29, 2020
@@ -412,4 +412,11 @@ abstract class UiNode(
}
}
}

class Test(private val uiNode: UiNode) {
Copy link
Contributor

Choose a reason for hiding this comment

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

With private uiNode you can only trigger performClick() method, you won't be able to test it like this:

val testNode = UiNode.Test(UiButtonNode(...))
testNode.uiNode.methodInvoke()

@@ -444,4 +433,18 @@ abstract class TransformNode(
}
}
}

class Test(private val node: TransformNode) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as below, with private you can't test the node wrapped in Test class

@darek607 darek607 merged commit 40bc16f into master Jan 30, 2020
@darek607 darek607 deleted the improve/nodes_adjustmens_android branch January 30, 2020 09:54
panwrona pushed a commit that referenced this pull request Feb 7, 2020
* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* cr fixes
panwrona pushed a commit that referenced this pull request Feb 12, 2020
* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* cr fixes
panwrona pushed a commit that referenced this pull request Feb 12, 2020
* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* cr fixes
panwrona added a commit that referenced this pull request Feb 12, 2020
* Update toggles assets.

* Adjust toggle layout.

* fitXY scale mode for images

* Update toggles asset.

* drawing tab witout border

* Make progressBar static variables public.

* Fix unit tests.

* scrolbar properties rename

* Update.

* Set padding alignment per item (#390)

* Set padding/alignment per item
ref: #388

* component size fixes

* padding/alignment list refactor

* cr fix

* cr fix

* cr fix

* Improve/Dropdown adjustments (#392)

* dropdown event adjustments

* multi selection

* dropdown fixes and tests

* selected property support and refactor

* dropdown fixes, bold typeface for selected items, tests

* native list view for dropdown items

* custom adapter

* padding and fixes

* text size, background, fixes

* selecting item in native list view, fixes

* rednering dropdown at top of otehr views, fixes

* dropdown background

* tests update for dropdown, refactor

* cr fixes part1

* cr refactor part 2

* refactor

* Bugfix/Layouts bounds calculation fix (#401)

* layout bounds calculation fix

* tests improvement

* Fixed padding/alignment per item in PageView (#403)

* Fixed padding/alignment per item in PageView
also tests for LayoutUtils
ref #402

* Fixed padding/alignment per item in PageView
also tests for LayoutUtils
ref #402

* Improve/New toggles graphics (#404)

* replaced png to vector icons

* colors adjsutments

* alignment and spacing fix for toggles

* GH Actions for feature branches on JSX & Android updated. (#405)

* updated the tested properties and events (#406)

* HotFIX: GHAction trigger.

* Updated props for GridLayout padding and alignment (#407)

* Updated props for GridLayout padding and alignment
ref:#402

* containsAll refactor&tests

* Improve/Nodes adjustments on Android (#408)

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* cr fixes

* iOS RN Bridge performance improvement. (#412)

* PlaneDetector common interface & iOS. (#410)

* Initial implementation.
* UTs updated.
* Vertices transformed with anchor.transform.
* SurfaceNode - initial implementation.
* SurfaceNode tap - initial implementation.
* UTs update & post review fixes.

* Improve/Dropdown adjustments (#392)

* dropdown event adjustments

* multi selection

* dropdown fixes and tests

* selected property support and refactor

* dropdown fixes, bold typeface for selected items, tests

* native list view for dropdown items

* custom adapter

* padding and fixes

* text size, background, fixes

* selecting item in native list view, fixes

* rednering dropdown at top of otehr views, fixes

* dropdown background

* tests update for dropdown, refactor

* cr fixes part1

* cr refactor part 2

* refactor

* Improve/Nodes adjustments on Android (#408)

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* nodes adjustments after comparision with ML1

* dropdown,button and toggle adjustments

* unit tests and refactor

* cr fixes

* Add native plane detection for Android

* Add unit tests for android plane detection

* Fixes after Code Review

Co-authored-by: Paweł Leszkiewicz <pleszkiewicz@users.noreply.github.com>
Co-authored-by: darek607 <darekkoniecz@gmail.com>
Co-authored-by: Sebastian Paluchiewicz <42351184+SPaluchiewiczSofomo@users.noreply.github.com>
Co-authored-by: Grzegorz Dec <grzegorz.dec@blstream.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Related to Android platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants