Update docs, remove password strong regex, hide tasks (#755)

* Update docs, remove password strong regex, hide tasks

* Update docs
This commit is contained in:
Charles Bochet
2023-07-19 09:45:31 -07:00
committed by GitHub
parent ce3e023a00
commit ca5191169f
26 changed files with 54 additions and 58 deletions

View File

@ -26,7 +26,7 @@ export function CommentThreadCreateButton({
<Button
icon={<IconCheckbox size={theme.icon.size.sm} />}
title="Task"
onClick={onTaskClick}
soon={true}
/>
<Button
icon={<IconTimelineEvent size={theme.icon.size.sm} />}

View File

@ -2,7 +2,7 @@ import {
DropdownButton,
DropdownOptionType,
} from '@/ui/button/components/DropdownButton';
import { IconCheck, IconNotes } from '@/ui/icon/index';
import { IconNotes } from '@/ui/icon/index';
import {
ActivityType,
CommentThread,
@ -17,7 +17,6 @@ export function CommentThreadTypeDropdown({ commentThread }: OwnProps) {
const [updateCommentThreadMutation] = useUpdateCommentThreadMutation();
const options: DropdownOptionType[] = [
{ label: 'Note', key: 'note', icon: <IconNotes /> },
{ label: 'Task', key: 'task', icon: <IconCheck /> },
];
function getSelectedOptionKey() {

View File

@ -1 +1 @@
export const PASSWORD_REGEX = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}$/;
export const PASSWORD_REGEX = /^.{8,}$/;