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
Joffrey JAFFEUX
b9169ec28e
REFACTOR: old patterns, deprecations and dead code ( #35 )
2019-07-16 12:46:32 +02:00
Osama Sayegh
859021bb3c
UX: make SQL editor resizable ( #33 )
2019-04-07 09:05:43 +03: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
Joffrey JAFFEUX
2b6357f8b4
FIX: ember 3 support
2018-12-16 15:22:23 +01:00
Penar Musaraj
061322e53a
Finalize FA5 fixes
2018-11-15 11:12:32 -05:00
Penar Musaraj
d05fb698d6
FA5 icon fix
2018-11-08 11:37:23 -05:00
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
b352e747c7
FEATURE: Ship default queries with the Data Explorer
...
Load default queries from queries.rb and save when run.
Each time a query is run, it picks up changes from queries.rb.
2018-10-10 16:59:13 +05:30
Rishabh Nambiar
1ea20132a0
FIX: Remove an unnecessary Handlebars condition
2018-09-12 14:53:29 +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
Kris
6904e516ae
Removing br tags so an empty description doesn't add space
2018-09-05 13:33:06 -04:00
Kris
a8742f4c64
UX: Minor style improvements and consistency
2018-09-04 14:53:12 -04:00
Rishabh Nambiar
a518ac58fc
FIX: Restrict clickable area to the size of heading-toggle
2018-09-04 21:52:44 +05:30
Rishabh Nambiar
5edb8ea7f8
UX: Make Explorer UI similar to User Activity and Groups pages
2018-08-31 23:41:33 +05:30
Rishabh Nambiar
5a75b6c1e1
FIX: Fix ESLint issues and use d-icon instead of <i> tags
2018-08-30 21:35:43 +05:30
Rishabh Nambiar
d5d933c2a8
FEATURE: Sort queries by names, last_run_at by clicking table headers
2018-08-30 17:32:52 +05:30
Rishabh Nambiar
3bdf624ced
UX: Improve padding while editing a query and text-field width consistency
2018-08-29 13:21:02 +05:30
Rishabh Nambiar
6a57f6536d
FIX: Render creation date instead of run date if query was never run
2018-08-28 12:14:43 +05:30
Rishabh Nambiar
1fc73a211a
FIX: Improved username alignment
2018-08-28 12:00:25 +05:30
Rishabh Nambiar
1b68847d21
FEATURE: Sort queries by last_run_at as default
2018-08-27 20:10:25 +05:30
Rishabh
71845a3d87
Merge pull request #17 from discourse/fix_default_description_text
...
FIX: Remove bad default query description and add placeholder instead
2018-08-20 14:05:05 +05:30
Arpit Jalan
4af28311ab
hide controls on query page
2018-08-19 16:28:24 +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
86a4957bd1
FIX: Ensure that back button always redirects to index page
2018-08-17 15:30:07 +05:30
Rishabh Nambiar
a64ef6c6c7
Added button to go back to query list after visiting a query
2018-08-16 23:14:07 +05:30
Rishabh Nambiar
83b1fcb54b
Added User.find() & fixed scroll history bug
2018-08-14 17:38:08 +05:30
Rishabh Nambiar
6e806cc1df
Added clickable rows, default query sorting by id and clickable usernames
2018-08-14 17:38:08 +05:30
Rishabh Nambiar
e341d5a6fa
List all previous queries on Data Explorer homepage
2018-08-14 17:38:08 +05:30
Régis Hanol
7c94f98436
FIX: prevent creation of query with an empty name
2018-05-09 22:23:56 +02:00
Régis Hanol
aca7b188f6
UX: better blank state (create vs select a query)
2018-05-09 22:23:49 +02:00
Kris
41106fed61
class fix
2018-05-09 14:06:39 -04:00
Kris
c6f0284529
Adding placeholder for none state
2018-05-09 14:04:14 -04:00
Robin Ward
91815c9f00
FIX: Remove Deprecated Views
2016-12-01 13:54:21 -05:00
Kane York
9145e32162
FIX: Show error message, not exception page, to mods
2015-09-21 11:19:31 -07:00
Kane York
aff32aefa1
Move around data explorer UI stuff
2015-08-03 15:14:23 -07:00
Kane York
7201823c6b
Remove HTTPS warning
2015-08-03 15:09:51 -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
c7a947542e
Allow expanding/collapsing the schema view
2015-07-14 09:44:42 -07:00
Kane York
2bbe69d67e
Include enum values in schema
2015-07-09 15:46:19 -07:00
Kane York
a953f83574
Use appEvents for ace resize
2015-07-09 14:10:45 -07:00
Kane York
09398dc8c2
add bottom pad to explorer page
2015-07-09 13:58:22 -07:00
Kane York
7f644019a8
Add resizing
2015-07-09 13:20:21 -07:00
Kane York
71c3b73ef8
FEATURE: 'Download Result' removes 250-row limit
2015-07-09 12:03:25 -07:00
Kane York
7b6b4f9222
Fold plugins-explorer-show into main template
2015-07-09 10:50:00 -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
b68ca164dd
CSS chnages
2015-07-01 12:31:55 -07:00