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

Feature/#405 exposing notification mechanism to user #1304

Merged

Conversation

toan-quach
Copy link
Member

@toan-quach toan-quach requested review from trgiangdo and jrobinAV May 23, 2024 07:20
Copy link
Contributor

github-actions bot commented May 23, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18436 16128 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
taipy/core/notification/core_event_consumer.py 96% 🟢
taipy/core/notification/notifier.py 100% 🟢
TOTAL 98% 🟢

updated for commit: 7214db4 by action🐍

@toan-quach toan-quach added this to the Community 3.2 milestone May 28, 2024
@toan-quach toan-quach linked an issue May 28, 2024 that may be closed by this pull request
1 task
taipy/core/notification/core_event_consumer.py Outdated Show resolved Hide resolved
taipy/core/notification/core_event_consumer.py Outdated Show resolved Hide resolved
taipy/core/notification/core_event_consumer.py Outdated Show resolved Hide resolved
taipy/core/notification/core_event_consumer.py Outdated Show resolved Hide resolved
taipy/core/notification/notifier.py Outdated Show resolved Hide resolved
consumer.start()
# ...
consumer.stop()

Notifier.unregister(registration_id)
```

Copy link
Member

Choose a reason for hiding this comment

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

After the example I would add a short paragraph to explain the code, and particularly
what are the events we are registering. We can also briefly explain the principle of the topic registration and redirect readers to the register function refman page to make it easier to understand how to build the topic.

taipy/core/notification/notifier.py Outdated Show resolved Hide resolved
taipy/core/notification/notifier.py Outdated Show resolved Hide resolved
@jrobinAV jrobinAV added Core Related to Taipy Core 📄 Documentation Internal or public documentation Core: 🔔Notifications labels May 29, 2024
@toan-quach toan-quach force-pushed the feature/#405-exposed-notification-mechanism-to-users branch from 06df074 to 4de7ae3 Compare May 31, 2024 04:17
Copy link
Contributor

Coverage report for frontend/taipy-gui

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

St.
Category Percentage Covered / Total
🟢 Statements 81.48% 2680/3289
🟡 Branches 62.72% 1686/2688
🟡 Functions 74.6% 467/626
🟢 Lines 82.04% 2498/3045

Test suite run success

379 tests passing in 40 suites.

Report generated by 🧪jest coverage report action from 06df074

@toan-quach toan-quach requested a review from jrobinAV May 31, 2024 05:35
@toan-quach toan-quach merged commit b3497fa into develop May 31, 2024
150 of 151 checks passed
@toan-quach toan-quach deleted the feature/#405-exposed-notification-mechanism-to-users branch May 31, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core: 🔔Notifications Core Related to Taipy Core 📄 Documentation Internal or public documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notification: Expose notification mechanism to users
2 participants