Brian Vaughn
17516b76ae
Dim owners that have been filtered from the tree in rendered-by list
2019-05-08 18:23:54 -07:00
Brian Vaughn
703706b40f
Add toggle-suspense button to all elements
...
This button is disabled if the renderer returns canToggleSuspense=false.
2019-05-08 10:50:32 -07:00
Brian Vaughn
4e04907d13
Added badge for enabled filter count
2019-05-02 10:53:40 -07:00
Brian Vaughn
e6da4b9058
Renamed FilterType -> ComponentFilterType
2019-05-01 14:01:03 -07:00
Brian Vaughn
e45deb5471
Removed $FlowFixMe comments
2019-05-01 13:59:54 -07:00
Brian Vaughn
540207901d
Added some component filtering tests
2019-05-01 13:31:55 -07:00
Brian Vaughn
8429220164
Added filter UI (but with a lot of $FlowFixMe comments)
2019-05-01 10:45:18 -07:00
Brian Vaughn
17c5feb66a
Reorganized types shared between backend and frontend slightly.
2019-05-01 10:45:18 -07:00
Brian Vaughn
c28acc5d47
Changed owners back button label to say 'Up to <...>'
2019-04-26 09:38:25 -07:00
Brian Vaughn
15eacae02c
Moved owners list calculations into the store and added tests
...
This is being done to fix a drill-through bug, although the initial fix is perhaps not the most performant one. At least we have test coverage now and a temporary fix.
2019-04-25 15:06:24 -07:00
Brian Vaughn
b6d617ac7f
Added 'back to owner' button when owners stack is collapsed
2019-04-25 15:05:39 -07:00
Brian Vaughn
e88819a22e
Reverse direction of menu items within drop-down owners list
2019-04-25 14:10:51 -07:00
Dan Abramov
949384f4ca
Select parent node if selection is removed
2019-04-24 16:29:23 +01:00
Brian Vaughn
7262a30cf3
Reverted optimization to avoid re-sending inspected fiber unless it committed
2019-04-23 18:04:25 -07:00
Brian Vaughn
0aa7d2f800
Reverted optimization to avoid re-sending inspected fiber unless it committed
2019-04-23 14:03:58 -07:00
Brian Vaughn
1e5c0b7856
Re-added the selection message
2019-04-23 13:43:38 -07:00
Brian Vaughn
4dcb34ea32
Fixed Flow error
2019-04-23 11:32:07 -07:00
Brian Vaughn
d85f566d66
Merged master (tooltip changes)
2019-04-23 08:49:40 -07:00
Brian Vaughn
8b33dd673d
Added @reach/tooltip
2019-04-23 08:41:52 -07:00
Brian Vaughn
7f1531044b
Differentiate between no-change and no-element-found when inspecting element
2019-04-22 15:37:55 -07:00
Brian Vaughn
00872e2e51
Fixed suspense fallback issue by moving inspection message side effect before suspending render
2019-04-22 15:25:55 -07:00
Brian Vaughn
64bb2d31f9
Fixed bug with cache invalidation
2019-04-22 15:18:32 -07:00
Brian Vaughn
64bc49d523
Run first setState with explicit priority in case of non-React event handlers
2019-04-22 15:11:04 -07:00
Brian Vaughn
433934f55e
Refactored TreeContext to use less memoization (based on feedback from Sebastian)
2019-04-22 10:39:21 -07:00
Brian Vaughn
d53ae2ea8a
Refactored TreeContext to use less memoization (based on feedback from Sebastian)
2019-04-22 10:19:59 -07:00
Brian Vaughn
70be637d48
Don't schedule an update with React unless the curent element was invalidated
2019-04-22 09:37:55 -07:00
Brian Vaughn
5970bf4b40
Changed polling approach. Fixed remove event typo.
2019-04-22 09:37:55 -07:00
Brian Vaughn
3de18de25e
Tried to implement two setState pattern, but it does not feel right
2019-04-22 09:37:55 -07:00
Brian Vaughn
957c389566
Adding polling and initial stab at not serializing duplicate inspected Element props
2019-04-22 09:37:34 -07:00
Brian Vaughn
c6b19cc141
Refactored insepected element cache to use the context API
2019-04-22 09:37:34 -07:00
Brian Vaughn
09b023a6e6
Naive suspense implementation for selected element panel
...
This commit leaves a few major things uunresolved:
* We aren't yet polling for updates
* We aren't yet using the two setState pattern
* The resource cache will grow unbounded over time because we aren't yet clearing items from it
* The renderer interface is not smart enough to avoid resending unchanged data between requests
2019-04-22 09:37:34 -07:00
Brian Vaughn
76b29ad0a9
Merge pull request #201 from gaearon/scroll-fix
...
Fix scrolling to selected row in collapsed mode
2019-04-22 09:37:15 -07:00
Brian Vaughn
91f74a5134
Fixed focus styles for OwnersStack dropdown toggle button
2019-04-21 08:59:24 -07:00
Brian Vaughn
09b995ab1c
Tidied up CSS variables
2019-04-21 08:38:58 -07:00
Brian Vaughn
66df03d179
Renamed CSS var color-text-color to color-text
2019-04-21 08:29:51 -07:00
Brian Vaughn
8220df734c
Tweaked hover and focus colors. Temporarily disabled Tooltip.
2019-04-21 08:23:20 -07:00
Brian Vaughn
403bf49a78
Use new @reach/tooltip
2019-04-20 14:29:03 -07:00
Brian Vaughn
4b9082eea1
Changed style and position of search-for-element button to more closely matchin Chrome ( based on user testing)
2019-04-20 10:44:03 -07:00
Dan Abramov
4ffdffb598
Fix scrolling to selected row in collapsed mode
2019-04-20 16:20:03 +01:00
Dan Abramov
3d09b4aaa5
Don't select search result unless user does something
2019-04-19 01:54:39 +01:00
Lucas Cordeiro
6df050e726
Assign timeoutID to avoid multiple requests
2019-04-18 06:46:06 -03:00
Brian Vaughn
178e89927a
Fixed some edge cases with collapsed by default. Still some bugs existing.
2019-04-17 07:45:33 -07:00
Brian Vaughn
00f6466ec1
Temporarily disabled hooks lint failure for Tree useEffect
2019-04-13 15:49:06 -07:00
Brian Vaughn
97f089bdfe
Merge pull request #148 from gaearon/scroll-consistent
...
Consistently scroll component name into view
2019-04-13 15:39:25 -07:00
Brian Vaughn
518f3d75f8
Tweaked an inline comment.
2019-04-13 15:38:56 -07:00
Brian Vaughn
b2cf896e8c
Fixed misplaced padding in Tree
2019-04-13 15:33:10 -07:00
Brian Vaughn
86f9293376
Merge pull request #154 from gaearon/resize-hilite
...
Adjust highlighting on window resize
2019-04-13 15:25:17 -07:00
Brian Vaughn
d5266f9409
Merge pull request #155 from gaearon/view-dom-inspect
...
View DOM button opens Elements tab
2019-04-13 15:23:09 -07:00
Brian Vaughn
453a06a465
Merge pull request #150 from gaearon/bump-hooks-plugin
...
Bump React Hooks plugin
2019-04-13 15:20:08 -07:00
Dan
ce335b8975
View DOM button opens Elements tab
2019-04-13 18:59:47 +01:00