question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

backend: provide grid names

See original GitHub issue

cc/ @tarzzz @mfix22 @briandennis

Re/ this comment in #472.

At the moment, a request to Falcon’s GET /queries returns an array of query objects {requestor, fid, uids, refreshInterval, query, connectionId} that doesn’t include grid name.

The proposal here is that we ensure the returned query objects include the property filename. With this approach, #472 wouldn’t need additional code to request the grid names.


@tarzzz I imagine that for a given fid, the grid name (filename?) can change (i.e. users are allowed to rename the grid without changing its fid). Is that so?

If this is the case, there is no point in saving the grid name in Falcon’s queries.yml. Instead, requests to GET /queries and GET /queries/:fid should trigger requests to getGridMeta.


Note to myself. This proposal requires that we change the logic in https://github.com/plotly/falcon-sql-client/blob/52a78ed13b196024dc2e985ebbd1b1780e84677a/backend/routes.js#L658-L703

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tarzzzcommented, Jul 3, 2018

@n-riesco You should be able to use: https://api.plot.ly/v2/folders#all (with the query-parameter as grid ) to get all the grids for that user… (which can then be filtered for the fid from falcon … !!

0reactions
nicolaskruchtencommented, Jul 3, 2018

Yep, and what I’m saying is that neither of these are going to be great from a performance POV.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set a custom name for a backend grid's column?
If you create a custom getName() method implementation, you will get a custom name for a backend grid column.
Read more >
Grids - Learn web development | MDN
An alternative way to arrange items on your grid is to use the grid-template-areas property and give the various elements of your design...
Read more >
Adding a custom column to the backend grid view of ...
How to add a custom data column to the backend grid view of hierarchical modules such as blog posts.
Read more >
Showing a List of Data with Data Providers
There is also a Grid with two columns, Name and Year of birth. ... Different backends support filtering in different ways: some offer...
Read more >
Magento 2 backend add custom grid action (target _self or ...
Ok the xml responsible for ui grid of product list in backend is vendor/magento/module-catalog/view/adminhtml/ui_component/product_listing.xml , and for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found