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

Update loading screen #2433

Merged
merged 12 commits into from
Jul 5, 2023
Merged

Update loading screen #2433

merged 12 commits into from
Jul 5, 2023

Conversation

nishant25062002
Copy link
Contributor

I have updated the loading screen and added a tip to the loading screen.

@github-actions
Copy link

github-actions bot commented Jul 4, 2023

@github-actions github-actions bot temporarily deployed to pull request July 4, 2023 18:10 Inactive
@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Patch coverage: 83.33% and no project coverage change.

Comparison is base (2de871a) 73.55% compared to head (376ce65) 73.56%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2433   +/-   ##
=======================================
  Coverage   73.55%   73.56%           
=======================================
  Files         236      237    +1     
  Lines        8245     8249    +4     
  Branches     1753     1755    +2     
=======================================
+ Hits         6065     6068    +3     
  Misses       1594     1594           
- Partials      586      587    +1     
Impacted Files Coverage Δ
...c/routes/AuthenticatedRoute/AuthenticatedRoute.tsx 76.05% <ø> (ø)
...utes/UnauthenticatedRoute/UnauthenticatedRoute.tsx 88.88% <ø> (ø)
src/components/UI/Layout/Loading/Loading.tsx 85.71% <75.00%> (-14.29%) ⬇️
src/components/UI/Layout/Loading/productTips.ts 100.00% <100.00%> (ø)
src/components/floweditor/FlowEditor.tsx 60.89% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions github-actions bot temporarily deployed to pull request July 4, 2023 18:37 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 4, 2023 19:06 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 4, 2023 19:26 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 4, 2023 20:27 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 04:50 Inactive
@cypress
Copy link

cypress bot commented Jul 5, 2023

8 failed and 1 flaky tests on run #3387 ↗︎

8 167 0 0 Flakiness 1

Details:

Merge 97a8bc0 into 4a5dec1...
Project: Glific Commit: 6239962a95 ℹ️
Status: Failed Duration: 35:19 💡
Started: Jul 5, 2023 10:36 AM Ended: Jul 5, 2023 11:12 AM
Failed  Flow.spec.ts • 7 failed tests

View Output Video

Test Artifacts
Flow > should display flow keyword below the flow name Output Screenshots
Flow > should create new Flow in hindi Output Screenshots
Flow > should create new Flow without keyword Output Screenshots
Flow > should edit Flow Output Screenshots
Flow > should create duplicate Flow Output Screenshots
Flow > should delete the copy Flow Output Screenshots
Flow > should delete previous created flow Output Screenshots
Failed  FlowEditor.spec.ts • 1 failed test

View Output Video

Test Artifacts
Flow > deletes the configured Flow Output Screenshots
Flakiness  cypress/e2e/roles/staff/contactBar/ContactBar.spec.ts • 1 flaky test

View Output Video

Test Artifacts
Role - Staff - Contact bar > should start a flow Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 07:49 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 08:21 Inactive
@@ -448,7 +448,7 @@ export const FlowEditor = () => {
<ResetFlowIcon /> Reset flow counts
</Button>
<div id="flow" />
{loading && <Loading />}
{loading && <Loading showTip={true}/>}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{loading && <Loading showTip={true}/>}
{loading && <Loading showTip />}

productTips.ts Outdated
const productTips: FlowTip[] = [
'Always ensure you have "Published" the flow before testing it.',
'Do not forget to add labels in the flow wherever you want the data to get captured.',
'Wherever you want the data to get captured.',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
'Wherever you want the data to get captured.',
'Wherever you want the data to get captured.',

Remove this

productTips.ts Outdated
Comment on lines 8 to 9
'Flows can become harder to maintain (modify)',
'Debug when they become very large.',
Copy link
Member

@mdshamoon mdshamoon Jul 5, 2023

Choose a reason for hiding this comment

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

Suggested change
'Flows can become harder to maintain (modify)',
'Debug when they become very large.',
'Flows can become harder to maintain (modify), debug when they become very large.',

productTips.ts Outdated
Comment on lines 12 to 13
'When getting user response from buttons and lists',
'Prepare for additional cases',
Copy link
Member

@mdshamoon mdshamoon Jul 5, 2023

Choose a reason for hiding this comment

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

Suggested change
'When getting user response from buttons and lists',
'Prepare for additional cases',
'When getting user response from buttons and lists, prepare for additional cases',

productTips.ts Outdated
"Make use of flows like 'Enter another flow' to keep the flows shorter for bringing in modularity",
'Easier maintenance, readability & troubleshooting, reusability, and better performance',
'While naming the variables, make sure that the name is related to the value it is going to hold.',
"Also, don't use personal names, generic names like test while naming variables.",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"Also, don't use personal names, generic names like test while naming variables.",
"Don't use personal names, generic names like test while naming variables.",

productTips.ts Outdated
'If applying for an image template, make sure the attached media file has a message in the same language.',
'When using button template always avoid flow keywords as buttons',
"Make use of flows like 'Enter another flow' to keep the flows shorter for bringing in modularity",
'Easier maintenance, readability & troubleshooting, reusability, and better performance',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
'Easier maintenance, readability & troubleshooting, reusability, and better performance',
'Easier maintenance, readability & troubleshooting, reusability, and better performance',

Remove this

@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 09:24 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 10:27 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 11:00 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 5, 2023 11:08 Inactive
@mdshamoon mdshamoon merged commit f095a9a into master Jul 5, 2023
@mdshamoon mdshamoon deleted the feature/add_tips_message_in_loading branch July 5, 2023 11:46
@mdshamoon mdshamoon linked an issue Jul 18, 2023 that may be closed by this pull request
@nishant25062002 nishant25062002 self-assigned this Sep 18, 2023
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.

Loading Screen: Glific Tips
2 participants