-
Notifications
You must be signed in to change notification settings - Fork 57
Fix/issue 3794 whatsapp flow components #3842
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
Open
khushthecoder
wants to merge
2
commits into
glific:master
Choose a base branch
from
khushthecoder:fix/issue-3794-whatsapp-flow-components
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,13 @@ | ||
| const SvgComponent = ({ color }: any) => ( | ||
| <svg xmlns="http://www.w3.org/2000/svg" width={22} height={22}> | ||
| <title>{'Discord Icon'}</title> | ||
| <g fill="none" fillRule="evenodd"> | ||
| <path | ||
| fill={color} | ||
| fillRule="nonzero" | ||
| d="M18.59 5.88997C17.36 5.31997 16.05 4.89997 14.67 4.65997C14.5 4.95997 14.3 5.36997 14.17 5.69997C12.71 5.47997 11.26 5.47997 9.83001 5.69997C9.69001 5.36997 9.49001 4.95997 9.32001 4.65997C7.94001 4.89997 6.63001 5.31997 5.40001 5.88997C2.92001 9.62997 2.25001 13.28 2.58001 16.87C4.23001 18.1 5.82001 18.84 7.39001 19.33C7.78001 18.8 8.12001 18.23 8.42001 17.64C7.85001 17.43 7.31001 17.16 6.80001 16.85C6.94001 16.75 7.07001 16.64 7.20001 16.54C10.33 18 13.72 18 16.81 16.54C16.94 16.65 17.07 16.75 17.21 16.85C16.7 17.16 16.15 17.42 15.59 17.64C15.89 18.23 16.23 18.8 16.62 19.33C18.19 18.84 19.79 18.1 21.43 16.87C21.82 12.7 20.76 9.08997 18.61 5.88997H18.59ZM8.84001 14.67C7.90001 14.67 7.13001 13.8 7.13001 12.73C7.13001 11.66 7.88001 10.79 8.84001 10.79C9.80001 10.79 10.56 11.66 10.55 12.73C10.55 13.79 9.80001 14.67 8.84001 14.67ZM15.15 14.67C14.21 14.67 13.44 13.8 13.44 12.73C13.44 11.66 14.19 10.79 15.15 10.79C16.11 10.79 16.87 11.66 16.86 12.73C16.86 13.79 16.11 14.67 15.15 14.67Z" | ||
| /> | ||
| </g> | ||
| </svg> | ||
| ); | ||
| export default SvgComponent; | ||
|
|
||
| <title>{'Discord Icon'}</title> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pls revert this change |
||
| <g fill="none" fillRule="evenodd"> | ||
| <path | ||
| fill={color} | ||
| fillRule="nonzero" | ||
| d="M18.59 5.88997C17.36 5.31997 16.05 4.89997 14.67 4.65997C14.5 4.95997 14.3 5.36997 14.17 5.69997C12.71 5.47997 11.26 5.47997 9.83001 5.69997C9.69001 5.36997 9.49001 4.95997 9.32001 4.65997C7.94001 4.89997 6.63001 5.31997 5.40001 5.88997C2.92001 9.62997 2.25001 13.28 2.58001 16.87C4.23001 18.1 5.82001 18.84 7.39001 19.33C7.78001 18.8 8.12001 18.23 8.42001 17.64C7.85001 17.43 7.31001 17.16 6.80001 16.85C6.94001 16.75 7.07001 16.64 7.20001 16.54C10.33 18 13.72 18 16.81 16.54C16.94 16.65 17.07 16.75 17.21 16.85C16.7 17.16 16.15 17.42 15.59 17.64C15.89 18.23 16.23 18.8 16.62 19.33C18.19 18.84 19.79 18.1 21.43 16.87C21.82 12.7 20.76 9.08997 18.61 5.88997H18.59ZM8.84001 14.67C7.90001 14.67 7.13001 13.8 7.13001 12.73C7.13001 11.66 7.88001 10.79 8.84001 10.79C9.80001 10.79 10.56 11.66 10.55 12.73C10.55 13.79 9.80001 14.67 8.84001 14.67ZM15.15 14.67C14.21 14.67 13.44 13.8 13.44 12.73C13.44 11.66 14.19 10.79 15.15 10.79C16.11 10.79 16.87 11.66 16.86 12.73C16.86 13.79 16.11 14.67 15.15 14.67Z" | ||
| /> | ||
| </g> | ||
| </svg> | ||
| ); | ||
| export default SvgComponent; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,35 @@ | ||
| .Loader { | ||
| margin: 0.5rem 0; | ||
| width: 6px; | ||
| height: 6px; | ||
| border-radius: 50%; | ||
| background-color: #fff; | ||
| box-shadow: 18px 0 #fff, -18px 0 #fff; | ||
| position: relative; | ||
| animation: flash 1s ease-out infinite alternate; | ||
| margin: 0.5rem 0; | ||
| width: 6px; | ||
| height: 6px; | ||
| border-radius: 50%; | ||
| background-color: #fff; | ||
| box-shadow: | ||
| 18px 0 #fff, | ||
| -18px 0 #fff; | ||
| position: relative; | ||
| animation: flash 1s ease-out infinite alternate; | ||
| } | ||
|
|
||
| @keyframes flash { | ||
| 0% { | ||
| background-color: #FFF2; | ||
| box-shadow: 18px 0 #FFF2, -18px 0 #FFF; | ||
| } | ||
| 0% { | ||
| background-color: #fff2; | ||
| box-shadow: | ||
| 18px 0 #fff2, | ||
| -18px 0 #fff; | ||
| } | ||
|
|
||
| 50% { | ||
| background-color: #FFF; | ||
| box-shadow: 18px 0 #FFF2, -18px 0 #FFF2; | ||
| } | ||
| 50% { | ||
| background-color: #fff; | ||
| box-shadow: | ||
| 18px 0 #fff2, | ||
| -18px 0 #fff2; | ||
| } | ||
|
|
||
| 100% { | ||
| background-color: #FFF2; | ||
| box-shadow: 18px 0 #FFF, -18px 0 #FFF2; | ||
| } | ||
| 100% { | ||
| background-color: #fff2; | ||
| box-shadow: | ||
| 18px 0 #fff, | ||
| -18px 0 #fff2; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -150,4 +150,4 @@ | |
| -webkit-transform: scale3d(1, 1, 1); | ||
| transform: scale3d(1, 1, 1); | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,4 +197,4 @@ export default function AIEvaluationCreate() { | |
| )} | ||
| </div> | ||
| ); | ||
| }; | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Localize the SVG title text instead of hardcoding English.
<title>{'Discord Icon'}</title>is user-facing accessibility text and should come from i18next so it can be translated.💡 Suggested change
As per coding guidelines, use i18next for internationalization with string extraction to Lokalise via
yarn extract-translations.🤖 Prompt for AI Agents