-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
GUI - Frontend Decoupling #613
Conversation
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Statements | 80.62% (+0.09% 🔼) |
2296/2848 |
🟡 | Branches | 62.23% (-0.58% 🔻) |
1415/2274 |
🟡 | Functions | 74.72% (-0.28% 🔻) |
399/534 |
🟢 | Lines | 80.99% (+0.1% 🔼) |
2130/2630 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | context/wsUtils.ts | 50% | 0% | 0% | 42.86% |
🟢 | context/utils.ts | 100% | 70% | 100% | 100% |
🟢 | ... / Dialog.tsx |
80.43% | 60.87% | 100% | 80.43% |
🟡 | ... / TaipyRendered.tsx |
66.67% | 17.65% | 50% | 66.67% |
🟡 | ... / index.ts |
73.33% | 26.67% | 50% | 72.73% |
🟢 | ... / Expandable.tsx |
100% | 85% | 100% | 100% |
🟢 | ... / PageContent.tsx |
75% | 100% | 0% | 100% |
🟢 | ... / Pane.tsx |
95.12% | 73.81% | 100% | 94.87% |
🟢 | ... / Part.tsx |
88% | 64.29% | 75% | 91.3% |
🟡 | ... / Unregistered.tsx |
62.5% | 0% | 0% | 60% |
Show files with reduced coverage 🔻
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🟡 | ... / taipyReducers.ts |
64.87% (+0.05% 🔼) |
58.47% (+1.18% 🔼) |
42.86% (-1.37% 🔻) |
64.38% (+0.33% 🔼) |
Test suite run success
334 tests passing in 36 suites.
Report generated by 🧪jest coverage report action from 726b46d
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.
😍
@@ -38,6 +38,9 @@ const Navigate = ({ to, params, tab, force }: NavigateProps) => { | |||
navigate(0); | |||
} else { | |||
navigate({ pathname: to, search: `?${searchParams.toString()}` }); |
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.
do we want 2 navigate calls ?
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.
without the empty navigate call, the app would not do a hard reload. Please let me know if you have any other approach
|
||
def __handle_ws_get_variables(self): | ||
# Get Variables | ||
self.__pre_render_pages() |
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.
is this not too costly ?
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.
It is necessary though to ensure that we have access to all variables. We can optimize the performance of the method
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.
👍
8fd9521
Resolves #446 .
Resolves #656.