-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
More flexible widgets grid (allow finer control over height/width) #335
Comments
Related: #158 |
This is open for some time now, any plans on implementing this? We would love it! |
As this feature is going to be implemented soon, I've updated the details. Feel free to comment. |
@arikfr Arik, I need your help with this issue. I implemented dashboard using P.S. I already pushed my code - so you can take a look if needed. |
@kravets-levko cool! will take a look now. It's the |
@arikfr Yes. Thanks! I need to implement some minor things before it will be ready, but it would not make any sense while it's not saving data |
@kravets-levko the
Below this line: redash/redash/handlers/widgets.py Line 84 in 41ec4c8
When I did it, it still didn't work as expected, but I did see that it stores the values, so the issue is probably elsewhere. If you open a pull request from your branch, I'll be able to commit this change (and future needed backend changes) directly to your branch. |
I now realize that you're using (Update: done) |
@arikfr I created PR, but don't merge it for now - I'll ping you when it will be ready. Another thing that I need to ask you - about defaults. Currently I set dashboard to have 3 columns (we can set any, it's up to you), and default dimensions for widgets are initialized from |
BTW - will you update |
I updated I will answer the rest of the questions in the PR, to avoid spamming all the people subscribed to this issue :) |
* 'master' of https://github.com/getredash/redash: (95 commits) CR3 In editing mode hide menu button and show remove button instead Fix: widget menu not visible on small widgets Fix widget auto-height behaviour Cleanup CSS CR2 CR1 getredash#335 Better dashboard editor CirlceCI: Docker build for release branches. Redshift: change default SSL mode to prefer. Update v3 CHANGELOG. Add Query Results to the default query runners list. Add: data source to run queries on top of query results. Fix getredash#1824: allow only user API key to be used with query refresh API. Disable fork button for those can't fork Fix: require full access to the data source to fork a query. Remove unused variables Fix getredash#1979: API key of one query could be used to get results of another one Copy parameters value when forking a query Save only the query id instead of query id and name ...
User should be able to control widget's placement, width and height
Current implementation
Currently editing a dashboard works as follow:
Issues with the current approach:
Solution
To solve this we want to have a flexible (but still responsive) grid that the user can freely place and move widgets on.
Technical Notes
angular-gridster
to allow moving around the widgets in the Edit Dashboard dialog. Maybe we can use it for the grid or a similar library.The text was updated successfully, but these errors were encountered: