Matt Aitken
|
b10c4afccf
|
PathBar memoization simplified
|
2022-04-08 11:55:34 +01:00 |
|
Matt Aitken
|
c3daa987ba
|
Change the cache to use Map
|
2022-04-08 11:51:56 +01:00 |
|
James Ritchie
|
6a2c11cdc2
|
Changed a component from using function compontent
|
2022-03-25 10:12:10 +00:00 |
|
Eric Allam
|
32a9162848
|
Merge branch 'features/tree-view'
# Conflicts:
# app/components/ColumnItem.tsx
# app/components/PathBar.tsx
|
2022-03-22 09:40:58 +00:00 |
|
James Ritchie
|
a1a61dd562
|
Commented out search bar UI
|
2022-03-20 17:23:19 +00:00 |
|
James Ritchie
|
f2a4488d29
|
Added a search bar to the path bar
|
2022-03-18 16:22:01 +00:00 |
|
D-K-P
|
7c0ebd9675
|
Made all the icons monochrome
|
2022-03-18 15:15:44 +00:00 |
|
James Ritchie
|
01fdba1788
|
Focus state removed
|
2022-03-18 14:50:18 +00:00 |
|
James Ritchie
|
c671db2e6a
|
Improved the indentation
|
2022-03-18 14:48:32 +00:00 |
|
James Ritchie
|
88878e9cbf
|
Adjusted the column widths and made the keys truncate
|
2022-03-18 14:48:32 +00:00 |
|
Eric Allam
|
86a8a4ec59
|
Hoist key handler to the tree so selected nodes outside of virtual list can still be navigated
Also will now automatically expand the path to a node that wants to be focused
|
2022-03-18 14:10:38 +00:00 |
|
James Ritchie
|
db59b874b7
|
Removed blue focus outline from selected item
|
2022-03-18 12:48:02 +00:00 |
|
James Ritchie
|
e4bff0565b
|
Styled the tree view
|
2022-03-18 12:41:25 +00:00 |
|
Dan Patel
|
1b7ab29735
|
Removed colours from column items and added new icons for array and object
|
2022-03-18 12:03:33 +00:00 |
|
Eric Allam
|
48d8c9894c
|
Toggle all children when holding the shift/option key
|
2022-03-18 11:34:25 +00:00 |
|
Eric Allam
|
de1efa8149
|
Persist collapsed state to localStorage
|
2022-03-18 11:09:36 +00:00 |
|
Eric Allam
|
f9671c6df7
|
Implement all the ARIA keyboard interactions, and selection follows focus
|
2022-03-18 10:05:32 +00:00 |
|
Eric Allam
|
084a93e03a
|
Only scroll to the selected node once
|
2022-03-15 10:18:14 +00:00 |
|
Eric Allam
|
22cccb1781
|
Improved safari speed, tabIndex -1 caused safari slowness for some reason
|
2022-03-14 12:12:58 +00:00 |
|
Eric Allam
|
a08b2a7531
|
useMemo on stringifying the schema json
|
2022-03-14 10:38:54 +00:00 |
|
James Ritchie
|
f17f63fcb5
|
Copy text button fits better when title is only one line long
|
2022-03-11 17:46:27 +00:00 |
|
James Ritchie
|
12f4a0d245
|
Added a copy text button to the schema view
|
2022-03-11 17:41:51 +00:00 |
|
James Ritchie
|
bb897c7145
|
New copy buttons on the data table
|
2022-03-11 17:41:51 +00:00 |
|
James Ritchie
|
425f0f3943
|
PreviewBox doesn’t have a parent <a> anymore so another <a> can be nested if needed.
|
2022-03-11 17:41:51 +00:00 |
|
James Ritchie
|
0493de02be
|
Improved the copy button behaviour on the info headers
|
2022-03-11 17:41:51 +00:00 |
|
James Ritchie
|
e62deaf17c
|
Added a copy text button to a json preview
|
2022-03-11 17:41:51 +00:00 |
|
James Ritchie
|
d9da6d5abe
|
Re-added the url property
|
2022-03-11 17:41:51 +00:00 |
|
Matt Aitken
|
26ef6c12f0
|
Added caching for calculating related paths
|
2022-03-11 16:59:33 +00:00 |
|
Matt Aitken
|
931db71a12
|
Calculate the related paths only once in the info panel
|
2022-03-11 15:19:10 +00:00 |
|
Eric Allam
|
0cd7eacaa8
|
Hoist the call to useJsonTree into a context provider so changing views doesn’t reset the state
|
2022-03-11 15:08:11 +00:00 |
|
Eric Allam
|
97d3543c33
|
Adding the new useVirtualTree hook to create the Json Tree View
|
2022-03-11 14:51:26 +00:00 |
|
Matt Aitken
|
c17d5cd052
|
Optimisation on related path
|
2022-03-11 13:36:37 +00:00 |
|
Matt Aitken
|
3cb34210af
|
Much simpler memoization of the Column
|
2022-03-11 13:15:10 +00:00 |
|
Matt Aitken
|
1c921d85fd
|
Much simpler way of stopping re-rendering of a ColumnItem
|
2022-03-11 12:29:56 +00:00 |
|
James Ritchie
|
c2a6aba24e
|
Share modal light mode style improvements
|
2022-03-11 09:55:57 +00:00 |
|
Eric Allam
|
fdf1d0282f
|
Cleanup JsonColumnView
|
2022-03-04 21:28:14 +00:00 |
|
Matt Aitken
|
a1d4a7d361
|
Removed ScrollingColumnView, wasn’t being used
|
2022-03-04 18:03:23 +00:00 |
|
Matt Aitken
|
f1be249eff
|
Only re-render columns when needed
|
2022-03-04 18:03:23 +00:00 |
|
James Ritchie
|
4b15b84ddf
|
Added a copy and open in new window button to json preview
|
2022-03-04 17:21:08 +00:00 |
|
James Ritchie
|
669c45a115
|
WIP adding copy and new window buttons to JSON previews
|
2022-03-04 17:21:08 +00:00 |
|
Matt Aitken
|
c0717db54e
|
PathBar is now fast to render because of caching
|
2022-03-04 16:36:15 +00:00 |
|
Matt Aitken
|
476980063f
|
Removed render debugging log
|
2022-03-04 16:36:02 +00:00 |
|
Matt Aitken
|
2a5e683e11
|
Columns now render fast, removed blank column
|
2022-03-04 16:35:50 +00:00 |
|
Eric Allam
|
52d96de3af
|
TreeView using react-virtual
|
2022-03-04 16:24:12 +00:00 |
|
Matt Aitken
|
54f499114b
|
JsonColumnView: added a ColummWrapper to stop pointless re-renders
|
2022-03-04 13:37:01 +00:00 |
|
Matt Aitken
|
de4f069c2e
|
ColumnItem: memoized calculations and added an inner component
|
2022-03-04 13:37:01 +00:00 |
|
Matt Aitken
|
276e25cc5c
|
Only recalculate the iconColor when needed
|
2022-03-04 13:37:01 +00:00 |
|
Matt Aitken
|
4ff33f2d5c
|
Added a ColumnsWrapper to avoid re-rendering them
|
2022-03-04 13:37:01 +00:00 |
|
Matt Aitken
|
c84c2a07a0
|
Columns are only set if they’ve changed
|
2022-03-04 13:37:01 +00:00 |
|
Matt Aitken
|
80e2bdb2ed
|
Added useMemoCompare: allows manual equality comparison for changes
|
2022-03-04 13:37:01 +00:00 |
|