Commit Graph
100 Commits
Author SHA1 Message Date
Joffrey JAFFEUX 24c27b5321 FEATURE: adds a add_report method accessible in plugin.rb 2018-06-19 15:00:11 +02:00
Joffrey JAFFEUX 913d97e780 fix prettier 2018-06-18 20:10:48 +02:00
Joffrey JAFFEUX 6f2c5ea1f2 increases loglevel to debug CI only failure 2018-06-18 19:25:54 +02:00
Joffrey JAFFEUX 3fc82bf200 FIX: adds a title to composer actions header 2018-06-18 19:01:37 +02:00
Joffrey JAFFEUX f2dbe66367 FEATURE: adds a /admin/reports route to list all reports 2018-06-18 12:31:56 +02:00
Joffrey JAFFEUX 4b604b1e68 FIX: displays correct upload icon when only images are allowed 2018-06-18 11:16:34 +02:00
Joffrey JAFFEUX 525931b77e ignores files failing prettier check only on CI for now (#6001) 2018-06-15 19:02:22 +02:00
Joffrey JAFFEUX 60ff0e9b8c missing prettified files 2018-06-15 18:42:20 +02:00
Joffrey JAFFEUX 2268e29c26 fix linting removed by prettier 2018-06-15 18:18:45 +02:00
Joffrey JAFFEUX 03a7d532cf DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
Joffrey JAFFEUX c82887a0f0 Revert "tests prettier trigger"
This reverts commit f74d86639f.
2018-06-14 15:46:03 +02:00
Joffrey JAFFEUX f74d86639f tests prettier trigger 2018-06-14 15:15:25 +02:00
Joffrey JAFFEUX 276526e30e FIX: improves micro data support 2018-06-13 23:20:48 +02:00
Joffrey JAFFEUX eddcb07f03 FEATURE: adds plugin sharing api 2018-06-13 13:25:51 +02:00
Joffrey JAFFEUX 4e0c06a0b1 FIX: focusing input displayed after clicking on a link more reliable 2018-06-13 10:31:46 +02:00
Joffrey JAFFEUX 3381a0a42a UX: reworks dashboard problems section to be in line with new style 2018-06-12 12:47:03 +02:00
Joffrey JAFFEUX 73731463a3 UX: makes sure close modal icon is aligned with title 2018-06-11 13:38:57 +02:00
Joffrey JAFFEUX 41b71b58a9 UX: experimental ranges for local dates 2018-06-11 13:16:03 +02:00
Joffrey JAFFEUX d96c775833 enforces prettier 2018-06-08 17:38:29 +02:00
Joffrey JAFFEUX 22c186a792 disables prettier enforcing for now 2018-06-08 15:44:00 +02:00
Joffrey JAFFEUX eedf7ffc4f force install with sudo 2018-06-08 13:25:33 +02:00
Joffrey JAFFEUX bc7f16a406 forces install of prettier using npm 2018-06-08 13:22:36 +02:00
Joffrey JAFFEUX 3869a9d027 forces global install of prettier 2018-06-08 12:40:05 +02:00
Joffrey JAFFEUX ddade9c145 better log of yarn setup 2018-06-08 12:12:17 +02:00
Joffrey JAFFEUX bb920e9bb1 DEV: makes sure yarn is ran before docker:test 2018-06-08 12:04:53 +02:00
Joffrey JAFFEUX 174d392e5a DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Joffrey JAFFEUX d556975cdc FIX: do not use number helper for charts Y value 2018-06-07 14:56:49 +02:00
Joffrey JAFFEUX 74ced977be FIX: incorrect backup and update times on dashboard 2018-06-07 11:18:17 +02:00
Joffrey JAFFEUX 1071aa21ab FIX: slightly safer rounding 2018-06-07 10:59:17 +02:00
Joffrey JAFFEUX ab089cd68b FIX: makes format number round the value before using parseInt 2018-06-07 10:44:21 +02:00
Joffrey JAFFEUX a58fb817c0 FIX: removes buggy/unnecessary local-dates margin 2018-06-06 15:28:56 +02:00
Joffrey JAFFEUX 40b3efacaa FIX: sharing popup not showing on macos/chrome
Despite `navigator.share` being defined the call was failing with this error:

```
sharing DOMException: Internal error: could not connect to Web Share interface.
```
2018-06-05 01:18:57 +02:00
Joffrey JAFFEUX e32ccde72d FIX: uses mixin instead of mobile file for local-dates modal 2018-05-30 19:14:31 +02:00
Joffrey JAFFEUX 0c3a0b59cd unused code 2018-05-30 19:07:08 +02:00
Joffrey JAFFEUX c3ec758107 UX: improves local-dates modal form UI 2018-05-30 19:05:41 +02:00
Joffrey JAFFEUX 8128cbd7db UX: adds subtitle support for modals 2018-05-30 17:14:00 +02:00
Joffrey JAFFEUX 43b1768987 UX: ceil dahsboard values 2018-05-30 16:32:43 +02:00
Joffrey JAFFEUX ee8cda691d FIX: simplifies and corrects new collection header tag/drop behaviour 2018-05-29 17:34:34 +02:00
Joffrey JAFFEUX a8079ab679 FIX: show none/all on cat/tag drop only when needed 2018-05-29 16:08:31 +02:00
Joffrey JAFFEUX 597095f56f UX: adds visual feedback when hovering info 2018-05-29 13:31:57 +02:00
Joffrey JAFFEUX 87edde3113 UX: improves dashboard UI for RTL locales 2018-05-29 10:22:31 +02:00
Joffrey JAFFEUX 16d0ab5654 Revert "UX: localizes titles in dashboard table reports"
This reverts commit 409c0ddf85.
2018-05-28 20:35:22 +02:00
Joffrey JAFFEUX 409c0ddf85 UX: localizes titles in dashboard table reports 2018-05-28 20:03:05 +02:00
Joffrey JAFFEUX 4b9c713581 FIX: avoids hidding mobile keyboard on each keystroke 2018-05-28 16:18:25 +02:00
Joffrey JAFFEUX a585c19f2e FIX: prevents collection header from going under rows 2018-05-28 15:47:07 +02:00
Joffrey JAFFEUX 478ccb6698 UX: lower no-change trend emphasis in charts 2018-05-28 13:55:25 +02:00
Joffrey JAFFEUX 42b2bfe262 FIX: adds quotes around format when creating a local date 2018-05-28 11:05:37 +02:00
Joffrey JAFFEUX 82e5727287 UX: -2/+2% change in stats should be no-change in dashboard 2018-05-28 10:55:42 +02:00
Joffrey JAFFEUX a8901efafe FIX: flags report is now a lower is better kind of report 2018-05-25 12:59:39 +02:00
Joffrey JAFFEUX acc5e42066 removes logging 2018-05-25 12:12:28 +02:00
Joffrey JAFFEUX e67ac93e6c UX: makes table report trend icons as charts
This commit will also reverse icon orientation if higher_is_better = false
2018-05-25 12:09:30 +02:00
Joffrey JAFFEUX 1be76d066c FIX: forces boolean when content is only "true" && "false" 2018-05-24 23:41:39 +02:00
Joffrey JAFFEUX 54a9073d94 FIX: do not cook local date without attributes 2018-05-24 10:56:04 +02:00
Joffrey JAFFEUX db91d71bf1 fix category chooser spec 2018-05-23 21:07:39 +02:00
Joffrey JAFFEUX ae004d8b2b attempts of making composer actions test more resilient 2018-05-23 19:57:12 +02:00
Joffrey JAFFEUX a45d8a69f9 FIX: prevents &hellip from being displayed in title attribute 2018-05-23 19:04:26 +02:00
Joffrey JAFFEUX 7232a6e5a9 FIX: do not show composer actions if irrelevant 2018-05-23 18:25:58 +02:00
Joffrey JAFFEUX d2efd338e6 rewrites all composer actions tests using await 2018-05-23 15:52:15 +02:00
Joffrey JAFFEUX 391ee4dfbb FIX: makes sure email-preview is set 2018-05-23 13:44:39 +02:00
Joffrey JAFFEUX dd76ba90b3 FIX: bbcode regex was greedy and preventing quotes 2018-05-23 11:55:02 +02:00
Joffrey JAFFEUX 508b65b76a UX: refactoring/refining tables of new dashboard 2018-05-22 16:47:23 +02:00
Joffrey JAFFEUX 7285e7fbba FIX: uses tooltip to display local dates previews 2018-05-22 13:58:06 +02:00
Joffrey JAFFEUX a0c5b48558 fix failing spec 2018-05-22 10:50:54 +02:00
Joffrey JAFFEUX d57a17879a fix spec and simplify code 2018-05-18 17:13:58 +02:00
Joffrey JAFFEUX 9a5aa39740 FIX: improves discourse-local-dates rendering in emails 2018-05-18 15:35:37 +02:00
Joffrey JAFFEUX 4fd17abb76 linting 2018-05-17 23:44:38 +02:00
Joffrey JAFFEUX af548c23c4 new dashboard quality pass (code, tests and UI) 2018-05-17 22:44:33 +02:00
Joffrey JAFFEUX 9554d9c56a UX: tooltips and improvements to new dashboard
- tooltips
- revert chart title UI
- reduce period chooser font-size
- localize dates of data points
- fix a bug where multiple reports were loaded at the same time
- fix a bug where % was not showing anymore
- remove spacing at the top
- remove loadingTitle feature (Loading...%report name%) incompatible with new hijack design
2018-05-16 16:45:21 +02:00
Joffrey JAFFEUX 9947c38e1c UX: support for multiple datasets in one chart 2018-05-15 20:12:03 +02:00
Joffrey JAFFEUX e474351ae4 inactive users report is not used anymore 2018-05-14 21:31:14 +02:00
Joffrey JAFFEUX 34dbb32df4 FIX: makes report description optional 2018-05-14 16:34:56 +02:00
Joffrey JAFFEUX 83255d94d9 DateGroupable is not used anymore 2018-05-14 16:26:14 +02:00
Joffrey JAFFEUX 94b1a8c841 UX: disables all time col in activity metrics new dashboard
This commit also makes it work for old dashboard.
2018-05-14 16:04:54 +02:00
Joffrey JAFFEUX ba0cec2091 UX: minor fixes to new dashboard UI
- adds a link to search log
- display a text if log search queries is disabled
- adds link to trust level and user types
- adds a description for eeach report when browsing a report directly
2018-05-14 14:23:51 +02:00
Joffrey JAFFEUX 07f4d16f32 Do not ignore core plugin discourse-local-dates 2018-05-04 11:26:55 +02:00
Joffrey JAFFEUX 78435833a5 FEATURE: discourse-cronos is now a core plugin 2018-05-03 20:15:57 +02:00
Joffrey JAFFEUX 581d362627 fix spec 2018-05-03 17:39:37 +02:00
Joffrey JAFFEUX 980972182f dashboard next: caching, mobile support and new charts 2018-05-03 15:41:41 +02:00
Joffrey JAFFEUX 1eee517ae2 adds moment-timezone.js to the list of vendorable libs 2018-05-01 16:00:05 +02:00
Joffrey JAFFEUX 691174fa8f FEATURE: adds emoji search aliases 2018-05-01 15:43:49 +02:00
Joffrey JAFFEUX 9e7150a2ad Revert "add a few emoji aliases"
This reverts commit d942bf6282.
2018-05-01 11:04:26 +02:00
Joffrey JAFFEUX 37a0ceb4e7 Adds fixture for new contributors 2018-04-26 17:39:00 +02:00
Joffrey JAFFEUX 73a1be0d57 Fix spec 2018-04-26 17:19:44 +02:00
Joffrey JAFFEUX b9c7e09a4e linting 2018-04-26 15:21:02 +02:00
Joffrey JAFFEUX 9fabf2543b dashboard next: activity metrics and new contributors
This commit also introduces a better grouping of data points.
2018-04-26 14:49:41 +02:00
Joffrey JAFFEUX 0732c69f73 updates moment.js 2.22.1 and vendor moment-timezone 0.5.14 2018-04-26 09:15:53 +02:00
Joffrey JAFFEUX a9c3437d51 dashboard next: adds basic spec 2018-04-25 10:28:41 +02:00
Joffrey JAFFEUX 59d4123316 PERFORMANCE: disables jquery animations during testing 2018-04-24 18:29:26 +02:00
Joffrey JAFFEUX 42a848f88f linting 2018-04-23 10:26:33 +02:00
Joffrey JAFFEUX 7466769b67 PERF: disables composer transitions in tests 2018-04-23 10:23:11 +02:00
Joffrey JAFFEUX 58a53017c9 simplify code 2018-04-19 18:26:30 +02:00
Joffrey JAFFEUX 0e414d0890 dashboard next: trending search report
This commit also improves how data is loaded sync and async
2018-04-19 18:19:21 +02:00
Joffrey JAFFEUX 01c061d20d dashboard next: perf and UI tweaks
* cache CORE reports
* adds backups/uploads section
* few css tweaks
2018-04-18 21:30:41 +02:00
Joffrey JAFFEUX 2b8307c6c3 dashboard next: minor improvements
* rename route to dashboard-next
* better scaling of charts for large data sets
* adjust trend position to avoid overlap
* makes sure silenced/suspended is made on real users
* correctly format data when only one data point
* minor refactoring
2018-04-17 11:01:06 +02:00
Joffrey JAFFEUX cfe88a67e1 dashboard next: minor quality improvements
* locale for title
* minimum chart/table while loading
* sort users by type
* more spacing in the UI
* minor refactoring
2018-04-16 16:01:29 +02:00
Joffrey JAFFEUX a4a0b8e922 fix spec 2018-04-16 13:40:44 +02:00
Joffrey JAFFEUX 06b6c805d5 dashboard next: adds report for user types 2018-04-16 13:03:43 +02:00
Joffrey JAFFEUX 035d92d2e1 dashboard next: minor tweaks
* help texts
* renaming of components to dashboard-*
* use number formatter
* adjust trend position
2018-04-16 12:00:49 +02:00
Joffrey JAFFEUX b602bab741 linting 2018-04-16 10:57:32 +02:00
Joffrey JAFFEUX 0e15a575f4 EXPERIMENTAL: new dashboard UI
This is the first iteration of an effort towards making a very good dashboard.

Until we feel confident this is good, this dashboard will only be accessible through /admin/dashboard_next
2018-04-16 10:42:06 +02:00