Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Switch from React to Compose #134

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Switch from React to Compose #134

wants to merge 3 commits into from

Conversation

SerVB
Copy link
Member

@SerVB SerVB commented Feb 17, 2022

Here React is removed and the components are rewritten in Compose

@SerVB SerVB requested a review from ARTI1208 February 17, 2022 18:52
@SerVB SerVB marked this pull request as ready for review February 17, 2022 20:58
@SerVB
Copy link
Member Author

SerVB commented Feb 24, 2022

@Schahen @Skolotsky could you please review too (if you have time)?

@codecov-commenter
Copy link

Codecov Report

Merging #134 (d3f64a5) into master (1d97409) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #134   +/-   ##
=========================================
  Coverage     25.19%   25.19%           
  Complexity       63       63           
=========================================
  Files           132      132           
  Lines          3890     3893    +3     
  Branches        407      407           
=========================================
+ Hits            980      981    +1     
- Misses         2889     2891    +2     
  Partials         21       21           
Impacted Files Coverage Δ
...s/projector/common/protocol/toClient/WindowData.kt 6.52% <0.00%> (-0.30%) ⬇️
...ains/projector/util/loading/state/IdeStateUtils.kt 0.00% <0.00%> (ø)
...ns/projector/common/protocol/handshake/Constant.kt 100.00% <0.00%> (ø)

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 1d97409...d3f64a5. Read the comment docs.

gradle.properties Outdated Show resolved Hide resolved
Comment on lines +65 to +68
top(3.px)
left(37.px)
width(6.px)
height(18.px)
Copy link
Contributor

Choose a reason for hiding this comment

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

How these values are calculated? Or do they come from removed radium / react-loading-indicator ?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, radium / react-loading-indicator are removed for good. Everything is taken from https://loading.io/css/ (CC0 license) now, just the first link after searching something like "css create loading indicator". Let me restore comment about that.

Actually, I haven't made any research how this thing works. Thank you for pushing me to understand it and finding the stuff that can be rewritten as constants.

I guess I should have spend more time on understanding this copy-pasted sample. Since switching to Compose isn't a high priority task, will do that a bit later. And will request your review afterwards.

Co-Authored-By: Art Pinch <leonardo906@mail.ru>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants