mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
Add feedback option for Revite.
This commit is contained in:
parent
c597fc81f8
commit
a3213fe644
2 changed files with 10 additions and 0 deletions
|
@ -26,6 +26,7 @@ export default function Message({ attachContext, message, contrast, content: rep
|
||||||
return (
|
return (
|
||||||
<MessageBase id={message._id}
|
<MessageBase id={message._id}
|
||||||
contrast={contrast}
|
contrast={contrast}
|
||||||
|
head={head}
|
||||||
onContextMenu={attachContext ? attachContextMenu('Menu', { message, contextualChannel: message.channel }) : undefined}>
|
onContextMenu={attachContext ? attachContextMenu('Menu', { message, contextualChannel: message.channel }) : undefined}>
|
||||||
<MessageInfo>
|
<MessageInfo>
|
||||||
{ head ?
|
{ head ?
|
||||||
|
|
|
@ -58,6 +58,15 @@ export function Feedback() {
|
||||||
onSelect={() => setChecked("Feature Request")}>
|
onSelect={() => setChecked("Feature Request")}>
|
||||||
<Text id="app.settings.pages.feedback.feature" />
|
<Text id="app.settings.pages.feedback.feature" />
|
||||||
</Radio>
|
</Radio>
|
||||||
|
{ (location.hostname === 'vite.revolt.chat' || location.hostname === 'local.revolt.chat') && <Radio
|
||||||
|
disabled={state === "sending"}
|
||||||
|
checked={other === "Revite"}
|
||||||
|
onSelect={() => {
|
||||||
|
setChecked("__other_option__");
|
||||||
|
setOther("Revite");
|
||||||
|
}}>
|
||||||
|
Issues with Revite
|
||||||
|
</Radio> }
|
||||||
<Radio
|
<Radio
|
||||||
disabled={state === "sending"}
|
disabled={state === "sending"}
|
||||||
checked={checked === "__other_option__"}
|
checked={checked === "__other_option__"}
|
||||||
|
|
Loading…
Reference in a new issue