-
Notifications
You must be signed in to change notification settings - Fork 18
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
MG-163 - Add snap to grid effect on layout #175
base: main
Are you sure you want to change the base?
Conversation
d1c78be
to
0250027
Compare
ui/web/templates/dashboard.html
Outdated
@@ -14,6 +14,9 @@ | |||
crossorigin="anonymous" | |||
referrerpolicy="no-referrer" | |||
></script> | |||
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" /> | |||
<script src="//code.jquery.com/jquery-3.6.0.min.js"></script> | |||
<script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script> |
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.
where is this jquery being used?
remove unused importations
8c071a6
to
754197d
Compare
754197d
to
ac17bd9
Compare
afbba48
to
4766bab
Compare
19ba86c
to
a08e0ab
Compare
ui/web/static/js/dashboard.js
Outdated
grid.refreshItems(); | ||
grid.layout(true); | ||
document.removeEventListener("mouseup", finalizeResize); | ||
console.log("Resize finalized"); |
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.
Remove debug logs.
ui/web/templates/dashboard.html
Outdated
@@ -14,6 +14,7 @@ | |||
crossorigin="anonymous" | |||
referrerpolicy="no-referrer" | |||
></script> | |||
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" /> |
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.
What is this used for?
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.
It was used in a previous implementation with jquery but has now been removed.
a08e0ab
to
d74ddf4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #175 +/- ##
=======================================
Coverage ? 76.74%
=======================================
Files ? 3
Lines ? 215
Branches ? 0
=======================================
Hits ? 165
Misses ? 34
Partials ? 16 ☔ View full report in Codecov by Sentry. |
7b4b05a
to
d4d8211
Compare
some charts are not snapping to the grid: |
6d41b8d
to
66068c0
Compare
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: felix.gateru <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
66068c0
to
f9ce97b
Compare
What type of PR is this?
What does this do?
Adds snap to grid effect on the layout.
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
Did you document any new/modified functionality?
Notes