-
Notifications
You must be signed in to change notification settings - Fork 358
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
change: [M3-8533, M3-8761] - Fix firewall rules table and Replace react-beautiful-dnd
with dnd-kit
lib
#11127
base: develop
Are you sure you want to change the base?
Conversation
Coverage Report: ✅ |
c42e8b1
to
33ded4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work @pmakode-akamai, and really appreciate considering going with a more holistic refactor, including replacing a non-supported library.
Implementation, markup and styling looks great (in both modes) for the most part, leaving some comments that shouldn't take too much extra work to implement.
33ded4a
to
e425c84
Compare
Description 📝
While working on ticket M3-8533 & PR #11109, we decided to implement/use semantic markup for the Firewall rules table to improve consistency and accessibility, rather than applying a styling band-aid to div grids to make it look like our normal tables. The
react-beautiful-dnd
library has made us rely on div(Box) grids instead of our normal tables, which complicates using semantic tables/grid layouts because of the draggable elements. Plus, this library has been deprecated (announcement: atlassian/react-beautiful-dnd#2672).To solve these problems and make better use of our normal tables, switching to
dnd-kit
(https://dndkit.com/) would be the great idea, which is more popular, supports grid layouts better, and can replacereact-beautiful-dnd
. This will help us use our semantic tables properly and fix the issues with the Firewall rules table in both dark and light modes.Changes 🔄
List any change relevant to the reviewer.
PolicyRow
react-beautiful-dnd
withdnd-kit
libTarget release date 🗓️
N/A
Preview 📷
How to test 🧪
Prerequisites
Reproduction steps
Verification steps
As an Author I have considered 🤔
Check all that apply