Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add 'send without verifying' to status bar #1695

Merged
merged 5 commits into from
Jan 11, 2018
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 9, 2018

Fixes other part of element-hq/element-web#5936

@@ -24,7 +24,11 @@ import WhoIsTyping from '../../WhoIsTyping';
import MatrixClientPeg from '../../MatrixClientPeg';
import MemberAvatar from '../views/avatars/MemberAvatar';
import Resend from '../../Resend';
import { showUnknownDeviceDialogForMessages } from '../../cryptodevices';
import {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we import * as cryptodevices from '../../cryptodevices' rather than having a long list?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -289,10 +300,11 @@ module.exports = React.createClass({
if (hasUDE) {
title = _t("Message not sent due to unknown devices being present");
content = _t(
"<showDevicesText>Show devices</showDevicesText> or <cancelText>cancel all</cancelText>.",
"<showDevicesText>Show devices</showDevicesText>, <sendAnywayText>send without verifying</sendAnywayText> or <cancelText>cancel all</cancelText>.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not verifying we care about - it's the fact that they are unknown. I worry that this wording adds to the general confusion that you need to have verified devices before e2e will work.

We could try something like "mark devices known and send"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, true - let's try that

@richvdh
Copy link
Member

richvdh commented Jan 9, 2018

tests seem to be failing?

@richvdh richvdh assigned dbkr and unassigned richvdh Jan 9, 2018
@dbkr
Copy link
Member Author

dbkr commented Jan 9, 2018

Tests are failing because Travis is broken while they faff around shifting stuff between container based and non-container based infra or whatever they're doing

@dbkr dbkr assigned richvdh and unassigned dbkr Jan 9, 2018
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, modulo the tests still being sad

@richvdh richvdh assigned erikjohnston and unassigned richvdh Jan 11, 2018
@dbkr dbkr closed this Jan 11, 2018
@dbkr dbkr reopened this Jan 11, 2018
@dbkr dbkr merged commit efb96cd into develop Jan 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants