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

use taipy-assets favicon #1453

Merged
merged 15 commits into from
Jun 27, 2024
Merged

use taipy-assets favicon #1453

merged 15 commits into from
Jun 27, 2024

Conversation

FredLL-Avaiga
Copy link
Member

@FredLL-Avaiga FredLL-Avaiga commented Jun 26, 2024

resolves #1327
allow to change favicon dynamically
resolves #1244

gui.set_favicon("https://raw.githubusercontent.com/Avaiga/taipy-assets/develop/favicon-3.1.png")
state.set_favicon("https://raw.githubusercontent.com/Avaiga/taipy-assets/develop/favicon-3.1.png")
gui.set_favicon("https://raw.githubusercontent.com/Avaiga/taipy-assets/develop/favicon-3.1.png", state)

Fred Lefévère-Laoide added 4 commits June 26, 2024 17:31
resolves #1327
allow to change favicon dynamically
resolves #1244
@FredLL-Avaiga FredLL-Avaiga added 🟥 Priority: Critical Must be addressed as soon as possible ✨New feature 📝Release Notes Impacts the Release Notes or the Documentation in general GUI: Front-End Gui: Back-End labels Jun 26, 2024
@FredLL-Avaiga FredLL-Avaiga self-assigned this Jun 26, 2024
Copy link
Contributor

Coverage report for frontend/taipy-gui

Branches coverage not met for global: expected >=80%, but got 61.774023231256606%

St.
Category Percentage Covered / Total
🟢 Statements
80.49% (-0.24% 🔻)
2780/3454
🟡 Branches
61.77% (-0.85% 🔻)
1755/2841
🟡 Functions
73.79% (-0.53% 🔻)
487/660
🟢 Lines
81.08% (-0.28% 🔻)
2588/3192
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / Dialog.tsx
80.43% 60.87% 100% 80.43%
🟡
... / TaipyRendered.tsx
64.58% 14.29% 50% 64.58%
🟡
... / index.ts
75.51% 26.67% 50% 75%
🟢
... / 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.18% (-0.69% 🔻)
56.61% (-1.86% 🔻)
42.86%
63.56% (-0.82% 🔻)
🔴 context/utils.ts
55% (-45% 🔻)
50% (-20% 🔻)
40% (-60% 🔻)
43.75% (-56.25% 🔻)

Test suite run success

400 tests passing in 41 suites.

Report generated by 🧪jest coverage report action from 8d3cc27

Copy link
Contributor

github-actions bot commented Jun 26, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18480 16097 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
taipy/gui/gui.py 81% 🟢
taipy/gui/state.py 78% 🟢
taipy/gui/types.py 94% 🟢
TOTAL 84% 🟢

updated for commit: 6adf7c5 by action🐍

Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

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

I love it!

taipy/gui/gui.py Outdated Show resolved Hide resolved
taipy/gui/gui.py Outdated Show resolved Hide resolved
taipy/gui/gui.py Outdated Show resolved Hide resolved
taipy/gui/gui.py Outdated Show resolved Hide resolved
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

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

👍

taipy/gui/state.py Outdated Show resolved Hide resolved
taipy/gui/state.py Show resolved Hide resolved
taipy/gui/gui.py Outdated Show resolved Hide resolved
Fred Lefévère-Laoide added 2 commits June 27, 2024 10:41
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

github-actions bot commented Jun 27, 2024

Coverage report for ./frontend/taipy-gui

Caution

Coverage does not meet threshold
Branches coverage not met for global: expected >=80%, but got 61.774023231256606%

St.
Category Percentage Covered / Total
🟢 Statements
80.49% (-0.24% 🔻)
2780/3454
🟡 Branches
61.77% (-0.85% 🔻)
1755/2841
🟡 Functions
73.79% (-0.53% 🔻)
487/660
🟢 Lines
81.08% (-0.28% 🔻)
2588/3192
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / Dialog.tsx
80.43% 60.87% 100% 80.43%
🟡
... / TaipyRendered.tsx
64.58% 14.29% 50% 64.58%
🟡
... / index.ts
75.51% 26.67% 50% 75%
🟢
... / 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.18% (-0.69% 🔻)
56.61% (-1.86% 🔻)
42.86%
63.56% (-0.82% 🔻)
🔴 context/utils.ts
55% (-45% 🔻)
50% (-20% 🔻)
40% (-60% 🔻)
43.75% (-56.25% 🔻)

Test suite run success

400 tests passing in 41 suites.

Report generated by 🧪jest coverage report action from 6adf7c5

Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

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

🤞

@FredLL-Avaiga FredLL-Avaiga merged commit 16e90fb into develop Jun 27, 2024
157 checks passed
@FredLL-Avaiga FredLL-Avaiga deleted the feature/favicon branch June 27, 2024 11:20
namnguyen20999 pushed a commit that referenced this pull request Jul 8, 2024
* use taipy-assets favicon
resolves #1327
allow to change favicon dynamically
resolves #1244

* with doc

* doc

* test

* Fab's comments

* allow to change favicon for one state

* fab's comments

* favicon

* mypy

* trying to fix cross-env ...

* trying to fix cross-env ...

* trying to fix cross-env ...

* do not run test if cache hit

* noncoverage either if cache hit

* class name

---------

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gui: Back-End GUI: Front-End ✨New feature 🟥 Priority: Critical Must be addressed as soon as possible 📝Release Notes Impacts the Release Notes or the Documentation in general
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Analytics: Use remote default favicon BUG-Unable to change the Icon post launch
2 participants