Avaiga / taipy-gui

Graphical User Interface generator for Taipy
Apache License 2.0
60 stars 20 forks source link

Table row selection (#503) #1031

Closed FredLL-Avaiga closed 11 months ago

FredLL-Avaiga commented 11 months ago

col is None if the user clicked outside the column text

def on_table_action(state: State, var_name: str, payload: dict):
    print(f"on_table_action(var_name={var_name}, payload={payload})")
on_table_action(var_name=perf_df, payload={'action': 'on_table_action', 'index': 0, 'col': 'Scenario', 'args': []})
on_table_action(var_name=perf_df, payload={'action': 'on_table_action', 'index': 0, 'col': None, 'args': []})
github-actions[bot] commented 11 months ago

Coverage report for frontend/taipy-gui

Branches coverage not met for global: expected >=80%, but got 62.36178681999115%
St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
80.63% (-0.21% πŸ”»)
2294/2845
🟑 Branches
62.36% (-0.26% πŸ”»)
1410/2261
🟑 Functions
74.81% (-0.28% πŸ”»)
401/536
🟒 Lines
81.02% (-0.23% πŸ”»)
2130/2629
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------ | :------------------------------------------------------------ | :------------------------------------------------------------- | :------------------------------------------------------------ | :------------------------------------------------------------- | | 🟑 |
`...` / PaginatedTable.tsx
|
77.17% (-1.6% πŸ”»)
|
70.32% (-1.9% πŸ”»)
|
72.97% (-2.03% πŸ”»)
|
77.84% (-1.69% πŸ”»)
| | 🟑 |
`...` / AutoLoadingTable.tsx
|
73.45% (-1.55% πŸ”»)
|
52.32% (-1.97% πŸ”»)
|
62.79% (-1.5% πŸ”»)
|
74.55% (-1.7% πŸ”»)
|

Test suite run success

334 tests passing in 36 suites.

Report generated by πŸ§ͺjest coverage report action from 660da7f707b941e73dd1b88d62394ac0ba05dd80

github-actions[bot] commented 11 months ago

β˜‚οΈ Python Coverage

current status: βœ…

Overall Coverage

Lines Covered Coverage Threshold Status
5301 4525 85% 85% 🟒

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 660da7f by action🐍