diff --git a/docs/dev_notes.md b/docs/dev_notes.md index 3f2113da6..b1a9984a6 100644 --- a/docs/dev_notes.md +++ b/docs/dev_notes.md @@ -18,11 +18,10 @@ - [ ] pre-configured ban/warn reasons with new perm to lock admins to only use them? - [ ] apply new ban scheme to the web player modal - [ ] apply new ban scheme to the NUI - - [ ] maybe this should be named Ban Templates? - - [ ] checklist: - - [ ] light mode - - [ ] multiline - - [ ] mobile + - [x] checklist: + - [x] light mode + - [x] multiline + - [x] mobile - [ ] NEW PAGE: Dashboard - [ ] new performance chart - [ ] number callouts from legacy players page @@ -64,6 +63,13 @@ break down the discord /info command in /info and /admininfo? https://observablehq.com/@d3/zoomable-area-chart?collection=@d3/d3-zoom +player/history modal is cutting bottom of title (test with jgpq, etc) + +new apis? useBackendQuery & useBackendMutation +based on swr's methods +the auth part can be the same middleware for both +need to check swr's behavior on unmount nad how to change timeouts + # @formkit/auto-animate > 2.9kb @@ -724,6 +730,8 @@ https://freesound.org/browse/tags/laser/?page=5#sound > A slider with 500 steps, and an array with 500 timestamps > this array can be done by dividing the serverLog.length to get the step, then a for loop to get the timestamps +> may 2024: use https://observablehq.com/@d3/d3-bisect + ### New database alternatives: > check the chat saved messages on that chat diff --git a/panel/src/components/dndSortable.tsx b/panel/src/components/dndSortable.tsx index 09e0d62cf..03cad1615 100644 --- a/panel/src/components/dndSortable.tsx +++ b/panel/src/components/dndSortable.tsx @@ -37,7 +37,10 @@ export function DndSortableItem({ id, disabled, className, children }: DndSortab attributes.role = 'listitem'; //Override role due to having a drag handle const style: React.CSSProperties = { - transform: CSS.Transform.toString(transform), + transform: CSS.Transform.toString(transform && { + ...transform, + scaleY: 1, //prevent default squishing behavior for multiline items + }), transition, }; @@ -45,7 +48,7 @@ export function DndSortableItem({ id, disabled, className, children }: DndSortab