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

Tw 403/share files by twake #526

Merged
merged 2 commits into from
Aug 30, 2023
Merged

Tw 403/share files by twake #526

merged 2 commits into from
Aug 30, 2023

Conversation

sherlockvn
Copy link
Contributor

@sherlockvn sherlockvn commented Aug 25, 2023

Done work:

  • Refactor Forward screen, chat list
  • Navigate to Share screen
  • use component in Forward screen to build Share screen

Demo ios:

https://photos.app.goo.gl/7VrGnpkn6C2oqTtx7

Demo Android:

Screen.Recording.2023-08-29.at.13.51.41.mov

@nqhhdev
Copy link
Member

nqhhdev commented Aug 27, 2023

It's support for web right? Pls add small demo

lib/pages/chat/chat.dart Outdated Show resolved Hide resolved
lib/pages/share/share.dart Outdated Show resolved Hide resolved
@sherlockvn
Copy link
Contributor Author

It's support for web right? Pls add small demo

Not right now, my ticket focus on mobile: android and iOS

@sherlockvn sherlockvn temporarily deployed to PR-526 August 28, 2023 10:03 — with GitHub Actions Inactive
@github-actions
Copy link

This PR has been deployed to https://linagora.github.io/twake-on-matrix/526

@sherlockvn sherlockvn temporarily deployed to PR-526 August 28, 2023 10:41 — with GitHub Actions Inactive
Comment on lines +80 to +83
receive_sharing_intent:
git:
url: git@github.com:krabbenprgr/receive_sharing_intent.git
ref: receive-.txt-v2
Copy link
Member

Choose a reason for hiding this comment

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

why we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The package is not maintained by the author. In the repository, it has a lot of PRs pending and nice features, so this PRs allow share .txt files.

enabled: false,
decoration: InputDecoration(
filled: true,
contentPadding: const EdgeInsets.all(0),
Copy link
Contributor

Choose a reason for hiding this comment

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

does it have the same effect ?
isCollapsed: true

Copy link
Contributor Author

@sherlockvn sherlockvn Aug 28, 2023

Choose a reason for hiding this comment

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

i think its different. i will try it tomorrow.

return TwakeFloatingActionButton(
icon: Icons.send,
size: 18.0,
onTap: () => controller.shareTo(
Copy link
Contributor

@drminh2807 drminh2807 Aug 29, 2023

Choose a reason for hiding this comment

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

Suggested change
onTap: () => controller.shareTo(
onTap: () => controller.onSubmit(context),

view should pass view params only, controller knows it's params itself

Copy link
Contributor

Choose a reason for hiding this comment

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

still not fixed

@sherlockvn sherlockvn temporarily deployed to PR-526 August 29, 2023 03:48 — with GitHub Actions Inactive
@sherlockvn sherlockvn temporarily deployed to PR-526 August 29, 2023 06:43 — with GitHub Actions Inactive
@sherlockvn sherlockvn temporarily deployed to PR-526 August 29, 2023 07:22 — with GitHub Actions Inactive
valueListenable: widget.controller.forwardMessageNotifier,
builder: (context, forwardMessageNotifier, child) {
if (forwardMessageNotifier == null) {
class ForwardButton extends StatelessWidget {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
class ForwardButton extends StatelessWidget {
class _ForwardButton extends StatelessWidget {

@sherlockvn sherlockvn temporarily deployed to PR-526 August 29, 2023 08:26 — with GitHub Actions Inactive
@sherlockvn sherlockvn temporarily deployed to PR-526 August 29, 2023 12:16 — with GitHub Actions Inactive
@hoangdat hoangdat merged commit 712f0d8 into main Aug 30, 2023
3 checks passed
@hoangdat hoangdat deleted the TW-403/share-files-by-twake branch September 25, 2023 10:34
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.

5 participants