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

Rename some function to avoid name clash #3705

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Oct 18, 2024

First commit is printing out warning during the generation of the gallery, such as:

Check for screenshots name duplication...
Duplicated screenshot name: SheetContent
    - features.messages.impl.timeline.components.reactionsummary_SheetContent
    - features.messages.impl.actionlist_SheetContent
Warning: 1 duplicated screenshot name(s) found

Second commit fix the existing issue.

The problem is visible (for now) in the gallery at https://element-hq.github.io/element-x-android/?a=1&w=100&l=de%2Cfr#SheetContent. (make sure to check Show all screenshots).

2 unrelated screens was in the same table section:

image

This change will also give better title to those 2 screens in the gallery

@bmarty bmarty requested a review from a team as a code owner October 18, 2024 13:52
@bmarty bmarty requested review from jmartinesp and removed request for a team October 18, 2024 13:52
@bmarty bmarty added the Record-Screenshots Runs the 'Record Screenshots' CI job and adds a commit with any new screenshots found. label Oct 18, 2024
@github-actions github-actions bot removed the Record-Screenshots Runs the 'Record Screenshots' CI job and adds a commit with any new screenshots found. label Oct 18, 2024
Copy link
Contributor

github-actions bot commented Oct 18, 2024

📱 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/jtpLkL

Copy link

sonarcloud bot commented Oct 18, 2024

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.02%. Comparing base (b0df319) to head (ab59a73).
Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
.../components/reactionsummary/ReactionSummaryView.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3705   +/-   ##
========================================
  Coverage    83.02%   83.02%           
========================================
  Files         1752     1752           
  Lines        43780    43772    -8     
  Branches      5121     5121           
========================================
- Hits         36347    36341    -6     
+ Misses        5612     5610    -2     
  Partials      1821     1821           

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

@bmarty bmarty added the PR-Misc For other changes label Oct 18, 2024
Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

I wish we had a better solution than renaming the component, but at least this way we'd have a way to get notified of these issues. Thanks!

@bmarty bmarty merged commit 714f74a into develop Oct 18, 2024
28 of 29 checks passed
@bmarty bmarty deleted the feature/bma/sheetContentPreview branch October 18, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Misc For other changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants