fix: Updating placeholder of input field on invite modal used on edit & deployed app (#19245)

## Description

> Updating placeholder of input field on invite modal used on edit &
deployed app

Fixes [#19309](https://github.com/appsmithorg/appsmith/issues/19309)

## Type of change

- Updating placeholder


## How Has This Been Tested?
> Works as expected now.

- Manual

## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
This commit is contained in:
Ankita Kinger 2023-01-02 17:48:26 +05:30 committed by GitHub
parent 5a98e8f4ba
commit 39c5863ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View File

@ -46,7 +46,7 @@
"cypress-log-to-output": "^1.1.2",
"dayjs": "^1.10.6",
"deep-diff": "^1.0.2",
"design-system": "npm:@appsmithorg/design-system@1.0.42",
"design-system": "npm:@appsmithorg/design-system@1.0.43",
"downloadjs": "^1.4.7",
"draft-js": "^0.11.7",
"exceljs-lightweight": "^1.14.0",

View File

@ -636,6 +636,7 @@ export default connect(
applicationId?: string;
workspaceId?: string;
isApplicationInvite?: boolean;
placeholder?: string;
}
>({
validate,

View File

@ -21,6 +21,7 @@ import useWorkspace from "utils/hooks/useWorkspace";
import TooltipWrapper from "pages/Applications/EmbedSnippet/TooltipWrapper";
import {
createMessage,
INVITE_USERS_PLACEHOLDER,
IN_APP_EMBED_SETTING,
MAKE_APPLICATION_PUBLIC,
MAKE_APPLICATION_PUBLIC_TOOLTIP,
@ -85,6 +86,7 @@ function AppInviteUsersForm(props: any) {
{canInviteToWorkspace && (
<WorkspaceInviteUsersForm
isApplicationInvite
placeholder={createMessage(INVITE_USERS_PLACEHOLDER)}
workspaceId={props.workspaceId}
/>
)}

View File

@ -6202,10 +6202,10 @@ depd@~1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz"
"design-system@npm:@appsmithorg/design-system@1.0.42":
version "1.0.42"
resolved "https://registry.yarnpkg.com/@appsmithorg/design-system/-/design-system-1.0.42.tgz#b3db1d09528a2ccc7c509de39cb78e723015828e"
integrity sha512-BHe9uEHT+sVNwPi4bJ6DP+Wq0QNIi69eEJ6q8dsKmzLXlD4XUJd2hGd6ekKn25f72QvChVmHd/fkvTydnGoiNA==
"design-system@npm:@appsmithorg/design-system@1.0.43":
version "1.0.43"
resolved "https://registry.yarnpkg.com/@appsmithorg/design-system/-/design-system-1.0.43.tgz#f52380e44259ec11f9159be10977d2d6b94a9449"
integrity sha512-hn+8EYtDEUwwVFSS76yBWdMlmUOtvXVb+7eimNOVIS5ml9rLiT+bQC7sq3hd9h5cDw0MME2BHMrpWdBx3SlfwA==
dependencies:
emoji-mart "3.0.1"