RobertJoonas
49a2a14237
refactor LazyLoader and fix bug ( #3121 )
2023-07-13 13:53:53 +03:00
hq1
e6e7f07915
Revert "Bump stylelint from 14.1.0 to 15.10.1 in /assets ( #3115 )" ( #3125 )
...
This reverts commit efe0d63b74
.
2023-07-11 14:23:20 +02:00
dependabot[bot]
efe0d63b74
Bump stylelint from 14.1.0 to 15.10.1 in /assets ( #3115 )
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.1.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.1.0...15.10.1 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:14:22 +02:00
dependabot[bot]
2dbba5d724
Bump webpack from 5.38.1 to 5.88.1 in /assets ( #3093 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.38.1 to 5.88.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.38.1...v5.88.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:00:53 +02:00
dependabot[bot]
5b960426f9
Bump @tailwindcss/aspect-ratio from 0.2.1 to 0.4.2 in /assets ( #2263 )
...
Bumps [@tailwindcss/aspect-ratio](https://github.com/tailwindlabs/tailwindcss-aspect-ratio ) from 0.2.1 to 0.4.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/compare/v0.2.1...v0.4.2 )
---
updated-dependencies:
- dependency-name: "@tailwindcss/aspect-ratio"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 13:59:56 +02:00
hq1
49ca6b859a
Prepare base for the funnel PRs merge ( #2993 )
...
* Update dependencies as per the funnels branch
Co-authored-by: Uku Taht <uku.taht@gmail.com>
* Mute sigil_E deprecation errors
* Use Phoenix.Component in PlausbileWeb
* Add tooltip to react/no-unknown-property whitelist
---------
Co-authored-by: Uku Taht <uku.taht@gmail.com>
Co-authored-by: Vinicius Brasil <vini@hey.com>
2023-06-01 15:26:23 +02:00
Uku Taht
e672ea66ec
Frontend timezone issues ( #2810 )
...
* Use dayjs with UTC plugin for date-formatter
* Remove 'toHuman' function
* Use dayjs dates in Datepicker component
* Use util/date.js functions in date formatter
* Remove `fromJSDate`
* Use formatISO instead of raw dayjs formatter
2023-04-07 09:56:02 -03:00
Uku Taht
531dfb114b
Refactor: Use HeadlessUI for search-select component ( #2676 )
...
* Use HeadlessUI for search select box
* Remove downshift from package.json
* More consistent API for Combobox component
* Combine toFilterType and valueWithoutPrefix into a single function
* Rename MyCombobox -> PlausibleCombobox
* Update webpack-cli
* Disable cache for build
* Revert "Disable cache for build"
This reverts commit aa130541f8
.
* Disable cache for build
* Update webpack dependencies
* Remove glob from webpack config
* Webpack is required by package.json
* Require autoprefixer in postcss config
* Revert build changes
* Fix styling for dark mode
2023-02-20 11:10:11 +02:00
Adam Rutkowski
e522a2d7c1
Stop relying on npm-bin (hard deprecated) ( #2446 )
2022-11-16 16:35:08 +02:00
Uku Taht
0bc762bfdc
Fix svg favicons ( #2295 )
...
* Overrides content-type for SVG favicons
* Organize favicon rendering
Make sure the placeholder icon is always requested from
/favicon/sources/placeholder
* Run prettier on site-switcher.js
* Yak Shave: upgrade Heroicons to 2.0
* Use HeroIcons instead of custom svg
* Update lib/plausible_web/plugs/favicon.ex
Co-authored-by: Adam Rutkowski <hq@mtod.org>
Co-authored-by: Adam Rutkowski <hq@mtod.org>
2022-10-04 13:20:51 +03:00
dependabot[bot]
0f7f82f789
Bump bundlemon from 1.2.0 to 1.4.0 in /assets ( #2251 )
...
Bumps [bundlemon](https://github.com/LironEr/bundlemon ) from 1.2.0 to 1.4.0.
- [Release notes](https://github.com/LironEr/bundlemon/releases )
- [Commits](https://github.com/LironEr/bundlemon/compare/bundlemon@v1.2.0...bundlemon@1.4.0 )
---
updated-dependencies:
- dependency-name: bundlemon
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 12:16:48 -03:00
dependabot[bot]
2073d5edb0
Bump eslint-plugin-import from 2.22.1 to 2.26.0 in /assets ( #2240 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.22.1 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.22.1...v2.26.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 19:06:43 -03:00
Uku Taht
7683638b84
Embed improvements ( #2148 )
...
* Replace current tooltip with Popper.js
* Merge tooltip and title for top stats
* Format bounce rate and visit duration numbers in tooltip
* Add 'width=manual' mode for embed
* Add changelog entry
* Use helper function canMetricBeGraphed
2022-09-01 11:22:04 +03:00
Bhavin Gandhi
d1beb83525
Set license to AGPL-3.0-or-later for assets package ( #1852 )
...
As the whole project is AGPL v3 licensed, this just reflects that in
the package.json. This is not changing the tracker JS license.
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2022-04-25 10:43:22 +03:00
Uku Taht
b5c662f5e5
Update deps
2021-11-30 13:18:42 +02:00
Uku Taht
01c5a6cb5a
Use phoenix javascript from NPM
2021-11-24 12:13:53 +02:00
Uku Taht
fdac5e2be6
Add bundlemon
2021-11-24 11:55:14 +02:00
Raphael Megzari
578b8fa060
package.json: add version attributes ( #1416 )
2021-10-28 14:03:38 +02:00
Uku Taht
29fb25eb43
Upgrade NPM deps
2021-10-12 11:51:00 +02:00
Uku Taht
d1360dd681
Run npm lint and format in CI
2021-10-11 14:57:01 +02:00
Mackenzie
9c2fd9aca5
1. Remove the "airbnb" eslint plugin since it conflicts with prettier ( #1374 )
...
and so was just annoying
2. Get rid of all existing ESLint errors.
2a. Turned off `react/display-name` because I couldn't figure out how to
make that wrapped component have a display name. If anyone can figure it
out, that'd be great, because that makes things nicer when using the
React debugger.
2b. The part where it says `plausible()` is undefined in `app.js` is
bothering me. I disabled the check because I can't figure out where that
actually comes from to put in the proper import.
2c. Told ESLint we're using Babel.
3. Added `npm run format` and `npm run lint` commands.
2021-10-11 14:48:19 +02:00
Uku Taht
0de89bad82
Add filter groups ( #1167 )
...
* Add filter groups
* New flow for filters
* Visual consistency
* Mobile improvements to dropdown
* Do not let filters wrap on a new line
* Fix country filter
* Add mix format to pre-commit configuration
* Make eslint happy
* Fix formatting
* Use transition from headlessUI
2021-07-21 16:50:26 +03:00
Uku Taht
af3445c863
Polyfill ResizeObserver
2021-07-05 15:16:56 +03:00
Uku Taht
8e2601d76f
Use Downshift instead of react-select
2021-06-29 11:51:14 +03:00
Uku Taht
46f6942be1
Update JS deps
2021-06-21 16:14:06 +03:00
Vignesh Joglekar
30ac901141
Adds manual, editable, auto-suggested filters, and negated&globbed path-based filters ( #1121 )
...
* Adds manual-filters + friends
commit 308192044d726e9a6f7406e333048ab3407aa260
Merge: 39287ab
a299fab
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri Jun 11 03:40:55 2021 -0500
Merge branch 'manual-filters' into manual-filters-2
commit a299fab1fb
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri Jun 11 02:20:26 2021 -0500
Changes to split and pattern matched function for time_on_page
commit 10f10c933a
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri Jun 11 01:53:18 2021 -0500
Fixes a couple of minor UX issues
commit f2e5ce8eb3
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri Jun 11 01:49:10 2021 -0500
Fixes time on page for globbed and negated page paths
commit bb18af6526
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu Jun 10 05:24:05 2021 -0500
Close to finalized version of updated version
Just needs some additional testing + potentially code cleanup
commit d0b7bfe3da
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri May 28 04:21:21 2021 -0500
Real Dialyzer Fix
commit 296a76af34
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri May 28 03:44:29 2021 -0500
Dialyzer fix
commit 91f3b44017
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 17:11:24 2021 -0500
Changelog
commit e041f75745
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 17:09:52 2021 -0500
Formatting
commit f689642204
Merge: e00929b
4ff25f6
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 17:08:47 2021 -0500
Merge branch 'master' into manual-filters
commit e00929b1c5
Merge: 83887c4
806975e
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 17:01:48 2021 -0500
Merge branch 'manual-filters' of github.com:Vigasaurus/plausible-analytics into manual-filters
commit 83887c49cc
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 16:59:32 2021 -0500
Adds tests for suggestions, formats goals suggestion query
commit 1cb7732a08
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 16:36:31 2021 -0500
Adds goals as auto-complete capable filter
commit 4ca39cc406
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 16:08:22 2021 -0500
95% completed auto-complete setup
Still needs:
- tests
- goals added as filter
commit 22d38c4cd8
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Thu May 27 03:47:19 2021 -0500
80% of auto-complete filters progress
Still needs
- countries and screen into new format
- re-style dropdown and background
- drop debounce time
- tests
commit 806975ede9
Merge: 81c5e05
1a93542
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Tue May 25 15:28:21 2021 -0500
Merge branch 'master' into manual-filters
commit 81c5e05760
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Tue May 25 15:21:03 2021 -0500
Makes colorings on top bar elements consistent
commit fa7f6c2268
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Tue May 25 14:58:25 2021 -0500
Makes requested changes, adds different version of filter button
commit 7dc65b9b7a
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Sat May 22 04:29:01 2021 -0500
Changelog
commit c684f1c76a
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Sat May 22 04:26:14 2021 -0500
Various UI Improvements
- Makes edit buttons full-length & properly sized
- Adds remove filter button in edit menu
commit a632e7a8ee
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Sat May 22 03:11:50 2021 -0500
Adds tests for exclusions and wildcards
commit eb91a7942b
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Sat May 22 03:02:23 2021 -0500
Fixes editing UX on list view
commit 6209d72aee
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri May 21 04:01:17 2021 -0500
Bugfix in realtime view, formatting
commit 007d44df38
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri May 21 03:23:16 2021 -0500
Second pass - mostly everything user-facing is done
Still needs:
- Tests
- Potentially negating other filters
- Potentially some code cleanup
commit cb7b5b9fbd
Author: Vignesh Joglekar <rexvigasaurus@gmail.com>
Date: Fri May 21 01:49:52 2021 -0500
First pass on manual filter & path regex/negated filters
Still needs:
- Form structure on filter modal
- Edit filter button
- Filter dropdown UI improvement
- Filter modal mount data collection
- Tests
- Potentially negating other filters
* Fixes an issue between the updated React version and Flatpickr not showing up
Reverting to v16 was the simplest fix without diving into the issue upstream with Flatpickr
* Resolves comments on UI and code style
Co-authored-by: Uku Taht <Uku.taht@gmail.com>
2021-06-21 14:42:16 +03:00
Uku Taht
02ad4c8f5e
update js deps 2 ( #1112 )
...
* update js deps
* Update development command
Co-authored-by: happysalada <raphael@megzari.com>
2021-06-07 12:12:02 +03:00
Uku Taht
c0678cd2f7
Chartjs v3 ( #1111 )
...
* WIP
* Implement graph with Chart.js v3
2021-06-07 11:29:42 +03:00
Uku Taht
03690b2ecd
Revert "update tailwind version"
...
This reverts commit 8cdfcdd9de
.
2021-05-12 13:14:59 +03:00
Uku Taht
8cdfcdd9de
update tailwind version
2021-05-12 12:33:52 +03:00
Uku Taht
fef3eba0a4
Embed improvements ( #839 )
...
* Smoother resizing of the iframe
* Use bodyBackground with iframe-resizer
2021-03-15 15:56:12 +02:00
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.
2020-12-23 10:45:53 +02:00
Uku Taht
8d240a5025
Add terser-webpack-plugin to deps
2020-11-26 10:37:36 +02:00
Uku Taht
eca27283c1
Update TailwindCSS to 2.0
2020-11-19 14:34:37 +02:00
Uku Taht
ebf40b475b
Update JS deps
2020-11-19 14:34:37 +02:00
Uku Taht
b0bd564b56
Create unified template for settings
2020-11-19 14:34:37 +02:00
Uku Taht
d046773328
WIP
2020-11-19 14:34:37 +02:00
Uku Taht
dc8e29da56
Update npm deps
2020-08-17 16:16:14 +03:00
Uku Taht
ff64fccb18
Add site switcher ( #281 )
...
* WIP
* Add site switcher
* Run ci
* Highlight active site
* Do not show sites dropdown for logged out users
* Add site switcher to realtime view
* Remove blue border when logged out
2020-08-13 13:45:18 +03:00
Uku Taht
232298d327
Realtime dashboard ( #212 )
...
* Auto-updating dashboard with realtime info
* Remove extra route
* Draw list of countries next to the map
* Nice animations
* Do not show bounce rates in realtime modals
* Update countries and devices in realtime
* Remove unused component
* Show total pageviews in the last 30 minutes
* Show proper labels
* Remove unnecessary z-index
* Fix label for main graph
* Fix compiler warnings
* Add tests
* Fix copy pluralizations
* Fix copy in countries modal
* Real-time -> Realtime
* Looser test assertion
* Show last 30 minutes conversions on realtime report
* Remove EventTarget API because it doesn't work on Safari
* Get referrer drilldown from sessions table
* Fix failing tests
2020-07-14 16:52:26 +03:00
Uku Taht
802b69e15a
Cancel dashboard ajax requests when query is changed ( #197 )
2020-07-02 11:21:59 +03:00
Uku Taht
69e9842786
Remove devDependencies
2020-06-03 10:15:53 +03:00
Uku Taht
baa5738ae4
Use npm bin for executables
2020-06-03 10:04:05 +03:00
Uku Taht
a817ba5270
Update npm deps
2020-06-03 09:25:16 +03:00
Uku Taht
55ca459bb2
Update deps
2020-04-21 14:03:33 +03:00
Uku Taht
c40d532880
New landing page ( #47 )
...
* Fix typo
* Update landing page with components from TailwindUI
* Update copy
* Update FAQ and testimonials
* Add feature section
* Update copy for integration
* Implement feedback
* Remove github button JS
* Update headings
* Update gray values
* Update CTA section
* Add copy
2020-03-26 14:22:48 +02:00
Uku Taht
32937c53d1
Upgrade tailwind to 1.2.0 ( #42 )
...
* Upgrade config file
* Upgrade grey colour
* Update styles for dashboard
* Update styles for new site flow
* Update styles for user settings
* Update site setting styles
* Update other pages
* Adjust spacing
* Update last grey rules
* Purge css
2020-03-06 11:11:38 +02:00
Uku Taht
a2ed7514d7
Improve datepicker ( #41 )
...
* Update datepicker dropdown style
* Add custom range for datepicker
2020-03-04 17:24:18 +02:00
Uku Taht
8a4d0a91d1
WIP: New UI updates ( #19 )
...
* WIP: New UI idea
* Remove hover styling if things are not clickable
* Improve mobile view
* Remove dead code
* Fade in tabs
* Update landing page with new style
* Fix countries test
* Fix alignment in conversions report
2020-02-10 15:17:00 +02:00
Uku Taht
8b51e216bc
Remove unused dependency
2020-01-29 16:23:15 +02:00