Commit Graph

495 Commits

Author SHA1 Message Date
Mike Cao
69b81880cb Fix refresh button. Closes #994, #985. 2022-03-01 21:13:15 -08:00
Mike Cao
f547f2b0ec Add link to realtime referrers. 2022-03-01 19:41:37 -08:00
Mike Cao
0b846b482d Mobile layout updates. 2022-03-01 19:28:44 -08:00
Mike Cao
98b2ee29ef Added language and theme settings. 2022-02-28 20:54:32 -08:00
Mike Cao
3932cc4abb Fix realtime metrics header for mobile. Closes #959. 2022-02-28 18:43:16 -08:00
Mike Cao
34ad1d9c39 New mobile menu. 2022-02-28 18:39:37 -08:00
Mike Cao
be98500e82 Move auth token logic to useApi hook. 2022-02-27 00:25:24 -08:00
Mike Cao
3a8bfd1dbd Move auth token logic to useApi hook. 2022-02-26 15:53:45 -08:00
Mike Cao
d19b6b5a82 Added useApi hook. 2022-02-22 23:52:31 -08:00
Mike Cao
7bd49e6caf Merge branch 'dev' of https://github.com/mikecao/umami into dev 2022-02-22 22:52:06 -08:00
Mike Cao
63bc187490
Merge pull request #978 from sophiabits/fix-772
Don't show metric change indicator when metric delta is 0 (resolves #772)
2022-02-22 22:51:58 -08:00
Mike Cao
b564ee6613
Merge pull request #979 from sophiabits/fix-925
Truncate text & show tooltip when website name is too long (Resolves #925)
2022-02-22 22:51:34 -08:00
Mike Cao
9937caa569 Replaced redux with zustand. Fixed login issue, closes #980. 2022-02-22 22:47:59 -08:00
Mike Cao
7071f5fba5 Updated messages. 2022-02-22 13:31:37 -08:00
Mike Cao
7270d95240 Move environment variables to middleware. Closes #972. 2022-02-20 23:27:50 -08:00
Sophia Willows
74e1139072
Truncate website title on website list & website details pages 2022-02-20 14:32:54 +13:00
Sophia Willows
ef3f08788f
Don't show metric change indicator when metric delta is 0 2022-02-20 14:25:33 +13:00
Sophia Willows
07e782ca39
Truncate text in domain & name columns of website settings table when text content doesn't fit within the cell. 2022-02-20 14:08:43 +13:00
Mike Cao
f5a268c916 CSS updates for mobile. 2022-02-16 23:10:35 -08:00
Mike Cao
c7a3505c39 Display custom tracker script name. 2022-02-16 20:58:44 -08:00
Mike Cao
d8e831db50 Switch to authentication using bearer token. 2022-01-23 00:33:06 -08:00
Mike Cao
547eefae82 Fix custom date range display. Closes #923, #921 2022-01-20 20:06:25 -08:00
Mike Cao
078ef83a40 Small fix to realtime users count. 2022-01-15 19:16:58 -08:00
Mike Cao
fa0ec301d0 Added active user count to realtime page. 2022-01-15 12:39:32 -08:00
Mike Cao
2f18aa29eb Lint fix. 2022-01-14 19:10:46 -08:00
Mike Cao
6bfaa4d40c Replaced color library. 2022-01-14 00:39:27 -08:00
Mike Cao
7d2ab240e6 Fixed invalid prop in Dot. 2022-01-14 00:21:59 -08:00
Mike Cao
489d46f663 Fix PR. 2022-01-14 00:08:27 -08:00
Mike Cao
f0edb2b0fe Merge remote-tracking branch 'origin/dev' into dev 2022-01-14 00:04:50 -08:00
Mike Cao
a101d639d3 Added All time date filter option. 2022-01-14 00:04:07 -08:00
Mike Cao
2e1db5ba55
Merge pull request #905 from p-chan/add-screen-fallback
Fix runtime error when device is null
2022-01-12 20:37:34 -08:00
Mike Cao
884dee06a5
Merge pull request #902 from mandaputtra/feature/895-add-number-online-on-realtime-page
implement realtime current users
2022-01-07 09:49:39 -08:00
Mike Cao
5f359b3cf1 Fix legend color mismatch. 2022-01-06 01:45:53 -08:00
P-Chan
56c0837e83 Refactor device message 2022-01-05 20:25:53 +09:00
P-Chan
20fa2d8fb2 Fix runtime error when device is null
Fix #904
2022-01-04 17:55:51 +09:00
Manda Putra
f5ecc401bf draft: implement realtime current users 2021-12-26 08:01:57 +07:00
Mike Cao
de55496ac9 Merge branch 'dev' of https://github.com/mikecao/umami into dev 2021-12-19 23:05:26 -08:00
Mike Cao
c531072a4e
Merge pull request #873 from cywio/languages-table
Add languages to website details page
2021-12-19 23:05:17 -08:00
Mike Cao
504b5f10d9 Fix refresh button issue, closes #840 2021-12-19 22:49:08 -08:00
Mike Cao
7b7557ec90 Merge branch 'prisma-upgrade' into dev 2021-12-17 20:40:40 -08:00
Mike Cao
066c0cf5ba Fix calendar bug, closes #892 2021-12-17 20:39:02 -08:00
Chris Walsh
7725553097
Remove languages table on main metrics page 2021-12-17 18:25:07 -08:00
Mike Cao
52aefd0fec
Merge pull request #883 from cywio/tooltip-margin
Fix margin on tooltip
2021-12-17 18:03:12 -08:00
Mike Cao
a609de0ea6 Updated prisma package. 2021-12-16 21:17:35 -08:00
Chris Walsh
b31b6e6d88
Fix margin on tooltip 2021-12-04 16:07:31 -08:00
Mike Cao
d8b732026e
Merge pull request #872 from cywio/admin-websites-table
Add owner column to admin website settings table
2021-12-03 20:08:36 -08:00
Chris Walsh
9a326a33a0
Add languages table to metrics grid 2021-12-01 19:32:45 -08:00
Chris Walsh
9cff025784
Add owner column to admin website settings table 2021-12-01 16:03:18 -08:00
Chris Walsh
8874357bed
Remove comparison metrics from realtime header 2021-12-01 15:07:10 -08:00
Mike Cao
d4dd2069b6 Fix build issues. 2021-11-22 14:53:36 -08:00
Mike Cao
ebd52335bb Referrer filtering. 2021-11-21 22:00:14 -08:00
Mike Cao
65d4094095 Added safeDecodeURI method. Closes #848. 2021-11-21 17:47:18 -08:00
Mike Cao
b1ced5f32c Added COUNTRY_IP_HEADER environment variable. Closes #814. 2021-11-20 19:37:13 -08:00
Mike Cao
0a8c06b1f8 Added helper methods for locales. 2021-11-20 17:18:25 -08:00
Mike Cao
ef616cc98d Updated lang strings. 2021-11-20 17:02:24 -08:00
Mike Cao
74b8b128ef Switch to system font stacks. Closes #850. 2021-11-20 15:54:45 -08:00
Mike Cao
0f752de047
Merge pull request #851 from codyogden/issue-705
Add tooltip to charts toggle.
2021-11-20 15:25:15 -08:00
Cody Ogden
c6bb0a6c3c feat: Add tooltip to charts toggle. 2021-11-19 01:07:12 -06:00
Mike Cao
92b205b7b7 Cleaned up language files. 2021-11-04 17:09:03 -07:00
Mike Cao
a15dac05d4 Hide label option. 2021-11-04 15:55:12 -07:00
Mike Cao
77fc5b0157 Updated packages. 2021-10-27 02:05:39 -07:00
Mike Cao
66ed9a502a
Merge pull request #756 from cywio/metric-comparison
Add time period comparison metric to dashboard
2021-08-15 23:15:14 -07:00
Chris Walsh
0c304a2abc
Add dashboard previous-period comparison metrics 2021-08-12 16:01:51 -07:00
Chris Walsh
6e128b2f38
Add reset website statistics to settings 2021-08-10 14:03:55 -07:00
Sammy-T
17a673a69a Preserve page's scroll position 2021-07-25 02:42:13 -04:00
Mike Cao
f91cc82c82 Dynamically fetch language bundles at runtime. 2021-06-29 18:41:34 -07:00
Mike Cao
6dd65803f9 Updated mobile menu. 2021-06-07 21:25:45 -07:00
Mike Cao
fdadaddab7 Fixed placement of modals. 2021-05-25 18:51:50 -07:00
Mike Cao
756beb2cf5 Update fonts. 2021-05-21 18:28:20 -07:00
Mike Cao
04a51bc8c9 Added webpack loading mode for fonts. 2021-05-21 11:42:36 -07:00
Mike Cao
40747b463c Fix typo. 2021-05-21 10:55:37 -07:00
Mike Cao
e8fad828ed
Merge branch 'dev' into local-fonts 2021-05-21 10:27:07 -07:00
Roger Clotet
ea59804573
feat: use fonts from @fontsource instead of Google CDN 2021-05-20 22:21:30 +02:00
Ashraf Monshi
afc4940680 add rtlLocales array 2021-05-16 09:27:48 +03:00
Ashraf Monshi
703a1e13db use useLocale 2021-05-15 11:29:39 +03:00
Ashraf Monshi
0c13f8d358 add rtl support 2021-05-13 09:15:37 +03:00
Mike Cao
66759409e3 Added button to show/hide charts, closes #577. 2021-04-28 02:02:59 -07:00
Mike Cao
af6ee27031 Fix issue with checkbox click, closes #549. 2021-04-24 20:56:22 -07:00
Mike Cao
afb5e17476
Merge pull request #586 from kiprasmel/feat/toggle-checkbox-on-label-click
feat/toggle-checkbox-on-label-click
2021-04-08 22:01:52 -07:00
Sammy-T
24a3667471 Prevent burger from overlapping menu contents 2021-03-30 06:13:11 -04:00
Sammy-T
3482031732 Center burger button content and match color theme 2021-03-30 05:54:50 -04:00
Kipras Melnikovas
4e4ae0a7d0
Toggle the checkbox when clicking on the label
Pretty sure the `user-select: none` could be employed
in other places aswell

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
2021-03-28 20:07:09 +03:00
Mike Cao
609cc0e98a Fix datamaps. 2021-03-26 22:32:13 -07:00
Mike Cao
86ed5d56fa Updated header links. 2021-03-26 21:50:53 -07:00
Mike Cao
c5341e605b Fixed country lookup. 2021-03-26 19:47:28 -07:00
Mike Cao
555c9213f4
Merge pull request #575 from denysdovhan/master
Use DataMaps as a source for the world map
2021-03-26 16:34:51 -07:00
Mike Cao
e0474ea05b
Merge pull request #574 from 20Koen02/patch-1
Vertically Center Theme Button
2021-03-25 20:18:32 -07:00
Denys Dovhan
edc3251966
Use datamaps world map instead of world-110m 2021-03-26 00:14:23 +02:00
Koen van Wijngaarden
ed4b81eea2
Vertically Center Theme Button 2021-03-25 20:44:39 +01:00
Mike Cao
b8b4e1b75b
Merge pull request #513 from gabehab/dev
Create mobile menu
2021-03-17 07:25:18 -07:00
Mike Cao
dd577783d3
Merge pull request #550 from gnarlex/domain-placeholder
Feature: Add placeholder to domain input
2021-03-17 07:24:26 -07:00
Sammy-T
f306107a38 Adjust x-axis labels when record count is greater than 25 2021-03-16 12:20:57 -04:00
Sammy-T
ae8f642720 Include pixel density to scale along Bar Chart width 2021-03-16 11:12:51 -04:00
Alexander Klein
b0323b000a feat: add placeholder to domain input 2021-03-16 14:44:38 +01:00
Sammy-T
4b9e7e9218 Adjust Bar Chart x-axis labels to prevent overlap 2021-03-16 03:55:21 -04:00
Mike Cao
a03e42e0d9 Added font for Chinese traditional. 2021-03-12 22:53:56 -08:00
Mike Cao
cce59eae65
Merge pull request #541 from gnarlex/empty-placeholder-margin
Style: Add gap between "empty" placeholder message and children
2021-03-12 13:37:53 -08:00
Alexander Klein
a4b1a478af style: add margin to "empty" placeholder message 2021-03-12 18:12:53 +01:00
Mike Cao
e486acb316
Merge pull request #534 from gnarlex/fix-start-of-week
Use locale to determine start of week
2021-03-10 20:53:41 -08:00
Alexander Klein
a1edcecde7 feature(components): add locale for date ranges 2021-03-10 10:38:35 +01:00
Alexander Klein
a48c33fcd6 feature(DateFilter): use locale for date ranges 2021-03-10 10:22:19 +01:00
Alexander Klein
17836c70e7 feature(calendar): use locale for start of week 2021-03-10 10:11:23 +01:00
Mike Cao
45181463c4
Merge pull request #522 from Sammy-T/login-menu
Login menu scaling
2021-03-08 21:04:49 -08:00
Sammy-T
52bf53eda9 Increase row padding 2021-03-08 16:18:24 -05:00
Sammy-T
1b0491588f Extend input min-width and add padding 2021-03-05 19:48:20 -05:00
Sammy-T
38256c7e90 Contain login field widths on smaller displays 2021-03-05 19:18:31 -05:00
Meir Roth
3087fa5dc0
Added basePath 2021-03-05 00:20:53 +00:00
Meir Roth
81f6ecb128 fix favicon paths 2021-03-01 22:32:46 +02:00
gabehab
18806c15cf Add temporary close and open menu icons 2021-02-28 20:37:59 -08:00
Mike Cao
d6d0f99daa Updated date formatting for locales. 2021-02-26 22:41:05 -08:00
Mike Cao
50bc2371b8 Fix unknown country display on realtime page. 2021-02-26 21:20:47 -08:00
Mike Cao
f7201c9cfc Remove domain parameter from queries. 2021-02-26 19:50:44 -08:00
Mike Cao
07754169ab
Merge pull request #496 from gnarlex/fix-event-details
fix: event table fails to render in detail view
2021-02-23 00:42:04 -08:00
Alexander Klein
f93ecdfee8 style(realtime): fix layout for realtime protocol 2021-02-21 15:12:49 +01:00
Alexander Klein
c5e03cd5d4 fix(styling): "no data" caption not considered in height calculations
Change `NoData` container position to `relative`. Otherwise it won't be considered in `auto` height calculations by browsers.

Also change the way `NoData` content is centered.
2021-02-21 14:39:30 +01:00
Alexander Klein
98a60d0d3e fix(Dashboard): "no data" caption not rendered
Change styling of `DataTable` to make `NoData` visible again.

Refs #498
2021-02-21 13:51:33 +01:00
Alexander Klein
a981fa30c7 style(MetricTable): fill container height 2021-02-21 13:25:27 +01:00
Alexander Klein
20932a4a11 style(grid): grid row x-padding for smaller screens 2021-02-21 13:20:35 +01:00
Alexander Klein
f357916042 fix: event table fails to render in detail view
The `EventsTable` component failed to render in the detail view, because the `onDataLoad` property is called but none was provided. See the issue for details.

Add a nullcheck to `onDataLoad` before calling it.

Refs #495
2021-02-21 10:31:23 +01:00
Mike Cao
083ef2dc9c Updated method for getting event types. 2021-02-20 17:27:56 -08:00
Mike Cao
490fc99a8a
Merge branch 'dev' into unknown-count 2021-02-20 02:00:49 -08:00
Alexander Klein
306b555b96 fix(metrics): localize 'Unknown' label in tables 2021-02-20 08:28:52 +01:00
Mike Cao
92d4a46a0d
Merge pull request #487 from MoltenCoffee/master
Timestamp localization
2021-02-19 19:05:37 -08:00
MoltenCoffee
e7b92cd097
Add timestamp localization 2021-02-19 10:17:30 +01:00
Alexander Klein
ba4272c878 fix: remove devices/OS filter from table components 2021-02-19 09:58:20 +01:00
Alexander Klein
14e1366fe4 feature(CountriesTable): default nullish labels to 'Unknown' 2021-02-19 09:56:40 +01:00
Alexander Klein
fb85d576a2 feature(DataTable): render nullish labels as 'Unknown' 2021-02-19 09:55:11 +01:00
Mike Cao
3a0195ed50
Merge pull request #476 from gnarlex/event-type-selection
Dashboard: Dropdown for filtering events by their type
2021-02-16 19:05:19 -08:00
Mike Cao
826facf56a
Merge pull request #481 from gnarlex/proptyping-common
Add prop-types for "common" components
2021-02-16 19:04:27 -08:00
Alexander Klein
90b778a25b feature(components): prop-type WorldMap 2021-02-16 14:20:05 +01:00
Alexander Klein
7e96a2a597 feature(components): prop-type Toast 2021-02-16 14:10:04 +01:00
Alexander Klein
f14cafe926 feature(components): prop-type Tag 2021-02-16 14:08:29 +01:00
Alexander Klein
cb4e481e5f feature(components): prop-type Table 2021-02-16 14:05:20 +01:00
Alexander Klein
002ac397f1 fix(RefreshButton): wrong type of websiteId 2021-02-16 13:51:14 +01:00
Alexander Klein
5766d3ac29 feature(components): prop-type RefreshButton 2021-02-16 13:35:16 +01:00
Alexander Klein
86ec5774b6 feature(components): prop-type NoData 2021-02-16 13:32:04 +01:00
Alexander Klein
86c2b75e61 feature(components): prop-type NavMenu 2021-02-16 13:31:03 +01:00
Alexander Klein
de18b03803 feature(components): prop-type Modal 2021-02-16 13:28:32 +01:00
Alexander Klein
cf87ec1ea5 feature(components): prop-type MenuButton 2021-02-16 13:27:03 +01:00
Alexander Klein
614dd51029 feature(components): prop-type Menu 2021-02-16 13:23:16 +01:00
Alexander Klein
4ff2bd4fa2 feature(components): prop-type Loading 2021-02-16 13:11:49 +01:00
Alexander Klein
d5be21649a feature(components): prop-type Link 2021-02-16 13:10:34 +01:00
Alexander Klein
933a7f37e6 feature(components): prop-type FilterButtons 2021-02-16 13:07:59 +01:00
Alexander Klein
9ab3d36ced feature(components): prop-type Favicon 2021-02-16 13:04:35 +01:00
Alexander Klein
5b80b123fa feature(components): prop-type EmptyPlaceholder 2021-02-16 12:59:39 +01:00
Alexander Klein
b75ad8eec5 feature(components): prop-type DropDown 2021-02-16 12:57:18 +01:00
Alexander Klein
303fffbc40 feature(components): prop-type Dot component 2021-02-16 12:50:27 +01:00
Alexander Klein
66154ac233 feature(components): prop-type DateFilter 2021-02-16 12:47:02 +01:00
Alexander Klein
2ff91389e0 feature(components): prop-type CopyButton 2021-02-16 12:33:37 +01:00
Alexander Klein
72b91899b3 feature(components): prop-type Checkbox 2021-02-16 12:04:00 +01:00