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

New Toolbar Collector for Events #84

Closed
8 tasks
lonnieezell opened this issue May 25, 2016 · 13 comments
Closed
8 tasks

New Toolbar Collector for Events #84

lonnieezell opened this issue May 25, 2016 · 13 comments
Labels
enhancement PRs that improve existing functionalities help wanted More help is needed for the proper resolution of an issue or pull request in progress
Milestone

Comments

@lonnieezell
Copy link
Member

lonnieezell commented May 25, 2016

Should show event name and timing, both in it's own tab and in the timeline.

Development Checklist:

  • Component(s)
  • ... with PHPdocs
  • Unit testing
  • ... with >80% coverage
  • User guide updated
  • Classmap integration?
  • Securely signed commits
  • Conforms to style guide
@lonnieezell lonnieezell added the enhancement PRs that improve existing functionalities label May 25, 2016
@lonnieezell lonnieezell added this to the Pre-Alpha 2 milestone May 25, 2016
@lonnieezell lonnieezell added the help wanted More help is needed for the proper resolution of an issue or pull request label Jul 11, 2016
@filisko
Copy link
Contributor

filisko commented Jun 17, 2017

Hi @lonnieezell,
What about 4 columns like the ones I have in the image? (Time, Event, Priority and Times Triggered).

Image Events Collector

I just started working on this (so don't pay too much attention to what you see).

@lonnieezell
Copy link
Member Author

@filisko I think that's a good start. Ideally, it would be awesome to be able to expand each row and see the data that was passed to each event. That, I think, would be quite helpful. Unfortunately, there's no mechanism yet for the expanding rows. It's on my wishlist for the toolbar, but haven't made it there yet :)

@ranjithsiji
Copy link

@filisko this is a very good idea to have in the debug bar. 👍

@filisko
Copy link
Contributor

filisko commented Jul 19, 2017

Didn't have too much time last weeks, sorry. Now getting back to this.

@lonnieezell, should I try to do a PR once I've got the 'Time' column working and the tests added?

@ranjithsiji yes it is!

@lonnieezell
Copy link
Member Author

@filisko yes, a PR is exactly correct.

@filisko
Copy link
Contributor

filisko commented Aug 9, 2017

Hi @lonnieezell,

  • Does 'DBQuery' event need to be shown in the Events collector?
  • Should we show the events that don't have any registered action (Events::on()) but that were triggered?
  • Should we rename 'post_controller_constructor' event to something like ... 'postControllerConstructor' ?

@lonnieezell
Copy link
Member Author

@filisko Good questions.

  1. No, don't need to include DBQuery events. Primarily interested in user-generated events.
  2. Yes, I think we should show all events. That will help be a trigger to developers looking to see if all of their events are firing.
  3. Probably should. Which means all system events should be renamed (with docs updated). I think there are a grand total of 4).

Thanks!

@filisko
Copy link
Contributor

filisko commented Aug 15, 2017

@lonnieezell, is it good idea to trigger events inside the Events class?

@lonnieezell
Copy link
Member Author

Initial thought is, "No", but would need more details.

@filisko
Copy link
Contributor

filisko commented Aug 15, 2017

so directly call to the Events Collector from the Events class on dev environment would be the best solution?

@lonnieezell
Copy link
Member Author

Oh, I see what you're saying. Yes, I think so. Otherwise I can see it getting into a loop and never getting out.

@filisko
Copy link
Contributor

filisko commented Aug 15, 2017

Yes !!! You totally got it! I thought that it would take you more time to realize that 😄 because had no idea of how much you knew about that code.
Thank you!

@lonnieezell
Copy link
Member Author

:) Was I doing that in the code or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement PRs that improve existing functionalities help wanted More help is needed for the proper resolution of an issue or pull request in progress
Projects
No open projects
Development

No branches or pull requests

3 participants