Skip to content

feat: New message composer - #5205

Merged
diegolmello merged 143 commits into
developfrom
feat.new-composer
Jan 25, 2024
Merged

diegolmello merged 143 commits into
developfrom
feat.new-composer

Conversation

@diegolmello

@diegolmello diegolmello commented Sep 8, 2023 •

Copy link
Copy Markdown
Member

Proposed changes

Issue(s)

Closes #5301

How to test or reproduce

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

diegolmello and others added 14 commits June 5, 2023 18:08
# Conflicts:
#	__tests__/containers/RoomItem/__snapshots__/RoomItem.stories.storyshot
#	app/lib/constants/colors.ts
#	e2e/tests/room/02-room.spec.ts
#	e2e/tests/room/05-threads.spec.ts
Co-authored-by: reinaldonetof <reinaldonetof@hotmail.com>
# Conflicts:
#	.circleci/config.yml
#	__tests__/containers/Button/__snapshots__/Button.stories.storyshot
#	__tests__/containers/LoginServices/__snapshots__/LoginServices.stories.storyshot
#	__tests__/containers/RoomHeader/__snapshots__/RoomHeader.stories.storyshot
#	__tests__/containers/RoomItem/__snapshots__/RoomItem.stories.storyshot
#	__tests__/containers/message/__snapshots__/Message.stories.storyshot
#	__tests__/views/CannedResponsesListView/__snapshots__/CannedResponseItem.stories.storyshot
#	__tests__/views/ThreadMessagesView/__snapshots__/Item.stories.storyshot
#	app/containers/ActionSheet/ActionSheet.tsx
#	app/containers/Status/index.tsx
#	app/containers/UIKit/UiKitMessage.stories.tsx
#	app/containers/UIKit/index.tsx
#	app/containers/message/index.tsx
#	app/i18n/locales/en.json
#	app/i18n/locales/pt-BR.json
#	app/lib/methods/handleMediaDownload.ts
#	app/lib/services/restApi.ts
#	app/views/RoomView/List/index.tsx
#	app/views/RoomView/index.tsx
#	e2e/tests/room/05-threads.spec.ts
#	e2e/tests/room/11-autoTranslate.spec.ts
#	ios/RocketChatRN.xcodeproj/project.pbxproj
#	jest.setup.js
#	patches/react-native-ui-lib+7.2.1.patch
#	yarn.lock
# Conflicts:
#	app/views/RoomView/List/NavBottomFAB.tsx
#	app/views/RoomView/List/index.tsx
#	app/views/RoomView/index.tsx
#	ios/RocketChatRN.xcodeproj/project.pbxproj
return (
<>
<BaseButton
onPress={() => editCancel?.()}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
onPress={() => editCancel?.()}
onPress={editCancel}

return null;
}

// TODO: Use RNGH

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👀

backgroundColor: colors.buttonBackgroundPrimaryDefault
}
]}
onPress={() => onPress()}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
onPress={() => onPress()}
onPress={onPress}

@dnlsilva

Copy link
Copy Markdown
Contributor

@dnlsilva

Copy link
Copy Markdown
Contributor

This is not a bug, however this "jump" that occurs when clicking on the input could be avoided if you disabled the input and only focused when clicking on it.
Like, before it goes up it is disabled and then when you click on the input it goes up and focuses on it.
https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/18687097/21c84cd1-2d9b-4d0a-a068-2f6551ebf9d2

@diegolmello
diegolmello merged commit 7bf7111 into develop Jan 25, 2024
@diegolmello
diegolmello deleted the feat.new-composer branch January 25, 2024 14:11
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.

User suggestions not available when using a slash command

2 participants