style: new empty states (#1497)
* fix: custom colors opacity * chore: update text colors for dark mode * fix: dropdown text colors, datepicker bg color * chore: update text colors * chore: updated primary bg color * style: new empty states added * refactor: empty state for issues * style: empty state for estimates * chore: update labels, estimates and integrations empty states * fix: custom analytics sidebar
This commit is contained in:
parent
82ff786666
commit
4a2057c0b3
44 changed files with 757 additions and 792 deletions
|
|
@ -21,7 +21,11 @@ import {
|
|||
import { ExclamationIcon } from "components/icons";
|
||||
// helpers
|
||||
import { copyTextToClipboard, truncateText } from "helpers/string.helper";
|
||||
import { renderLongDateFormat, renderShortDate, renderShortTime } from "helpers/date-time.helper";
|
||||
import {
|
||||
renderLongDateFormat,
|
||||
renderShortDate,
|
||||
render24HourFormatTime,
|
||||
} from "helpers/date-time.helper";
|
||||
// types
|
||||
import { IPage, IProjectMember } from "types";
|
||||
|
||||
|
|
@ -98,12 +102,12 @@ export const SinglePageListItem: React.FC<TSingleStatProps> = ({
|
|||
<div className="ml-2 flex flex-shrink-0">
|
||||
<div className="flex items-center gap-2">
|
||||
<Tooltip
|
||||
tooltipContent={`Last updated at ${renderShortTime(
|
||||
tooltipContent={`Last updated at ${render24HourFormatTime(
|
||||
page.updated_at
|
||||
)} on ${renderShortDate(page.updated_at)}`}
|
||||
>
|
||||
<p className="text-sm text-custom-text-200">
|
||||
{renderShortTime(page.updated_at)}
|
||||
{render24HourFormatTime(page.updated_at)}
|
||||
</p>
|
||||
</Tooltip>
|
||||
{page.is_favorite ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue