Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

reloxo95 created an issue. See original summary.

deepali sardana made their first commit to this issue’s fork.

bramdriesen’s picture

@deepali sardana Is the info.yml the only deprecation?

bramdriesen’s picture

Status: Active » Needs work

andileco made their first commit to this issue’s fork.

bramdriesen’s picture

Version: 2.0.0-alpha5 » 2.0.x-dev

@andileco What's the status of your work? 😊 can this be reviewed?

bramdriesen’s picture

andileco’s picture

Status: Needs work » Needs review

To be honest, I lost track. I think this should definitely be reviewed, though. Thanks for working on this module!

chsdaiguil’s picture

Is the update of this module to Drupal 11 available?

bramdriesen’s picture

It still needs to be tested and checked if all deprecations are fixed

orkutmuratyilmaz’s picture

Status: Needs review » Needs work

Hello all,

After applying the MR as a patch, the upgrade status module says everything's fine and notifications work, but, phpstan, phpcs & eslint are saying something about low success rates:

https://git.drupalcode.org/issue/notificationswidget-3508957/-/pipelines...

I'm changing the issue status now.

Best,
Orkut

tom konda made their first commit to this issue’s fork.

tom konda’s picture

I fixed all of ESLint errors.

bramdriesen’s picture

Hi Tom, can you check that what you committed is correct? The diff looks way too large to be just eslint fixes.

tom konda’s picture

Sorry for my late reply.
I checked my commit and this commit is correct because many of diffs are prettier/prettier errors which are fixed using ESLint with the `--fix` option.

Pipeline log on the previous commit 9a8e23f2:
https://git.drupalcode.org/issue/notificationswidget-3508957/-/jobs/4848...

If no need to fix prettier/prettier errors in this issue, I'll revert prettier/prettier problems.

svendecabooter’s picture

Could this issue be focussed on getting a D11 release out, while the linting issues get moved to another issue?
The current 2.0.0-alpha7 release also has these code style issues, so it's not a deterioration...
Then people could upgrade to D11, and hopefully the code styling issues could then be fixed soon afterwards...
Or is there a case to be made to take that all together?

bramdriesen’s picture

Happy to merge if this is tested. Ok for me to fix stylelint etc in another issue.

aren33k made their first commit to this issue’s fork.

aren33k’s picture

Status: Needs work » Reviewed & tested by the community

I tested this module in our installation, looks OK to me.
Found a small bug/typo and fixed it (Warning: Undefined variable $addtionalEntityTypes in Drupal\notifications_widget\Form\NotificationsWidgetSettingsForm->submitForm() (line 360 of modules/contrib/notificationswidget/src/Form/NotificationsWidgetSettingsForm.php).)

bramdriesen’s picture

Status: Reviewed & tested by the community » Needs work

If the merge conflict is fixed, this can be merged.

tom konda’s picture

Status: Needs work » Needs review

I fixed merge conflict, please review.

aren33k’s picture

Status: Needs review » Reviewed & tested by the community

Tested again, works fine for me. MR looks OK.

bramdriesen’s picture

Status: Reviewed & tested by the community » Needs work

I spotted one more thing in the JS code.

bramdriesen’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.