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

[WIP] Introduce recursive events: events can now be triggered from within modules #3621

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

Conversation

emanuele45
Copy link
Contributor

@Spuds there we go: recursive events... actually probably it would have been better to call them nested? Yeah. Whatever.
I thought thi was going to solve the issue with attachments you were facing, but it doesn't, though it looks pretty cool to me, so I just pushed it... let me know what you think. 😆

@codecov-commenter
Copy link

codecov-commenter commented Mar 28, 2022

Codecov Report

Merging #3621 (a6bb97d) into development (f8e2423) will decrease coverage by 0.04%.
The diff coverage is 28.26%.

@@                Coverage Diff                @@
##             development    #3621      +/-   ##
=================================================
- Coverage          30.64%   30.60%   -0.05%     
- Complexity         15876    15927      +51     
=================================================
  Files                427      429       +2     
  Lines              74288    74311      +23     
=================================================
- Hits               22768    22745      -23     
- Misses             51520    51566      +46     
Impacted Files Coverage Δ
...rces/ElkArte/AdminController/ManageAttachments.php 9.55% <0.00%> (ø)
sources/ElkArte/AttachmentsDisplay.php 0.00% <0.00%> (ø)
sources/ElkArte/Controller/PersonalMessage.php 23.91% <ø> (+0.05%) ⬆️
sources/ElkArte/Controller/Post.php 41.75% <0.00%> (ø)
sources/ElkArte/Controller/ProfileOptions.php 13.48% <0.00%> (+0.08%) ⬆️
sources/ElkArte/Controller/Register.php 36.78% <ø> (-0.15%) ⬇️
sources/ElkArte/Controller/Search.php 0.00% <ø> (ø)
sources/ElkArte/IlaIntegrate.php 3.79% <ø> (+0.16%) ⬆️
...Arte/Mentions/MentionType/AbstractEventMessage.php 21.73% <0.00%> (-2.08%) ⬇️
...urces/ElkArte/MessagesCallback/DisplayRenderer.php 90.00% <ø> (-0.20%) ⬇️
... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18fc6ab...a6bb97d. Read the comment docs.

@Spuds
Copy link
Contributor

Spuds commented Mar 28, 2022

I think this is very cool .... When I was first playing with the micro data I was thinking it would be nice if I could trigger an event from the code !

@emanuele45
Copy link
Contributor Author

emanuele45 commented Apr 11, 2022 via email

@Spuds
Copy link
Contributor

Spuds commented Apr 11, 2022

I think that makes sense, I'd be able to give a better answer if (when) I work on an addon that utilizes the functionality, but rolling it around in my head extending the addon seems proper.

@elkarte elkarte deleted a comment from tenbuddy Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants