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

Remove EntryMenuController and OperationMenuController #3313

Merged
merged 4 commits into from
Oct 10, 2023

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Sep 13, 2023

This PR removes EntryMenuController and OperationMenuController, see #1551.
Remaining controllers are now "only" the ones related to the login process.

The "operation view" at the bottom is replaced by snackbars.

One thing worth mentioning:
I have removed the join via public link feature for now. This was buggy, complex and incomplete.
This feature must be reimplemented in a more useful place (login screen, so you can use it as a guest without using an existing instance, see #261).

Screenshots

UI changes were not the main goal of this PR, but for the sake of completeness here's what's changed UI-wise.

The actions can be triggered via the long click menu in the conversations screen (and Create conversation via Contacts screen)

before

any successful action rename conversation create conversation
grafik grafik grafik

after

added to favorites removed from favorites
grafik grafik
marked as unread marked as read
grafik grafik
rename conversation create conversation (via Contacts screen) Delete conversation
grafik grafik grafik

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi force-pushed the refactor/noid/replaceEntryMenuController branch 3 times, most recently from 0677a7d to 27563a2 Compare October 2, 2023 15:27
@mahibi mahibi changed the title Refactor/noid/replace entry menu controller Remove EntryMenuController and OperationMenuController Oct 2, 2023
@mahibi mahibi self-assigned this Oct 2, 2023
@mahibi mahibi added the 3. to review Waiting for reviews label Oct 2, 2023
@mahibi mahibi added this to the 17.2.0 milestone Oct 2, 2023
@mahibi mahibi marked this pull request as ready for review October 2, 2023 15:48
@mahibi mahibi force-pushed the refactor/noid/replaceEntryMenuController branch 2 times, most recently from 8c6a99c to c135c0e Compare October 4, 2023 14:20
@AndyScherzinger

This comment was marked as resolved.

@AndyScherzinger
Copy link
Member

added to favorites removed from favorites
grafik grafik

Fine for now, for a future version let's shorten the text by removing the conversation name but adding an UNDO action - like GMail does for delete/archive

AndyScherzinger

This comment was marked as resolved.

@AndyScherzinger AndyScherzinger added the technical debt Technical issue label Oct 4, 2023
The "operation view" at the bottom is replaced by snackbars.

I have removed the join via public link feature for now. This was buggy, complex and incomplete. This feature must be reimplemented in a more useful place (login screen, so you can use it as a guest without using an existing instance).

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi mahibi force-pushed the refactor/noid/replaceEntryMenuController branch from b331c74 to 2975f6d Compare October 10, 2023 16:26
@mahibi
Copy link
Collaborator Author

mahibi commented Oct 10, 2023

@AndyScherzinger
done with your suggested changes.
can you approve the PR?

@mahibi mahibi enabled auto-merge October 10, 2023 16:35
Signed-off-by: github-actions <github-actions@github.com>
@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings9189
Errors00

SpotBugs

CategoryBaseNew
Correctness99
Dodgy code123123
Internationalization55
Malicious code vulnerability33
Performance88
Security22
Total150150

@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/3313-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

@AndyScherzinger AndyScherzinger self-requested a review October 10, 2023 17:24
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

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

Tested successfully 👍

@AndyScherzinger AndyScherzinger merged commit eb5c6d1 into master Oct 10, 2023
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the refactor/noid/replaceEntryMenuController branch October 10, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews technical debt Technical issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants