mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
chore: checkpoint current work
This commit is contained in:
@@ -17,7 +17,7 @@ export const GuideToolAcceptView: FC<GuideToolAcceptViewProps> = props =>
|
||||
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<div className="flex flex-col gap-0 bg-muted p-2 rounded">
|
||||
<div className="nitro-card-panel flex flex-col gap-0 p-2">
|
||||
<Text bold>{ LocalizeText('guide.help.request.guide.accept.request.title') }</Text>
|
||||
<Text variant="muted">{ LocalizeText('guide.help.request.type.1') }</Text>
|
||||
<Text textBreak wrap>{ helpRequestDescription }</Text>
|
||||
|
||||
@@ -35,7 +35,7 @@ export const GuideToolMenuView: FC<GuideToolMenuViewProps> = props =>
|
||||
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<Flex alignItems="center" className="bg-muted p-2 rounded" gap={ 2 }>
|
||||
<Flex alignItems="center" className="nitro-card-panel p-2" gap={ 2 }>
|
||||
<div className={ 'duty-switch' + (isOnDuty ? '' : ' off') } onClick={ event => processAction('toggle_duty') } />
|
||||
<Column gap={ 0 }>
|
||||
<Text bold>{ LocalizeText('guide.help.guide.tool.yourstatus') }</Text>
|
||||
@@ -57,7 +57,7 @@ export const GuideToolMenuView: FC<GuideToolMenuViewProps> = props =>
|
||||
<Text>{ LocalizeText('guide.help.guide.tool.tickettypeselection.bullyreports') }</Text>
|
||||
</div>
|
||||
</div>
|
||||
<hr className="bg-dark m-0" />
|
||||
<hr className="nitro-card-divider m-0" />
|
||||
<div className="flex justify-enter items-center gap-2">
|
||||
<div className="info-icon" />
|
||||
<div className="flex flex-col gap-1">
|
||||
@@ -66,7 +66,7 @@ export const GuideToolMenuView: FC<GuideToolMenuViewProps> = props =>
|
||||
<div dangerouslySetInnerHTML={ { __html: LocalizeText('guide.help.guide.tool.guardiansonduty', [ 'amount' ], [ guardiansOnDuty.toString() ]) } } />
|
||||
</div>
|
||||
</div>
|
||||
<hr className="bg-dark m-0" />
|
||||
<hr className="nitro-card-divider m-0" />
|
||||
<Flex gap={ 2 } justifyContent="between">
|
||||
<Button disabled onClick={ event => processAction('forum_link') }>{ LocalizeText('guide.help.guide.tool.forum.link') }</Button>
|
||||
<Button disabled>{ LocalizeText('guide.help.guide.tool.skill.link') }</Button>
|
||||
|
||||
@@ -73,7 +73,7 @@ export const GuideToolOngoingView: FC<GuideToolOngoingViewProps> = props =>
|
||||
|
||||
return (
|
||||
<Column fullHeight>
|
||||
<Flex alignItems="center" className="p-2 rounded bg-muted" gap={ 1 } justifyContent="between">
|
||||
<Flex alignItems="center" className="nitro-card-panel p-2" gap={ 1 } justifyContent="between">
|
||||
{ isGuide &&
|
||||
<div className="relative inline-flex align-middle">
|
||||
<Button onClick={ visit }>{ LocalizeText('guide.help.request.guide.ongoing.visit.button') }</Button>
|
||||
@@ -86,7 +86,7 @@ export const GuideToolOngoingView: FC<GuideToolOngoingViewProps> = props =>
|
||||
</Column> }
|
||||
<Button disabled variant="danger">{ LocalizeText('guide.help.common.report.link') }</Button>
|
||||
</Flex>
|
||||
<Column className="p-2 rounded bg-muted chat-messages" gap={ 1 } overflow="hidden">
|
||||
<Column className="nitro-card-panel p-2 chat-messages" gap={ 1 } overflow="hidden">
|
||||
<Column overflow="auto">
|
||||
{ messageGroups.map((group, index) =>
|
||||
{
|
||||
@@ -96,7 +96,7 @@ export const GuideToolOngoingView: FC<GuideToolOngoingViewProps> = props =>
|
||||
{ (!isOwnChat(group.userId)) &&
|
||||
<LayoutAvatarImageView direction={ 2 } figure={ userFigure } /> }
|
||||
</div>
|
||||
<div className={ 'bg-light text-black border-radius mb-2 rounded py-1 px-2 messages-group-' + (isOwnChat(group.userId) ? 'right' : 'left') }>
|
||||
<div className={ 'nitro-card-row text-black border-radius mb-2 py-1 px-2 messages-group-' + (isOwnChat(group.userId) ? 'right' : 'left') }>
|
||||
<Text bold>
|
||||
{ (isOwnChat(group.userId)) && GetSessionDataManager().userName }
|
||||
{ (!isOwnChat(group.userId)) && userName }
|
||||
|
||||
@@ -16,7 +16,7 @@ export const GuideToolUserFeedbackView: FC<GuideToolUserFeedbackViewProps> = pro
|
||||
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<Flex className="bg-muted p-2 rounded" gap={ 1 } justifyContent="between">
|
||||
<Flex className="nitro-card-panel p-2" gap={ 1 } justifyContent="between">
|
||||
<Column gap={ 0 }>
|
||||
<Text bold>{ userName }</Text>
|
||||
<Text>{ LocalizeText('guide.help.request.user.feedback.guide.desc') }</Text>
|
||||
@@ -29,7 +29,7 @@ export const GuideToolUserFeedbackView: FC<GuideToolUserFeedbackViewProps> = pro
|
||||
</div>
|
||||
{ userName && (userName.length > 0) &&
|
||||
<>
|
||||
<hr className="bg-dark m-0 mt-auto" />
|
||||
<hr className="nitro-card-divider m-0 mt-auto" />
|
||||
<div className="flex flex-col">
|
||||
<Text bold center>{ LocalizeText('guide.help.request.user.feedback.question') }</Text>
|
||||
<div className="flex gap-1">
|
||||
|
||||
@@ -17,7 +17,7 @@ export const GuideToolUserPendingView: FC<GuideToolUserPendingViewProps> = props
|
||||
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<Column className="bg-muted rounded p-2" gap={ 0 }>
|
||||
<Column className="nitro-card-panel p-2" gap={ 0 }>
|
||||
<Text bold>{ LocalizeText('guide.help.request.guide.accept.request.title') }</Text>
|
||||
<Text variant="muted">{ LocalizeText('guide.help.request.type.1') }</Text>
|
||||
<Text textBreak wrap>{ helpRequestDescription }</Text>
|
||||
|
||||
Reference in New Issue
Block a user