Conversation
|
awesome. Some comments in the genserver... but otherwise nice first steps :) Reviewed 79 of 79 files at r1. .gitignore, line 27 at r1 (raw file):
shouldn't this things be ignored in your global gitignore instead on every repo? lib/ex_debug_toolbar/application.ex, line 67 at r1 (raw file):
leftover? lib/ex_debug_toolbar/database/request_repo.ex, line 1 at r1 (raw file):
i'm wondering if shouldn't you extract state to its own file, and then have all the accesses to the state through a "collection like" api. lib/ex_debug_toolbar/database/request_repo.ex, line 74 at r1 (raw file):
shouldn't this removal of the queue be inside delete_request method? test/lib/ex_debug_toolbar/database/janitor_test.exs, line 13 at r1 (raw file):
wouldn't be better to read the max_requests number before changing it, and restoring it here, instead of the harcoded number? test/lib/ex_debug_toolbar/database/request_repo_test.exs, line 211 at r1 (raw file):
what was the reason of this and the next 2 tests? Comments from Reviewable |
|
Review status: 69 of 81 files reviewed at latest revision, 6 unresolved discussions. .gitignore, line 27 at r1 (raw file): Previously, epilgrim (Juan Peri) wrote…
possibly :) any cons in having it here? lib/ex_debug_toolbar/application.ex, line 67 at r1 (raw file): Previously, epilgrim (Juan Peri) wrote…
yeah, good catch! You have to do it to run benchmarks lib/ex_debug_toolbar/database/request_repo.ex, line 1 at r1 (raw file): Previously, epilgrim (Juan Peri) wrote…
that's an interesting option! I'll try it out lib/ex_debug_toolbar/database/request_repo.ex, line 74 at r1 (raw file): Previously, epilgrim (Juan Peri) wrote…
what do you mean? I'm not sure I understand where you want to put it test/lib/ex_debug_toolbar/database/janitor_test.exs, line 13 at r1 (raw file): Previously, epilgrim (Juan Peri) wrote…
you're right, I'll update it test/lib/ex_debug_toolbar/database/request_repo_test.exs, line 211 at r1 (raw file): Previously, epilgrim (Juan Peri) wrote…
since these operations imply updates to queue, it was possible to make previous tests pass, but fail on these 3. Comments from Reviewable |
request:deleted events
reset this limit back to original on teardown
dashboard overbiew tab
# Conflicts: # lib/ex_debug_toolbar/database/request_repo.ex # mix.exs # mix.lock # package-lock.json # priv/static/css/toolbar.css # priv/static/js/toolbar.js
still a work in progress
todo:
This change is