Commit Graph

39 Commits

Author SHA1 Message Date
Andrei Prigorshnev 4a98cc8af8
FEATURE: get rid of the import a query modal (#127)
This is the new version of #126. Now the pick-files-button moved to core. To import a query into Data Explorer, you need to push the button and then deal with the import modal. Instead, we want just to be triggering a system file picker directly. This PR makes it happen.
2021-08-20 14:26:48 +04:00
Andrei Prigorshnev 814ec14636
FIX: add missing string (#121) 2021-07-02 14:22:40 +04:00
Jarek Radosz 60b2dd7908
DEV: Minor clean-up (#119) 2021-07-02 10:31:16 +02:00
Andrei Prigorshnev 782dc09d96
UX: Add a help modal dialog (#109) 2021-04-15 19:17:07 +04:00
Andrew Prigorshnev 4f33c22344
FEATURE: Add a graph report to query results (#93) 2021-02-18 12:06:22 +01:00
Gerhard Schlager e7cc6310d7 DEV: Remove mention of Transifex from locale files 2020-08-06 13:34:32 +02:00
Gerhard Schlager 159a52100f DEV: Use consistent interpolation key format in translations 2020-06-02 19:22:46 +02:00
Mark VanLandingham d811b0c7a3 FIX: Use i18n for allow groups label (#44) 2020-01-06 12:08:35 +01:00
Mark VanLandingham 446e6bf29c
FEATURE: Popup to copy shareable links to reports (#41)
* FEATURE: Popup to copy shareable links to reports

* Only show created_at if it is non-empty

* remove unneeded dependencies in share-report

* Use Discourse.BaseUrl and i18n some text
2019-10-28 14:32:09 -05:00
Mark VanLandingham 30fe9289b8 Allow groups to access queries (#36)
* [WIP] group ids saving on new reports

* Add groups to default queries, and added tab connector

* group_ids set to empty array for default queries

* group reports route (in & and) action

* [WIP] created group reports show route/controller

* Find correct query in show route

* Removed empty array for group_ids in query file

* Add report show view, where users can run queries

* Removed unneeded commas from queries.rb

* Allow non-admin group members to access reports

* query-result component dynamic download url based on location

* Removed accidental changes, and corrected tab size

* Group members can add params to queries

* Specs for new QueryController actions

* remove "Inlude query plan" from group reports

* Run prettier

* return and return -> return render

Co-Authored-By: Robin Ward <robin.ward@gmail.com>

* [WIP] changes from review

* Remove weird [-1] group_ids logic, for a simply check for [] in query update action

* Added integration tests for group report access

* Using guardian for securing endpoints, and much improved specs

* Update assets/javascripts/discourse/components/group-reports-nav-item.js.es6

Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2019-09-11 10:09:41 -04:00
Rishabh 6a69daf39a UX: Clean up button styles for query pages
- Add a "play" glyph for the Run & SaveRun buttons
- ensure that there's only one primary button on the page i.e. Run
- Remove btn-danger from discard button
- remove redundant button class from create button
- Improve redundant copy by removing the word "Query"
2019-02-05 14:21:52 +05:30
Rishabh 344f6e357d
FEATURE: Replace combo-box with search filter (#28)
* FEATURE: Replace combo-box with search filter
* Delete unused listname property and css fixes
* Use ES6 syntax and `@computed` decorator
2018-11-02 18:11:20 +05:30
Rishabh Nambiar 316923f190 FEATURE: Show the number of results after running a query (limit 250) 2018-09-18 11:15:31 +05:30
Rishabh Nambiar 68059b540e UX: Style improvements in query edit & result view 2018-09-12 18:58:54 +05:30
Rishabh Nambiar dc91b7d0cd FIX: Remove useless no_query_hook text and move create & import buttons to top right 2018-09-07 16:06:23 +05:30
Rishabh Nambiar 1b68847d21 FEATURE: Sort queries by last_run_at as default 2018-08-27 20:10:25 +05:30
Rishabh Nambiar 45d0e8ae4b UX: Improve text when no query selected 2018-08-21 09:54:37 +05:30
Rishabh Nambiar 42b6dbbae2 FIX: Remove bad default query description and add placeholder instead 2018-08-19 10:24:53 +05:30
Rishabh Nambiar e341d5a6fa List all previous queries on Data Explorer homepage 2018-08-14 17:38:08 +05:30
Régis Hanol aca7b188f6 UX: better blank state (create vs select a query) 2018-05-09 22:23:49 +02:00
Kris c6f0284529 Adding placeholder for none state 2018-05-09 14:04:14 -04:00
Kane York 9145e32162 FIX: Show error message, not exception page, to mods 2015-09-21 11:19:31 -07:00
Kane York 7201823c6b Remove HTTPS warning 2015-08-03 15:09:51 -07:00
Kane York 1601f4f269 Add 'download results as CSV' 2015-08-03 15:07:29 -07:00
Kane York 0672e99da2 Work on new parameter model 2015-07-14 16:01:38 -07:00
Kane York 198c64d86a Don't show the ace editor right away, wait for edit pencil to be clicked 2015-07-14 10:34:23 -07:00
Kane York dad55e085b Restyling of data explorer 2015-07-08 16:46:36 -07:00
Kane York 6ac463290e Add DB schema view beside query editor 2015-07-08 13:45:13 -07:00
Kane York d9dbfc8408 Add text for no queries, keep results in query object 2015-07-02 09:15:55 -07:00
Kane York 88d7fa955a Add HTTPS warning 2015-06-30 21:21:14 -07:00
Kane York 1ea74847ae Display errors, convert integers 2015-06-30 19:51:38 -07:00
Kane York a81f8495b0 Update URL. Regression - select2 not updating 2015-06-30 15:56:09 -07:00
Kane York c56a40cacd Import the result table and we're live 2015-06-30 15:12:12 -07:00
Kane York dba181d92e Bunch of progress. Tuesday 1PM 2015-06-30 12:52:17 -07:00
Kane York 95a50e1116 Tuesday morning, 9 AM 2015-06-30 09:07:33 -07:00
Kane York 2c71bc11aa More work on interface, fixes for backend 2015-06-25 14:53:03 -07:00
Kane York 01b38207d9 Start work on JS side 2015-06-25 13:26:31 -07:00
Kane York 44bbc78160 Finish copying over logic from old version 2015-06-25 11:58:14 -07:00
Kane York 174e6d6ecc Initial commit as a clone of discourse-tagging 2015-06-25 09:25:15 -07:00