diff --git a/CHANGELOG.md b/CHANGELOG.md index 593162a7..aa8603fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org). -## [Unreleased] +## [3.1.0] - 2021-03-29 ### Added * [#379](https://github.com/shlinkio/shlink-web-client/issues/379) and [#384](https://github.com/shlinkio/shlink-web-client/issues/384) Improved QR code modal, including controls to customize size, format and margin, as well as a button to copy the link to the clipboard. * [#385](https://github.com/shlinkio/shlink-web-client/issues/385) Added setting to determine if "validate URL" should be enabled or disabled by default. diff --git a/src/servers/CreateServer.tsx b/src/servers/CreateServer.tsx index d98d3619..0f87fa0d 100644 --- a/src/servers/CreateServer.tsx +++ b/src/servers/CreateServer.tsx @@ -42,7 +42,7 @@ const CreateServer = (ImportServersBtn: FC, useStateFlagT {(serversImported || errorImporting) && ( -
+
{serversImported && } {errorImporting && }
diff --git a/src/servers/Overview.tsx b/src/servers/Overview.tsx index 703cf717..ea156041 100644 --- a/src/servers/Overview.tsx +++ b/src/servers/Overview.tsx @@ -1,5 +1,5 @@ import { FC, useEffect } from 'react'; -import { Card, CardBody, CardHeader, CardText, CardTitle } from 'reactstrap'; +import { Card, CardBody, CardHeader, CardText, CardTitle, Row } from 'reactstrap'; import { Link, useHistory } from 'react-router-dom'; import { ShortUrlsListParams } from '../short-urls/reducers/shortUrlsListParams'; import { ShortUrlsList as ShortUrlsListState } from '../short-urls/reducers/shortUrlsList'; @@ -51,9 +51,9 @@ export const Overview = ( return ( <> -
+
- + Visits @@ -66,7 +66,7 @@ export const Overview = (
- + Orphan visits @@ -79,7 +79,7 @@ export const Overview = (
- + Short URLs {loading ? 'Loading...' : prettify(shortUrls?.pagination.totalItems ?? 0)} @@ -87,13 +87,13 @@ export const Overview = (
- + Tags {loadingTags ? 'Loading...' : prettify(tagsList.tags.length)}
-
- + + Create a short URL
Create a short URL
diff --git a/src/servers/helpers/ServerForm.tsx b/src/servers/helpers/ServerForm.tsx index d0d7bf66..78f04113 100644 --- a/src/servers/helpers/ServerForm.tsx +++ b/src/servers/helpers/ServerForm.tsx @@ -25,7 +25,7 @@ export const ServerForm: FC = ({ onSubmit, initialValues, child return (
- + Name URL API key diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 1c9a1b36..294115a0 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -7,7 +7,7 @@ const SettingsSections: FC<{ items: ReactNode[][] }> = ({ items }) => ( {items.map((child, index) => ( {child.map((subChild, subIndex) => ( -
+
{subChild}
))} diff --git a/src/utils/DateInput.scss b/src/utils/DateInput.scss index 50c4016a..b6de89b3 100644 --- a/src/utils/DateInput.scss +++ b/src/utils/DateInput.scss @@ -71,6 +71,11 @@ color: inherit; } +.react-datepicker__day--disabled.react-datepicker__day--disabled { + cursor: default; + color: var(--border-color) !important; +} + .react-datepicker__day--keyboard-selected.react-datepicker__day--keyboard-selected, .react-datepicker__month-text--keyboard-selected.react-datepicker__month-text--keyboard-selected, .react-datepicker__quarter-text--keyboard-selected.react-datepicker__quarter-text--keyboard-selected, diff --git a/src/visits/VisitsStats.tsx b/src/visits/VisitsStats.tsx index d94d14bb..ad2e13a1 100644 --- a/src/visits/VisitsStats.tsx +++ b/src/visits/VisitsStats.tsx @@ -154,7 +154,7 @@ const VisitsStats: FC = ( -
+
= ( -
+
-
+
-
+
= ( />
{isOrphanVisits && ( -
+
= ( -
+
= ( onClick={highlightVisitsForProp('country')} />
-
+
= ( <> {children} -
+
@@ -273,7 +273,7 @@ const VisitsStats: FC = ( {isOrphanVisits && ( @@ -281,7 +281,7 @@ const VisitsStats: FC = (
{visits.length > 0 && ( -
+
-
+
{renderVisitsContent()}