Skip to content

feat(Cells): Create cells folder flow (WPB-17272)#4002

Merged
ohassine merged 7 commits intodevelopfrom
create-folder-cells
Apr 29, 2025
Merged

feat(Cells): Create cells folder flow (WPB-17272)#4002
ohassine merged 7 commits intodevelopfrom
create-folder-cells

Conversation

@ohassine
Copy link
Member

@ohassine ohassine commented Apr 24, 2025

TaskWPB-17272 [Android] Create a folder


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Description

  • Added a new floating button
  • Added a new bottom sheet
  • Added a new screen for creating a new folder
  • Moved to shared UI components to the shared module
Screen_recording_20250424_151220.webm

Needs releases with:

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.

Notes (Optional)

Specify here any other facts that you think are important for this issue.

Attachments (Optional)

Attachments like images, videos, etc. (drag and drop in the text box)


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@ohassine ohassine requested review from a team, MohamadJaara, sbakhtiarov, typfel, vitorhugods and yamilmedina and removed request for a team April 24, 2025 13:15
@codecov
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

Attention: Patch coverage is 46.15385% with 7 lines in your changes missing coverage. Please review.

Project coverage is 46.04%. Comparing base (dd82370) to head (e5601fd).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...c/main/kotlin/com/wire/android/util/StringUtils.kt 46.15% 4 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4002   +/-   ##
========================================
  Coverage    46.04%   46.04%           
========================================
  Files          518      519    +1     
  Lines        18081    18081           
  Branches      3037     3037           
========================================
  Hits          8326     8326           
  Misses        8891     8891           
  Partials       864      864           
Files with missing lines Coverage Δ
...rc/main/kotlin/com/wire/android/util/StringUtil.kt 100.00% <ø> (+50.00%) ⬆️
...c/main/kotlin/com/wire/android/util/StringUtils.kt 46.15% <46.15%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd82370...e5601fd. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Contributor

Built wire-android-staging-compat-pr-4002.apk is available for download

@github-actions
Copy link
Contributor

Built wire-android-dev-debug-pr-4002.apk is available for download

@github-actions
Copy link
Contributor

Built wire-android-staging-compat-pr-4002.apk is available for download

@github-actions
Copy link
Contributor

Built wire-android-dev-debug-pr-4002.apk is available for download

val state by viewModel.state.collectAsState()
val sheetState = rememberWireModalSheetState<Unit>()

FilesNewActionsBottomSheet(
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have this menu only for conversation files? Maybe we could move it to the "CellScreenContent" so that this bottom sheet will be available also on the all files screen?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes only for conversation files.

elevation = dimensions().spacing0x
)
},
floatingActionButton = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as for the menu. We could move this also to "CellScreenContent" to make the FAB available for all file list screens.

Copy link
Member Author

Choose a reason for hiding this comment

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

We don't want to show it there, only in conversation files

@ohassine ohassine enabled auto-merge April 29, 2025 11:25
@sonarqubecloud
Copy link

@ohassine ohassine added this pull request to the merge queue Apr 29, 2025
Merged via the queue into develop with commit 798be72 Apr 29, 2025
12 of 13 checks passed
@ohassine ohassine deleted the create-folder-cells branch April 29, 2025 11:51
@github-actions
Copy link
Contributor

Built wire-android-staging-compat-pr-4002.apk is available for download

@github-actions
Copy link
Contributor

Built wire-android-dev-debug-pr-4002.apk is available for download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants