Skip to content

PollCreate: Focus on question field when opening screen. #1194

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

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

julioromano
Copy link

No description provided.

@julioromano julioromano requested a review from a team as a code owner August 31, 2023 07:20
@julioromano julioromano self-assigned this Aug 31, 2023
@julioromano julioromano requested review from bmarty and removed request for a team August 31, 2023 07:20
@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2023

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/kb2v1w

@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01% 🎉

Comparison is base (1d3d1fe) 57.28% compared to head (3ae9d17) 57.29%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1194      +/-   ##
===========================================
+ Coverage    57.28%   57.29%   +0.01%     
===========================================
  Files         1044     1044              
  Lines        27182    27192      +10     
  Branches      5603     5603              
===========================================
+ Hits         15570    15580      +10     
  Misses        9184     9184              
  Partials      2428     2428              
Files Changed Coverage Δ
...ndroid/features/poll/impl/create/CreatePollView.kt 55.43% <100.00%> (+5.43%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@julioromano julioromano force-pushed the julioromano/pollcreate_focus branch from b9206af to 3ae9d17 Compare August 31, 2023 07:54
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

Tested OK, thanks!

@@ -68,6 +75,10 @@ fun CreatePollView(
onSubmitClicked = { state.eventSink(CreatePollEvents.NavBack) },
onDismiss = { state.eventSink(CreatePollEvents.HideConfirmation) }
)
val questionFocusRequester = remember { FocusRequester() }
Copy link
Member

Choose a reason for hiding this comment

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

As a remark, there are other usage of FocusRequester() in teh codebase, by we never used remember for them. I guess we should do.

@julioromano julioromano merged commit 50869d7 into develop Aug 31, 2023
@julioromano julioromano deleted the julioromano/pollcreate_focus branch August 31, 2023 10:08
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