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

feat(notifications): add preview #26519

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

blaggacao
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label May 21, 2024
@@ -161,6 +161,17 @@ frappe.ui.form.on("Notification", {
document_type: function (frm) {
frappe.notification.setup_fieldname_select(frm);
},
preview_document: (frm) => {
frappe.call({
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe use frm.call here instead?

I think it's easier to read as you immediately see that a method of the doc gets called.

Copy link
Contributor Author

@blaggacao blaggacao May 23, 2024

Choose a reason for hiding this comment

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

I'll leave that to the merger, since the CI is green.

Copy link

stale bot commented Jun 8, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.

@stale stale bot added the inactive label Jun 8, 2024
@stale stale bot closed this Jun 13, 2024
@blaggacao
Copy link
Contributor Author

@akhilnarang Could you also please help me to reopen this one? This is too darn useful to not merge it eventually. It is responsible for a change that some power users are now able to actually manage Notifications in our organization and not just developers (as a matter of reality on the ground).

@blaggacao
Copy link
Contributor Author

image

@blaggacao
Copy link
Contributor Author

@barredterra Maybe you can help reopen this one? 🙏

@akhilnarang akhilnarang reopened this Jun 17, 2024
@stale stale bot removed the inactive label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-test-cases Add test case to validate fix or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants