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

Epic: create and join rooms - Start Chat #680

Merged
merged 14 commits into from
Mar 14, 2023
Merged

Conversation

flescio
Copy link
Contributor

@flescio flescio commented Mar 7, 2023

Close #592

Add the button for starting the Star Chat flow, the button present the screen with only UI, more login in different tasks

@flescio flescio requested a review from alfogrillo March 7, 2023 15:03
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 0e3e2a6

@flescio flescio requested review from a team and pixlwave and removed request for a team March 7, 2023 15:11
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

Nice, this is really great first PR to the project 🙌 I see you found all of the form style modifiers. Hope they were self explanatory enough to use.

I'm sure you've noticed Unit tests need implementing, its probably worth pointing out UI tests are the same. Those run nightly so its down to us to remember to check them locally first. Various other comments inline.

One of our aims with the Element X project is to avoid lots of warnings popping up in the sidebar. Ideally if we could avoid merging lots of // TODO: comments this would be better for everyone. I was chatting to Stefan about maybe doing something like // ISSUE:123 instead so that they aren't warnings, but easily searchable and have an associated issue so everyone knows what is needed. Might bring this up on Friday for everyone to chat about :)

ElementX/Sources/Screens/HomeScreen/View/HomeScreen.swift Outdated Show resolved Hide resolved
ElementX/Sources/Screens/HomeScreen/View/HomeScreen.swift Outdated Show resolved Hide resolved
ElementX/Sources/Screens/StartChat/StartChatModels.swift Outdated Show resolved Hide resolved
ElementX/Sources/Application/AppSettings.swift Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Patch coverage: 1.03% and project coverage change: -0.68 ⚠️

Comparison is base (7eef869) 52.61% compared to head (0e3e2a6) 51.93%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #680      +/-   ##
===========================================
- Coverage    52.61%   51.93%   -0.68%     
===========================================
  Files          265      270       +5     
  Lines        14454    14647     +193     
  Branches      9150     9246      +96     
===========================================
+ Hits          7605     7607       +2     
- Misses        6623     6814     +191     
  Partials       226      226              
Flag Coverage Δ
unittests 20.92% <1.03%> (-0.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...mentX/Sources/Other/AccessibilityIdentifiers.swift 100.00% <ø> (ø)
...ptionsScreen/DeveloperOptionsScreenViewModel.swift 0.00% <0.00%> (ø)
...ionsScreen/View/DeveloperOptionsScreenScreen.swift 0.00% <0.00%> (ø)
...ces/Screens/HomeScreen/HomeScreenCoordinator.swift 75.60% <0.00%> (-3.88%) ⬇️
.../Sources/Screens/HomeScreen/HomeScreenModels.swift 81.25% <0.00%> (-5.42%) ⬇️
...X/Sources/Screens/HomeScreen/View/HomeScreen.swift 60.56% <0.00%> (-4.27%) ⬇️
...urces/Screens/StartChat/StartChatCoordinator.swift 0.00% <0.00%> (ø)
...tX/Sources/Screens/StartChat/StartChatModels.swift 0.00% <0.00%> (ø)
...Sources/Screens/StartChat/StartChatViewModel.swift 0.00% <0.00%> (ø)
...urces/Screens/StartChat/View/StartChatScreen.swift 0.00% <0.00%> (ø)
... and 5 more

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@alfogrillo alfogrillo left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

Co-authored-by: Alfonso Grillo <alfogrillo@element.io>
@flescio flescio requested a review from pixlwave March 10, 2023 10:55
@flescio flescio requested a review from pixlwave March 10, 2023 16:55
@pixlwave
Copy link
Member

Super, screenshots look 👌. The unit tests are failing due to not having run SwiftFormat. I think you need to run the project setup script to get this to run on commit.

swift run tools setup-project

Then in comparison to EI we have more checks to look at. So please look at fixing the SwiftLint warnings and SonarCloud code smells that would be awesome.

@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 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

LGTM 😎

@flescio flescio merged commit 8a069ec into develop Mar 14, 2023
@flescio flescio deleted the epic/create_and_join_rooms branch March 14, 2023 09:50
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.

Start new chat screen (UI)
3 participants