Skip to content
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

Ideas #24

Open
12 tasks done
ankane opened this issue Oct 6, 2015 · 15 comments
Open
12 tasks done

Ideas #24

ankane opened this issue Oct 6, 2015 · 15 comments

Comments

@ankane
Copy link
Owner

ankane commented Oct 6, 2015

Done

  • customize order to user (last 20 queries viewed or use data science to determine)
  • treat smart column as string for chart generation
  • show error message on server error
  • metrics on query runtime (add to audits?)
  • save as / fork option on edit page
  • support long queries (over 30 sec)
  • speed up home page when thousands of queries
  • raise error when url is blank in production
  • add indexes to template
  • cache option (under advanced)
  • treat smart column / id field as string for charts
  • keep params when editing dashboard
@OpenCoderX
Copy link

  • 1 for the download button

@spdawson
Copy link

How about "smart" handling of columns/attributes that make use of ActiveRecord::Enum?

@anshul
Copy link

anshul commented Jul 11, 2016

Feature request: A way to do pivot tables.

@6thSigma
Copy link

6thSigma commented Sep 2, 2016

This may be out of the scope of this gem, but the ability to add a moving average line to graphs would be awesome.

@w0www
Copy link

w0www commented Sep 8, 2016

up!

@holden
Copy link

holden commented Jan 11, 2017

+1 for embeddable charts

@fwolfst
Copy link

fwolfst commented Jan 30, 2019

Idea: Next to schema (or even query), show erd (https://github.com/amatsuda/erd or https://github.com/voormedia/rails-erd) if respective gem is available. Btw are you okay with "lazy" idea contributions as comments in this thread?

@pedrocarmona
Copy link
Contributor

pedrocarmona commented Feb 7, 2019

idea: Use liquid to build the sql queries:

  • instead of {smart_variable}, with liquid it would look like {{smart_variable}}

  • allows building dynamic sql with cycles.

  • also allows to set default smart variables, for testing the query (right now its not possible to test queries with smart_variables

  • allows to customize the query based in one or multiple smart variables:

SELECT * FROM my_table

{% if (smart_variable | size) == 1 %}
  WHERE smart_variable = {{ smart_variable }}
{% elsif (smart_variable | size) > 1 %}
  WHERE smart_variable IN ({{  smart_variable | join: ', '  }})
{% else  %}
  WHERE smart_variable IS NULL
  -- or
  -- WHERE smart_variable IS NOT NULL
  -- or we would use a default
{% endif %}

https://mode.com/help/articles/extending-sql-with-liquid/

@cyruscavalcante
Copy link

cyruscavalcante commented Feb 14, 2019

smart variable -> chage null by '%' when nothing is selected on select box
ex:
https://blazer.dokkuapp.com/queries/1-smart-variable?occupation_id=
must result all occupations

@nfedyashev
Copy link

idea:

When a user has lots of pins to display it would be really handy if you can just order records by date of creation and make the corresponding pin stand out when you hover over a certain line in the table below Mapbox area.

Actually, I've tried to implement it myself but from what I found it's not a trivial task and unfortunately I don't have enough time at the moment.

@voltechs
Copy link

Allow for optional "schema" support. ("blazer"."audits", "blazer"."checks").

Would help "organize" domain-specific schemas as per "best practices" (not using the public schema):
https://www.postgresql.org/docs/current/ddl-schemas.html#DDL-SCHEMAS-PUBLIC
https://wiki.postgresql.org/wiki/Database_Schema_Recommendations_for_an_Application

@voltechs
Copy link

Got another idea 😇

Could we somehow give Blazer a hint that a bar chart should be stacked?

@voltechs
Copy link

voltechs commented Dec 19, 2019

Not sure if you want ideas here (lazily, as @fwolfst mentioned), or as separate issues. Let us know, I'm happy to break mine out into their own issues.

Another idea: Somehow allow for smart variable selections to accept multiple values. One solution might be if a smart variable is "plural", allow for multi-select. So, occupation_ids for example, would let you select multiple. Of course, you'd have to make a call for the user on if it should be and or or. Or you could have that be another select option...

P.S. Are you accepting PRs for ideas? I might start tinkering, but I don't want to waste my time if you don't find value in the ideas.

@aggy-k
Copy link

aggy-k commented Dec 20, 2020

Idea: Integrate blazer with authorization gems i.e. Pundit or CanCanCan?
Would love to share Blazer dashboards with non-technical people for read-access only 😇

@coorasse
Copy link

💡 Use the new "Discussions" feature of Github to discuss new ideas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests