Commit Graph

173 Commits (425975efec28d348ec4c853d4eec96dfa68e5692)

Author SHA1 Message Date
Vignesh Joglekar 425975efec
Adds dark mode to entire dashboard (#467)
* Adds New Dark Mode Assets

* Moves triangle for dropdown to a reasonable position

* Majority .eex dark implementation

* Fixes Logo Positioning

* Adds theme flag to user schema, uses it

* Uses correct variables for theme applicator script

* Minor missed theme changes/fallbacks

* Individual Component Support + Theme Context

* Sources Tab Support

This was a pain to test D:

* Partial Stats Sections Support

* More of stats modules supported

* Modal +table support

* Improves some Flatpickr in light theme, supports dark theme

* Fixes missed settings tab colors

* Finishes Devices module support

* Fixes bar graph colors

* Better colorizes maps module

* Undoes colorized bars

(they looked bad, on second thought)

* Fixes loading indicator

* Finishes conversions module

* Adds changelog entry

The PR number could be wrong, will double check

* Fixes missed header color

* Fixes naming of migration and removes static alter

* Does migration correctly

As I said, my Elixir is pretty weak heh

* Adds support for spike notifications setting

* Improves contrast and visibility for email settings

* Resolves @ukutaht's comments on #467

* Fixes missing dark style

* Found one more missed dark element (shared links)

* Formatting fixes
6 years ago
Mackenzie a50fd555cf
Prevent choosing a date before site was added in datepicker (#477)
Fixes #446
6 years ago
Mackenzie 3524d13c70
Fix overly-sticky date in query parameters (#470)
The date param was sticking around even when not specified
resulting in Last Month -> This Month still having last month's
date.

Fixes #439
6 years ago
dependabot[bot] f030699d70
Bump ini from 1.3.5 to 1.3.7 in /assets
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
6 years ago
Uku Taht 719b67ed22 Add nodejs to .tool-versions 6 years ago
Uku Taht 00d39c5c13 Halt when redirecting to settings 6 years ago
Uku Taht 8d240a5025 Add terser-webpack-plugin to deps 6 years ago
Uku Taht 54aaeb2ae0 Use uppercase M for million 6 years ago
Uku Taht 1ec4dca33f
Merge pull request #412 from plausible/settings-design
Settings design
6 years ago
Uku Taht a530aef73e Add orange color back in 6 years ago
Uku Taht eca27283c1 Update TailwindCSS to 2.0 6 years ago
Uku Taht ebf40b475b Update JS deps 6 years ago
Uku Taht b0bd564b56 Create unified template for settings 6 years ago
Uku Taht d046773328 WIP 6 years ago
birjolaxew b9ac695d97 Fix usages of Link that failed to specify pathname
This would break things like opening the link in a new tab, or previewing the href in the browser
6 years ago
birjolaxew f95f310eb7 Fix QueryLink not linking to the correct URL format
This caused the href view in browsers to show the incorrect URL, and also broke stuff like opening the link in a new tab
6 years ago
birjolaxew 7f1f3a00ec Remove queryWithPeriod from DatePicker
It has been made redundant after the implementation of QueryLink
6 years ago
birjolaxew 9719c83364 Prioritize order of props when using QueryLink for readability 6 years ago
birjolaxew 2f6d58a8e5 Rename QueryLink's 'data' prop to 'to'
This fits the existing naming convention from Link better
6 years ago
birjolaxew b4f530f492 Connect QueryLink to React Router using withRouter
This means history no longer has to be passed as property
6 years ago
birjolaxew ccc89ab4b1 Implement QueryLink to make it easier to transition from Link 6 years ago
birjolaxew a05f3eb6d6 Remove stray semicolons to conform with existing code style 6 years ago
birjolaxew 21b88b996d Update Countries to use new navigation function 6 years ago
birjolaxew 53ac7d3bc7 Update Filters to use new navigation function 6 years ago
birjolaxew 3524a89fb3 Update VisitorGraph to use new navigation function 6 years ago
birjolaxew 8e9349e1d8 Update DatePicker to use new navigation function 6 years ago
birjolaxew 0a565025d2 Implement function for updating current page query
This centralizes updating the search parameters
It's needed in order to implement proper history handling
Previously navigating to a new period filter would not revert if going back in history
The new function will update history entry to include the period if a new period is navigated to
This way going back in history will correctly revert the period filter
6 years ago
Uku Taht d0d7b823f8
Browser and OS version (#397)
* Collect browser and OS version

* Display browser version

* Show operating system versions

* Device categorization

* Treat headless chrome like a bot

* Ignore events from automated browsers

* Only take major and minor of the version

* Add tests

* Add CHANGELOG entry

* Add changelog entry for bots

* Store empty value as browser when unknown
6 years ago
Uku Taht 8020e93052 Linkify custom props 6 years ago
Uku Taht b816d92020 Show conversion rates in conversions report 6 years ago
Uku Taht 0b6e645b44
Rename metadata -> properties (#390) 6 years ago
Chad Whitacre 73375b8289
Add weekday to the visitor graph (#386)
* Add weekdays to the visitor graph

Abbreviate both weekday and month in order to keep horizontal spacing
roughly the same as it's been.

Closes #175.

* Add note to CHANGELOG
6 years ago
Uku Taht ff515c641d
Improve event metadata (#385)
* Change from dropdown to tabs for metadata breakdown

* Add meta filter to base_query

* Refactor: use base_query_w_sessions in top_referrers_for_goal

* Do not allow individual metadata filter

* Fix conversions report when combining 3 filters: goal, metadata, country

* Remember selected metadata key

* Compress conversions component
6 years ago
Uku Taht 40900c7653
Ability to add event metadata (#381)
* Ability to add event metadata

* Close Dropdown on outside click

* Show (none) value in metadata breakdown

* Allow filtering for metadata key/val pairs

* Use correct clickhouse_ecto

* Better naming for meta filter

* Add tests

* Add changelog entry

* Remove change made for testing
6 years ago
Uku Taht c533562eaa
Show correct stats when filtered for goal (#374)
* Show proper stats when filtered for goal

* Add changelog entry
6 years ago
Uku Taht 63a236508d Improve colour range of countries map 6 years ago
Uku Taht 8e9459ba99
Ignore arrow keys when modifier keys are pressed (#371) 6 years ago
Uku Taht e228fd1f85
Additional filters (#358)
* Filter by screen size

* Filter by browsers

* Add filter for Operating system

* Add changelog entry

* Add filter for countries

* Add tests for filters
6 years ago
Uku Taht aa915215f0 Format counts in country report 6 years ago
Uku Taht 13de259cd4 Format device numbers 6 years ago
Uku Taht ff0cb5d2cf Add referrerpolicy=no-referrer to DDG favicons
Fixes #343
6 years ago
Uku Taht 27fd18bea0
Linkify top pages (#350)
* Linkify top pages

* Add changelog entry

* Make automated build push :dev tag to Dockerhub
6 years ago
Uku Taht 8d9667a949
Show utm_medium, utm_source, and utm_campaign in sources modal (#321)
* Show utm_medium, utm_source, and utm_campaign in sources modal

* Allow filtering by UTM tags

* Integrate filters with URL bar

* Add CHANGELOG entry

* Refresh modal when filter changes

* Remove Direct / None from campaign results

* Add UTM tabs to top sources report

* Add pagination

* Remove dropdown from top sources popup

* Fix bug in clickhouse_ecto

* Remove referrers_for_goal

* Make sure UTM tags work OK with goals

* Make source tab selection sticky

* Consistent styling for devices and source tabs

* Add noref in realtime to utm tabs

* Fix tests
6 years ago
Uku Taht f871aaa195 Do not purge flatpickr css 6 years ago
Uku Taht 57c73e7174 Add notice about cloudflare in custom domains 6 years ago
Uku Taht 26da5f2218 Include flatpickr CSS in our own bundle 6 years ago
Uku Taht 49f153c380
Paginate referrers (#313)
* Add pagination for referrers

* Fix top referrers for goal
6 years ago
Uku Taht 33bf8e8b4d
Add 'This month' and 'Last month' options (#312)
* Add 'This month' and 'Last month'

* Remove 60d option

* Make datpicker transition similar to site switcher
6 years ago
Uku Taht 76896f7cee
Show total conversions in addition to uniques (#294) 6 years ago
Uku Taht a7f3aa430e
Show real counts along percentages (#293) 6 years ago