Commit Graph

211 Commits (fb64345e92cb2dfadca2984b80cd5fe2192dfeda)

Author SHA1 Message Date
Uku Taht fb64345e92 Format numbers larger than 100m 6 years ago
Uku Taht 3eb2f6d7a8
Add support for sampling (#875)
* Add support for sampling

* Use correct mix package

* Add notice about data sampling
6 years ago
Uku Taht e8cb4ddefb Fix syntax error in JS 6 years ago
Uku Taht 3ff97d27ad Revert to native background colour control 6 years ago
Uku Taht 8ab6edd73f Add max width to embed 6 years ago
Uku Taht fef3eba0a4
Embed improvements (#839)
* Smoother resizing of the iframe

* Use bodyBackground with iframe-resizer
6 years ago
Uku Taht 57b3b32444 Add frameborder="0" and loading="lazy" to iframe 6 years ago
Uku Taht 844af698ce
Embeddable dashboard (#812)
* Add embedded mode for shared links

* Add test for X-Frame-Options

* Improve embed code generator

* Add changelog entry

Co-authored-by: aymanterra <aymanterra@users.noreply.github.com>
Co-authored-by: Brad Kane <bradkane@users.noreply.github.com>
6 years ago
Vignesh Joglekar a271ce5477
Fixes zero-shortcut leading to undefined page (#788) 6 years ago
Vignesh Joglekar 7753f72d82
Fixes MoreLink for UTM tags (#782) 6 years ago
Uku Taht fc70e7ef2b Fix spelling 6 years ago
Uku Taht cda031d453
Bookmarkable shared links (#752)
* Implement shared links with a static URL

* Separate sessio cookie from shared link cookie
6 years ago
Vignesh Joglekar ff32218bd0
Adds entry and exit pages to Top Pages module (#712)
* Initial Pass

* Adds support for page visits counting by referrer

* Includes goal selection in entry and exit computation

* Adds goal-based entry and exit page stats, formatting, code cleanup

* Changelog

* Format

* Exit rate, visit duration, updated tests

* I keep forgetting to format :/

* Tests, last time

* Fixes double counting, exit rate >100%, relevant tests

* Fixes exit pages on filter and goal states

* Adds entry and exit filters, fixes various bugs

* Fixes discussed issues

* Format

* Fixes impossible case in tests

Originally, there were only 2 pageviews for `test-site.com`,`/` on `2019-01-01`, but that doesn't make sense when there were 3 sessions that exited on the same site/date.

* Format

* Removes boolean function parameter in favor of separate function

* Adds support for queries that use `page` filter as `entry-page`

* Format

* Makes  loader/title interaction in sources report consistent
6 years ago
Vignesh Joglekar 09658810b8
Fixes overflow on long site urls (#749) 6 years ago
Vignesh Joglekar 524b4c52f6
Adds site switching keybindings (#735)
* Changes 30d and 6mo keybinds, adds site switch keybinds

* Fixes datepicker helpers

* Changelog
6 years ago
Uku Taht e58ab08b7b Improve external link generation for domains with subfolder 6 years ago
Vignesh Joglekar e55c2213a9
Fixes case-sensitivity and residual keys in date-keybinds (#709)
* Fixes case-sensitivity and residual keys

* Adds 30d and 6mo shortcuts

* Changelog, rename function appropriately
6 years ago
Uku Taht 015eeefe68 Made changelog notification dark-mode ready 6 years ago
Uku Taht a5ac5ddd16 Show changelog notification 6 years ago
Vignesh Joglekar e47518d5fc
Adds date selection keybindings (#630)
* Main Pass

* Changelog

* Resolves comments
6 years ago
Vignesh Joglekar da7ccc45e4
Allow for `Esc` to clear all filters (#625)
* Allow for `Esc` to clear all filters

* Changelog

* Change duplicated ctrlKey (in DatePicker too)
6 years ago
Uku Taht cb3e401dce Revert "Add Comparison Line and Improved Tooltip to Visitors Graph (#624)"
This reverts commit 979d2526d5.
6 years ago
Vignesh Joglekar f6aefa9643
Add "Add Site" button to site switcher (#626) 6 years ago
Vignesh Joglekar 979d2526d5
Add Comparison Line and Improved Tooltip to Visitors Graph (#624)
* First pass

* Title Section of Tooltip+Formatting

* Cleanup, Formatting, Rest of Tooltip

* Fixes bug in "month" calculate_plot

Bug: where calculate_plot on "month" didn't correctly use the end date in the date range, and instead always used the current time - making requesting past chunks of 6 or 12 month data impossible

* Cleanup + Comments

* Cleanup+Percentage Formatting Changes

* Fixes Realtime Tooltip

* Prevent FE Crash

* Minor format, code cleanup

* Removes erroneous changes

* Github UI is bad at indenting
6 years ago
Sean Hill 6ab2126ab8
Change datepicker caret from pink to indigo (#618)
* Change datepicker caret from pink to indigo

* Update CHANGELOG.md

* Update CHANGELOG.md

* Updated filters dropdown caret/chevron to indigo
6 years ago
Vignesh Joglekar d339fea686
Update References (#619) 6 years ago
Uku Taht e873d790e5
Self hosted improvements (#603)
* Introduce SELFHOST config. Enable cron by default for self hosters

* Fix cron, disable custom domain for selfhost

* Add github links

* Add notice about google search console on self hosted

* Enfore BASE_URL

* Set all selfhost users' trial expiry to 100 years from now

* Fix admin user creation
6 years ago
Uku Taht 4fb78265a8 Add disabled hover state for buttons 6 years ago
Mackenzie 27b60894bb
disable date navigation arrows when date is invalid for site (#483)
* Prevent choosing a date before site was added in datepicker

Fixes #446

* change date navigation arrows to real buttons and disable them when date is invalid for site

* simplify. ditch LinkButton and just use button. make lint a little happier

* put back dark mode for date nav buttons

* enforce line length limit

* fix a11y lint errors

* correct event/e
6 years ago
Uku Taht 229c51def4
In app release notes (#554)
* Remove warning

* Add in-app release notes

* Update changelog url
6 years ago
Vignesh Joglekar bbb6bae4a2
Adds fallback for countries missing in DataMap (#533) 6 years ago
Vignesh Joglekar 8174f1d135
Mobile/Filter Overflow UX Improvements (#503)
* Initial Implementation

Still needs clear all functionality, various styles and spacing, and overall cleanup

* Second pass

Most of the styling issues are still present, but collapsing/expanding logic should be complete

* Third pass

* Refactors, comments, cleans up filters code

* Flatpickr color+placement changes

* Last(?) pass on UI

* Actually fixes sticky dates without breaking navigation

* Changelog

* Puts this back where it goes

* Updates based on @ukutaht's comments

- Removes Screenclass hook in favor of simple viewport size storage
- Uses class-based component
- Removes recheck variable in favor of tri-state wrapped
- General formatting & code cleanup
6 years ago
Mackenzie e95ff80c3d
Add eslint, stylelint, prettier, and pre-commit (#484)
- When you try to commit, Pre-commit will run checks for all three, if
  installed, _only_ on staged files, and prevent committing if the linters are
  unhappy.
- Several eslint rules that generate a lot of errors are disabled for now.
  That's to allow a more gradual transition, so you won't change 1 line and be
  told to fix 100 other lines (but maybe like 20 because there are still a lot
  of rules enabled).
- Prettier is set to require pragma. That's also to allow a more gradual
  transition. As each file is tidied up, run Prettier on it, and it'll add a
  special comment that tells it that it's now responsible for keeping that one
  tidy.
6 years ago
Vignesh Joglekar e2599ffcc1
Changes "This Month" view to Month-to-date for current month (#491)
* Initial MTD

* Adds FE support

* Removes broken Day to Time, debug statements

* Changelog

* Cleans up conditional
6 years ago
Vignesh Joglekar b64f9de51a
Adds sticky header row (site selection, date, filters) (#472)
* 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

* Add initial implementation for sticky header

* Minor mobile formatting improvements

* Finishes (probably) pinned header feature

* Adds changelog entry for pinned header

* Updates PR number in sticky header changelog entry

* Wraps up code cleanup + feature

* Merge conflicts are hard, apparently

* Removes extraneous tailwind variants

* Fixes mentioned issues

* Removes option to unsticky
* py-3
* Tailwind in CSS
6 years ago
Vignesh Joglekar 1174801255
Fixes couple of Flatpickr related issues (#495)
* Navigates to day when same day is chosen in flatpickr

* Ensures that erroneous from and to params are removed when re-navigating

* Changelog
6 years ago
Vincent Dörig df9767dbdc
fix: low contrast text in dark mode (#490) 6 years ago
Vignesh Joglekar d3f7c94ebe
Adds "Load More" functionality to pages modal (#480)
* Initial Feature Commit

* Changelog
6 years ago
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