Skip to content
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

Clean code before SuperCollapsedBlock feature #1683

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

KevinBoulongne
Copy link
Contributor

Depends on #1677

@KevinBoulongne KevinBoulongne added the optimization Improve the performance or efficiency of the code label Feb 1, 2024
@KevinBoulongne KevinBoulongne requested a review from a team as a code owner February 1, 2024 12:55
@github-actions github-actions bot added the dependent This MR depends on another PR label Feb 1, 2024
@KevinBoulongne KevinBoulongne force-pushed the clean-code branch 2 times, most recently from 6b2cb20 to 16b0812 Compare February 2, 2024 09:29
@KevinBoulongne KevinBoulongne force-pushed the tablet-focus branch 2 times, most recently from 4b9bd04 to 4608662 Compare February 2, 2024 13:25
@KevinBoulongne KevinBoulongne force-pushed the clean-code branch 3 times, most recently from 1cf5529 to 0c3d543 Compare February 5, 2024 07:36
Base automatically changed from tablet-focus to master February 5, 2024 08:43
@github-actions github-actions bot removed the dependent This MR depends on another PR label Feb 5, 2024
Copy link

github-actions bot commented Feb 5, 2024

This PR/issue depends on:

@KevinBoulongne KevinBoulongne force-pushed the clean-code branch 3 times, most recently from ff9abb4 to 6193d76 Compare February 6, 2024 05:39
@KevinBoulongne KevinBoulongne mentioned this pull request Feb 6, 2024
.indexOfFirst { it is Thread && it.uid == threadUid }
.takeIf { position -> position != -1 }
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can group override methods together?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We sort them by logic.

var initialSetOfExpandedMessagesUids = setOf<String>()
private val currentSetOfLoadedExpandedMessagesUids = mutableSetOf<String>()
private var hasNotScrolledYet = true
//endregion
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can also group public and private variables?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We sort them by logic.

Copy link

sonarqubecloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@KevinBoulongne KevinBoulongne merged commit ac72666 into master Feb 8, 2024
4 checks passed
@KevinBoulongne KevinBoulongne deleted the clean-code branch February 8, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Improve the performance or efficiency of the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants