-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Resize dashboard items #746
Conversation
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.
Works great! PS when can I have the colourpicker ;-)
And we have colors! Right now only three: blue, green, purple. Unfortunately with colored backgrounds, we can't really use the default graph colors, so I just added different tones of the background color. I don't know if the end result very aesthetically pleasing or not, but I did my best not to have anything clash horribly. |
Looks great |
* upstream/master: Updated Funnels to use antd (PostHog#751) Release 1.5.0 (PostHog#762) Speed up action/people by prefetching distinct_ids (PostHog#736) Fix all time no results (PostHog#725) add breakpoint (PostHog#754) Add ES Lint (PostHog#719) Resize dashboard items (PostHog#746) added conditions (PostHog#748) fixed undo bug (PostHog#750) Event Partitioning (PostHog#733) Closes PostHog#714 allow multiple filters with same key (PostHog#738) Fix Error404 (PostHog#744)
Changes
Fixes #704. I did use react-grid-layout in the end. This 20kb of gzipped (80kb minified) JS that's used on an internal dashboard page doesn't break the bank, as the minified payload is already about 1MB.
With this change, there are 4 layouts, which each can have items rearranged independently: Mobile, Tablet, Desktop, TV (HD resolution).
Please test and see if it works as you think it should.
There's just one bug that I didn't manage to fix yet: when you drag from the title (link), it visits the link after dragging. I'll try to get this fix in as well very soon.
Checklist