Commit Graph

68 Commits

Author SHA1 Message Date
Jordan Vidrine b56065f989
FIX: Increase z-index of th element (#253) 2023-07-12 15:51:56 -05:00
Kris 6b9bb24880
DEV: update box-shadow definition (#248) 2023-06-15 10:17:45 -04:00
Canapin 6e8aeff437
UX: fix parameters inputs spacing (#245)
* UX: fix parameters inputs spacing

* trying to fix the linting errror 😬
2023-05-25 22:59:59 +02:00
Penar Musaraj 3907c49263
FIX: Reduce issues when debouncing schema search (#241)
Previously the debounced value was both setting the filter value and
updating the input's text value. This causes visible UI issues, because
the debounce updating the input's text value would sometimes reset it,
especially if/when typing quickly.

This PR also uses sticky positioning for the search form, so that it
stays visible even when scrolling the list of schema tables.
2023-04-18 10:33:25 -04:00
Canapin d6b94706a0
UX: Reduce the table height (#220)
Prevent the table to have a fixed 1000px height with the horizontal scrollbar at the bottom of a mostly blank section when we have only a few results.
This change doesn't interfere with the sticky header.
2023-02-06 18:05:17 +01:00
Frank 82ec10d844
FIX: fixed the blueing of the bookmark icon (#186) 2022-08-19 00:07:35 +08:00
Constanza 272e9dd760
UX: Making the headers of the query results table sticky (#182) 2022-07-06 19:08:37 -04:00
Frank 45b6e7eb4f
FEATURE: Bookmarkable QueryGroups. (#177)
Adds the ability for non-Admin users to bookmark Queries from inside Group > Reports > Query view.
2022-06-14 23:07:02 +08:00
Bianca Nenciu c6dd79c805
FIX: Do not stringify null parameters (#151)
Sometimes the query page did not load if one of the query was null
because it called null.toString() and raised an exception.
2022-01-17 13:45:40 +02:00
Penar Musaraj 0c9005513a
UX: Fix button alignment following core changes (#137) 2021-09-14 09:44:32 -04:00
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
Penar Musaraj 4091cd7a04
DEV: Remove SCSS color vars fallbacks (#116) 2021-05-12 16:24:12 -04:00
Kris 3151fde1e7
UX: allow horizontal overflow scroll, fix button (#95) 2021-02-18 10:36:37 +01:00
tshenry 88f9d7176a
UX: Make group report index styling more consistent with core (#72) 2020-10-09 13:22:16 +11:00
Penar Musaraj 5a99501d88
DEV: Use CSS custom properties for colors in SCSS
Prepares the plugin for an upcoming change in core while maintaining
backwards compatiblity.
2020-08-03 21:21:23 -04:00
tshenry 0dcaa990b4
UX: minor share report popup improvements (#49) 2020-06-03 16:39:12 -07:00
Joffrey JAFFEUX df9e21911e FIX: makes group selector works with sk2 (#46) 2020-02-10 08:37:20 +01:00
tshenry 02f4277f3d UX: Improve info popup overflow
Some of the longer variable names were overflowing. This commit is a follow-up to: https://github.com/discourse/discourse-data-explorer/pull/45
2019-12-09 09:02:32 -08:00
Penar Musaraj e8e32e27e0 Fix Prettier 2019-10-28 21:34:08 -04: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
Joffrey JAFFEUX a3ae064654 linting 2019-09-11 10:30:39 -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
Osama Sayegh 859021bb3c
UX: make SQL editor resizable (#33) 2019-04-07 09:05:43 +03:00
Rishabh Nambiar 47f8de9c35 FIX: Show schema info tooltips inline 2018-11-08 12:04:04 +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 9dcba5c6e7 FEATURE: Allow clickable post titles in Data Explorer result view using post_id 2018-10-23 16:17:46 +05:30
Rishabh Nambiar 68059b540e UX: Style improvements in query edit & result view 2018-09-12 18:58:54 +05:30
Rishabh Nambiar 90c2be7f82 FIX: Remove inconsistent row-highlight from the recent queries list 2018-09-12 16:38:08 +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 9e27d0b8d3 FIX: Update stylesheet to use indented sass syntax 2018-09-03 00:27: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 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 0673b68a58 FIX: Make entire row clickable 2018-08-28 12:39:33 +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 Nambiar 7647b1597f FIX: Use predefined SCSS colors instead of hardcoded colors 2018-08-20 11:32:41 +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 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
Kris 7077a646c0 Hide none state from dropdown 2018-05-09 15:49:43 -04:00
Kris c6f0284529 Adding placeholder for none state 2018-05-09 14:04:14 -04:00
Kane York cb18bb9cd7 make that even bigger 2015-08-03 15:15:04 -07:00
Kane York aff32aefa1 Move around data explorer UI stuff 2015-08-03 15:14:23 -07:00
Kane York fb42dc483c Add denormalized column info 2015-07-28 11:18:22 -07:00
Kane York ea1d38da57 Add foreign key info, column comment support 2015-07-28 09:59:26 -07:00
Kane York 45c2636ea0 Fix boolean parameters 2015-07-15 11:00:31 -07:00
Kane York 5b11bbec68 Finish group/category validation, add user lists 2015-07-14 16:49:23 -07:00