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

Summer release ☀️ (Clockwork 5.0) #403

Closed
16 of 35 tasks
itsgoingd opened this issue Jun 22, 2020 · 6 comments
Closed
16 of 35 tasks

Summer release ☀️ (Clockwork 5.0) #403

itsgoingd opened this issue Jun 22, 2020 · 6 comments

Comments

@itsgoingd
Copy link
Owner

itsgoingd commented Jun 22, 2020

This issue tracks the progress on the next major release (Clockwork 5.0), scheduled for late summer / fall 2020.

Please do share your feedback and feature requests for this release.

Must have

The most important changes most likely to make it into the release.

Nice to have

The less important changes and changes unlikely to make it due to time constraints or implementation concerns.

  • improve handling of large metadata
    • we should in general avoid running out of memory at all costs and prefer collecting partial or no data
  • improve assets handling
  • add api docs
  • add ability to reorder tabs
    • first available tab in order would be the default tab
    • lots of annoying UI code to write (animations, touch support)
  • show duplicate queries in the performance tab
  • add Laravel authentication support
  • logging binary data
    • if we find a way to detect binary data without a large performance impact
  • request replay
    • this is very tricky to implement for non-GET requests in cross-platform way
  • collect (simple) response
    • main concern here is the response size
  • better symfony support
  • monolog 2 support
  • xhprof support

Release schedule

Clockwork follows a loose yearly release schedule with one major release in late summer / fall and multiple minor releases in-between.

  • Clockwork 5.0 - summer / fall 2020
  • Clockwork 5.1 - winter 2020
  • Clockwork 5.2 - spring 2021
@mikeerickson
Copy link

@itsgoingd wow, that is a full list of changes, should make to be an awesome release.

@fgilio
Copy link
Contributor

fgilio commented Aug 15, 2020

Looks like v5 it's gonna be a major step up 💥

Right now in the big project I work on constantly I've installed and regularly use Clockwork, Telescope with Telescope Toolbar and Laravel Debugbar. But, by far, the one I use the most is Clockwork. And my team actually does the same. We really love Clockwork, thanks for all the hard work.

I have a couple of things to share, stuff I run into constantly:

  • IMO, the Preserve log and Clear buttons are misplaced. I think putting them closer to the requests list would feel much more natural. Until I get used to it, I used to click it to close the Request panel 😅 and I've seen at least 2 more people doing the same.
    • Same with the magnifying glass icon to search through the requests list, I'd put it in the requests sidebar. Also, right now it's visible even when the sidebar is hidden which may be a little confusing and it actually does nothing there.
  • I'd very much appreciate a badge that signals that a particular request in the list has something in the Log.
  • Always visible Database filter UI. Right now you have to hove the table header for the magnifying glass icon to appear and then click it. I don't exactly since when this feature is there, but it found it by pure luck and it's fantastic.
  • This one is the most opinionated of my suggestions. I'd consider treating the Request sidebar as just one more tab.
  • And one wish. I'd find very very useful if Clockwork could automatically detect that something logged is an Exception and provide a more conveniente UI to navigate the trace. It'd be amazing.

explore optional alternative ways to use Clockwork
adding a debugbar-style toolbar...

🎉🎉🎉

@itsgoingd
Copy link
Owner Author

@fgilio Hey, I think you will like v5, design tweaks for this release address a lot of your points. Check out underground-works/clockwork-app#49 for a little preview.

  • In an effort to remove as many buttons from the tab-bar as possible - Clear button is now at the bottom of the requests list. Requests search no longer needs a button, simply scroll down the requests list to reveal the search input. Preserve log was moved to the settings modal, as I don't think this is something that people change too often.
  • We already show the number of warnings and errors in the requests list, this includes warning or error level log messages. This was a bit simplified, in the new UI we show only a simple error or warning icon.
  • The search fields are now always visible. A new help text will also be added to each search field describing available parameters (did you know you can search for queries over 500ms with duration:>500?).
  • We originally used to have a request tab. The idea behind the sidebar is to move the request details (which are not immediately useful) to the side and expose the performance tab as the first thing you see. You can also easily cross-reference the request data with another tab, eg. GET parameters with executed queries. If you don't care about the request details at all, you can always hide the sidebar. The Clockwork UI is always evolving though, so this might change again in the future.
  • We already do some special handling for exceptions. In the log tab you should see the full exception trace instead of the short trace for other log messages. You should also get an option to show previous exception if available. For HTTP 500 responses we also show the exceptions in the sidebar.

Thanks for the feedback, if you get any more ideas in the future please do share.

@fgilio
Copy link
Contributor

fgilio commented Aug 17, 2020

Preserve log was moved to the settings modal, as I don't think this is something that people change too often.

Agree 👍🏼

did you know you can search for queries over 500ms with duration:>500?

I didn't 😮

We originally used to have a request tab

Lol I was sure that was the case

Wow the redesign indeed looks very nice! 🎉

@fgilio
Copy link
Contributor

fgilio commented May 15, 2021

Been enjoying the redesign, much more user friendly. Thanks a lot!

@itsgoingd
Copy link
Owner Author

Thanks! I can't wait for the next design iteration I will be making for Clockwork 6 though. :)

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

No branches or pull requests

3 participants