Skip to content

Comments

Initial 0.1 rework of App.kt#1565

Merged
orchestr7 merged 8 commits intomasterfrom
feature/first-rework-app
Dec 17, 2022
Merged

Initial 0.1 rework of App.kt#1565
orchestr7 merged 8 commits intomasterfrom
feature/first-rework-app

Conversation

@orchestr7
Copy link
Member

What's done:

  • Possibly breaking, risky change
  • Moving App.kt routs to a separate file (initial version)

Will be done in 3 phazes

### What's done:
- Possibly breaking, risky change
- Moving App.kt routs to a separate file (initial version)

Will be done in 3 phazes
@orchestr7 orchestr7 marked this pull request as draft December 5, 2022 14:58
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

ktlint found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Merging #1565 (e97d9dd) into master (a08b7d3) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1565      +/-   ##
============================================
- Coverage     35.73%   35.72%   -0.02%     
- Complexity      519      520       +1     
============================================
  Files           234      235       +1     
  Lines          6416     6422       +6     
  Branches        656      653       -3     
============================================
+ Hits           2293     2294       +1     
- Misses         3956     3962       +6     
+ Partials        167      166       -1     
Impacted Files Coverage Δ
...c/main/kotlin/com/saveourtool/save/frontend/App.kt 13.33% <ø> (+8.20%) ⬆️
.../saveourtool/save/frontend/routing/BasicRouting.kt 0.00% <0.00%> (ø)
...ol/save/orchestrator/service/HeartBeatInspector.kt 73.68% <0.00%> (+1.75%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

### What's done:
- Possibly breaking, risky change
- Moving App.kt routs to a separate file (initial version)

Will be done in 3 phazes
### What's done:
- if method is used inside the transactional, then it should be itself transactional
- adding Modifying annotation also to mark delete query
@orchestr7 orchestr7 marked this pull request as ready for review December 15, 2022 11:40
…to feature/first-rework-app

� Conflicts:
�	save-frontend/src/main/kotlin/com/saveourtool/save/frontend/components/views/demo/DiktatDemoView.kt
* Just put a map: View -> Route URL to this list
*/
val basicRouting: FC<AppProps> = FC { props ->
val contestView: FC<Props> = withRouter { location, params ->
Copy link
Member

Choose a reason for hiding this comment

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

I think all these FCs need to be declared on top level, not inside another FC

Copy link
Member Author

Choose a reason for hiding this comment

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

That’s not possible when you have props and need to pass them…

@orchestr7 orchestr7 merged commit e779160 into master Dec 17, 2022
@orchestr7 orchestr7 deleted the feature/first-rework-app branch December 17, 2022 12:26
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.

2 participants