Andy Balaam and David Baker
eed8db4c26
Bump matrix-events-sdk to 0.0.1-beta.7 ( #7837 )
...
* Bump matrix-events-sdk to 0.0.1-beta.7
* Update lockfile
2022-02-22 13:00:03 +00:00
Andy Balaam and GitHub
213b32bf14
Bump matrix-events-sdk to 0.0.1-beta.7 ( #7837 )
...
* Bump matrix-events-sdk to 0.0.1-beta.7
* Update lockfile
2022-02-22 11:54:56 +00:00
Andy Balaam and GitHub
f1e1b7be86
Support "closed" polls whose votes are not visible until they are ended ( #7842 )
2022-02-21 10:21:35 +00:00
Andy Balaam and GitHub
93d4364455
Prevent forwarding polls ( #7819 )
2022-02-17 10:57:12 +00:00
Andy Balaam and GitHub
7387f3c80a
Allow editing polls ( #7806 )
2022-02-17 09:13:05 +00:00
Andy Balaam and GitHub
84e15fa148
Display '(edited)' next to edited polls ( #7789 )
2022-02-15 08:52:51 +00:00
Andy Balaam and GitHub
76cafb7aa9
Ensure location bodies have a width in bubbles ( #7742 )
2022-02-08 12:59:08 +00:00
Andy Balaam and GitHub
70a44a8cd6
Enable location sharing ( #7703 )
2022-02-02 11:44:17 +00:00
Andy Balaam and GitHub
afbc843157
Fit location into the width of the container ( #7705 )
2022-02-02 11:41:33 +00:00
Andy Balaam and GitHub
f5226f9d5b
Simplify Composer buttons ( #7678 )
...
* Render a CollapsibleButton's children (needed by UploadButton)
* Make UploadButton ready to live inside an overflow menu
* Always show overflow menu in composer: main buttons are emoji and attach
* Re-order composer buttons as per design
* Re-word composer button captions to be simple nouns
* Don't rotate More options button when clicked
* Move the composer menu and dialogs 16px in from right
* Reduce shadow on composer More menu
* From review: remove else clause
* From review: take input out of button
* Update test snapshots
* Update snapshots
2022-02-02 09:30:53 +00:00
Andy Balaam and GitHub
b5a56698d6
Refactor MessageComposerButtons ( #7668 )
2022-01-31 09:19:26 +00:00
Andy Balaam and GitHub
2229437424
Refactor renderButtons() into MessageComposerButtons component ( #7664 )
2022-01-28 15:44:03 +00:00
0c10385dd2
Remove unused code from Stickerpicker ( #7663 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-01-28 12:22:45 +00:00
344b506184
Rename properties related to Stickers ( #7662 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-01-28 10:58:58 +00:00
Andy Balaam and GitHub
15276ea3b4
Render no buttons if we have a voice recording ( #7658 )
2022-01-28 09:39:10 +00:00
Andy Balaam and GitHub
ae490841c6
Look up tile server info in homeserver's .well-known area ( #7623 )
2022-01-27 09:51:06 +00:00
Andy Balaam and GitHub
b02c6c7953
Re-renable Share option for location messages ( #7596 )
2022-01-24 12:28:17 +00:00
Andy Balaam and GitHub
9fefce6721
Make the close button of the location share dialog visible in high-contrast theme ( #7597 )
2022-01-21 15:40:51 +00:00
Andy Balaam and GitHub
09a1bc66a8
Disable location sharing button on Desktop ( #7590 )
2022-01-21 10:36:00 +00:00
Andy Balaam and GitHub
c4fc20018d
Enable the polls feature ( #7581 )
2022-01-20 09:40:47 +00:00
Andy Balaam and GitHub
2743a75a21
Display general marker on non-self location shares ( #7574 )
2022-01-19 09:33:49 +00:00
Andy Balaam and GitHub
47cbef2af2
Ensure maps show up in replies and threads, by creating unique IDs ( #7568 )
2022-01-18 13:33:53 +00:00
Andy Balaam and GitHub
e1cdbe1e54
Use IncompatibleController to disable showLocation via labs flag ( #7566 )
2022-01-18 11:28:23 +00:00
Andy Balaam and GitHub
2fd06ac0c6
Fix the colour of the map attribution text in dark theme ( #7548 )
2022-01-17 09:30:26 +00:00
Andy Balaam and GitHub
18c82d57ae
Add setting for enabling location sharing ( #7547 )
2022-01-14 15:57:39 +00:00
Andy Balaam and GitHub
ae2cb63a0d
Enable/disable location share button when setting is changed ( #7545 )
2022-01-14 15:04:09 +00:00
Andy Balaam and GitHub
6444aaeeff
Set initial zoom level to 1 to make zooming to location faster ( #7541 )
2022-01-14 12:21:22 +00:00
Andy Balaam and GitHub
22c2aa37d7
Show an error dialog if location permission is denied ( #7531 )
2022-01-13 14:38:04 +00:00
Andy Balaam and GitHub
25cd1a8a43
Show an error dialog if we fail to send location ( #7528 )
2022-01-13 13:23:00 +00:00
Andy Balaam and GitHub
f81120f35f
Set the default zoom level for location to 15, matching iOS and Android ( #7524 )
2022-01-12 14:55:52 +01:00
Andy Balaam and GitHub
11c8e720b2
Add user avatar to location sharing dialog ( #7520 )
2022-01-12 13:32:08 +00:00
Andy Balaam and GitHub
5ae166777c
Update test snapshots to reflect new field in Room ( #7523 )
2022-01-12 13:14:33 +00:00
Andy Balaam and GitHub
31247a50ca
Make LocationPicker appearance cleaner ( #7516 )
2022-01-12 09:19:26 +00:00
Andy Balaam and GitHub
9562deb28c
Remove the Description from the location picker ( #7485 )
2022-01-10 10:07:51 +00:00
Andy Balaam and GitHub
9cb8ce7c20
Add zoom buttons to the location view ( #7482 )
2022-01-10 09:30:24 +00:00
Andy Balaam and GitHub
309f7bb235
Display a tooltip when you hover over a location ( #7472 )
2022-01-07 15:11:30 +00:00
Andy Balaam and GitHub
707f8cd878
Open map in a dialog when it is clicked ( #7465 )
2022-01-07 14:54:45 +00:00
Andy Balaam and GitHub
b412067b24
Fix nulls leaking into geo urls ( #7433 )
2021-12-21 16:56:28 +00:00
Andy Balaam and GitHub
a239c456e3
Allow opening a map view in OpenStreetMap ( #7428 )
2021-12-21 15:48:20 +00:00
Andy Balaam and GitHub
70dc03552c
Display the user's avatar when they shared their location ( #7424 )
2021-12-21 15:19:27 +00:00
Andy Balaam and GitHub
de881d2321
Remove the Forward and Share buttons for location messages only ( #7423 )
2021-12-21 12:57:56 +00:00
Andy Balaam and GitHub
8b2a478a25
Update location text fallback and test it ( #7408 )
2021-12-21 09:37:06 +00:00
Andy Balaam and GitHub
670d7824ec
Tidy location code ( #7402 )
2021-12-17 12:26:02 +00:00
bd226cd062
Tests for getGeoUri ( #7400 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2021-12-17 10:58:24 +00:00
Andy Balaam and GitHub
144e4c61fc
Avoid NaNs in parseGeoUri return ( #7396 )
2021-12-17 09:50:27 +00:00
Andy Balaam and GitHub
9a8265429c
Unit tests for parseGeoUri ( #7395 )
2021-12-16 14:20:55 +00:00
Andy Balaam and GitHub
1c6a7646fa
Use UnstableValue for all location constants ( #7388 )
2021-12-15 16:54:11 +00:00
Andy Balaam and GitHub
fc58ce7ed2
Use the moved makePollContent function from js-sdk ( #7387 )
2021-12-15 16:54:01 +00:00
Andy Balaam and GitHub
43839adec0
Use constants from js-sdk in polls code ( #7381 )
2021-12-15 14:26:26 +00:00
Andy Balaam and GitHub
55eda7314b
Show votes in replied-to polls (pass in getRelationsForEvent) ( #7345 )
2021-12-13 13:12:22 +00:00
Andy Balaam and GitHub
3b3776222b
Only show poll previews when the polls feature is enabled ( #7331 )
2021-12-10 15:40:16 +00:00
Andy Balaam and GitHub
c21895b5b4
Don't show polls in timeline if polls are disabled ( #7332 )
2021-12-10 13:28:21 +00:00
Andy Balaam and GitHub
5554d7fdc1
Don't send a poll response event if you are voting for your current c… ( #7326 )
2021-12-10 12:36:53 +00:00
Andy Balaam and GitHub
fc96af5014
Show poll question in message preview ( #7320 )
2021-12-10 12:17:26 +00:00
Andy Balaam and GitHub
c56833816a
Update yarn.lock ( #7327 )
2021-12-10 11:29:27 +00:00
Andy Balaam and GitHub
68ac578577
Support reactions, replies and forwards of polls ( #7318 )
2021-12-09 12:54:31 +00:00
Andy Balaam and GitHub
e0162d255e
Make clear button images visible in high contrast theme ( #7306 )
2021-12-09 09:13:03 +00:00
2b52e17a80
Allow ending polls ( #7305 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2021-12-08 14:56:48 +00:00
Andy Balaam and GitHub
494af883f3
Hide votes in a poll until you voted ( #7269 )
2021-12-03 10:26:28 +00:00
141950d9e6
Ensure my votes from a different device show up ( #7233 )
...
Co-authored-by: Travis Ralston <travpc@gmail.com >
2021-12-02 17:12:18 +00:00
Andy Balaam and GitHub
1c6703356d
Highlight my vote even if it was made on another device ( #7202 )
2021-11-26 09:24:34 +00:00
965539da2d
Show an error dialog if poll creation or voting fails ( #7201 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2021-11-25 17:00:13 +00:00
Andy Balaam and GitHub
ea97c416f5
Test for showing a spinner after submitting a new poll ( #7194 )
2021-11-24 16:24:19 +00:00
d7f3d2791a
Basic tests for PollCreateDialog ( #7193 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2021-11-24 13:48:07 +00:00
Andy Balaam and GitHub
aec09dcad2
Show a spinner while waiting for a poll to be created ( #7189 )
2021-11-23 14:19:48 +00:00
Andy Balaam and GitHub
359962af6c
Prevent text overlapping on poll options ( #7187 )
2021-11-23 11:16:31 +00:00
d705fdd6e4
Display and send votes in polls ( #7158 )
...
Co-authored-by: Travis Ralston <travpc@gmail.com >
2021-11-23 10:27:44 +00:00
Andy Balaam and GitHub
21c142c19d
Make the Add option button look disabled when it is ( #7164 )
2021-11-19 14:19:53 +00:00
Andy Balaam and GitHub
39e47e0375
Limit the length of poll questions and answers to 340 characters ( #7166 )
2021-11-19 14:01:30 +00:00
Andy Balaam and GitHub
a2c662272e
When we only show one compose button, show upload ( #7165 )
2021-11-19 14:01:07 +00:00
Andy Balaam and GitHub
f87e9d86a4
Catch up MPollBody CSS with everything else that now uses just 'accent' ( #7118 )
2021-11-11 14:34:55 +00:00
Andy Balaam and GitHub
431b69ee49
Display started polls in timeline (without votes) (behind labs setting) ( #7088 )
...
* Display started polls in timeline (without votes)
* Update i18n info
* Keep original background colour of poll options, even on hover
* Show full avatar above a poll message
2021-11-10 15:44:57 +00:00
Andy Balaam and GitHub
8ea551fb6d
Do not shift buttons in high contrast theme ( #7102 )
2021-11-10 11:24:27 +00:00
Andy Balaam and GitHub
50ff00084f
Change radio button border colour to match design ( #7087 )
2021-11-10 09:34:21 +00:00
Andy Balaam and GitHub
9c8e1d32e2
Rename mx_RadioButton to mx_StyledRadioButton to match class name ( #7083 )
2021-11-04 12:57:38 +00:00
Andy Balaam and GitHub
d0bb6e0657
Unit tests for getEffectiveTheme ( #7051 )
...
* Unit tests for getEffectiveTheme
* Unit tests for choosing high-contrast theme
2021-10-29 09:11:55 +01:00
Andy Balaam and GitHub
68b64564c0
Respect the system high contrast setting when using system theme ( #7043 )
...
* Respect the system high contrast setting when using system theme
* Restore correct behaviour of getEffectiveTheme
2021-10-28 13:01:50 +01:00
Andy Balaam and GitHub
abbc39cdec
Add a high contrast theme (a variant of the light theme) ( #7036 )
...
* Enable choosing a high contrast variant of the Light theme
* Updates to high contrast theme to match design and show focus
* Adjust the outline-offset to match designs
* Don't draw an outline around the active tab
* Prevent cropping of outlines on buttons
* Use the correct colour for links
* Change light grey text to be darker in high contrast theme
* Use a darker text colour in admin panel
* Adjust background colours of back button and font slider
2021-10-27 14:31:54 +01:00
Andy Balaam and GitHub
166fba6428
Improve the appearance of the font size slider ( #7038 )
2021-10-26 13:29:02 +01:00
Andy Balaam and GitHub
70606ffff6
Replace all uses of notice-primary-color with the correct alert colour ( #7010 )
2021-10-25 10:32:38 +01:00
Andy Balaam and GitHub
1f5d8a95e6
First draft of light-high-contrast theme ( #7009 )
2021-10-22 15:18:49 +01:00
Andy Balaam and GitHub
c73127c35c
Remove unused code left from extracting ThemeChoicePanel ( #7002 )
2021-10-21 09:59:34 +01:00
Andy Balaam and GitHub
4b903b9fbd
Break ThemeChoicePanel into a separate component ( #6998 )
...
* Break ThemeChoicePanel into a separate component
* Tests for ThemeChoicePanel
* i18n fixes
* Fix copyright for ThemeChoicePanel
2021-10-20 14:58:27 +00:00
Andy Balaam and GitHub
96bd052ecf
Improve visibility of font size chooser ( #6988 )
...
* Improve visibility of font size chooser
* Move slider dot sizes into variables
* Use a standard font size instead of percentage in Slider
* Use shorthand for padding in FontScalingPanel
* Change Slider text pos to px to be consistent when font changes
* Cleaner dot size for Slider selection
2021-10-20 13:41:27 +01:00
Andy Balaam and GitHub
d39002338d
Merge pull request #6985 from andybalaam/break-out-font-scaling-panel
...
Break out font size settings to a separate component
2021-10-19 15:51:09 +01:00
Andy Balaam
2582f6df23
Replace manual mock with jest.mock
2021-10-19 15:45:11 +01:00
Andy Balaam
d70a706c15
i18n updates
2021-10-19 15:25:33 +01:00
Andy Balaam
79edceca89
Remove unused fields
2021-10-19 15:23:45 +01:00
Andy Balaam
4ad32b16ea
Break out font size settings to a separate component
2021-10-19 14:50:09 +01:00
Andy Balaam and GitHub
4f3d761984
Merge pull request #6968 from andybalaam/cryptographypanel-table
...
Convert CryptographyPanel to a table
2021-10-18 13:26:16 +01:00
Andy Balaam
61a5b495b7
Remove duplicate CSS selector
2021-10-18 12:23:09 +01:00
Andy Balaam
13d6456200
Convert CryptographyPanel to a table
2021-10-18 09:36:16 +01:00
Andy Balaam and GitHub
f05e35bd94
Merge pull request #6958 from andybalaam/separate-cryptography-setting-component
...
Break 'Cryptography' settings into a separate component
2021-10-18 09:34:55 +01:00
Andy Balaam
78890ab3aa
Run i18n generation
2021-10-18 09:20:58 +01:00
Andy Balaam
0941b38b5d
Name CryptographyPanel CSS classes consistent with style
2021-10-15 16:09:36 +01:00
Andy Balaam
a547ee4654
Break 'Cryptography' settings into a separate component
2021-10-15 16:02:44 +01:00
Andy Balaam and GitHub
9c753765d5
Merge pull request #6955 from andybalaam/table-for-devicespanel
...
Switch DevicesPanel to use table (for screen readers)
2021-10-15 14:16:45 +01:00
Andy Balaam
690893ea6b
Merge duplicate CSS selectors
2021-10-15 13:32:39 +01:00
Andy Balaam
7edec291ac
Switch DevicesPanel to use table (for screen readers)
2021-10-15 11:50:49 +01:00
Andy Balaam and GitHub
e40413fa99
Merge pull request #6940 from andybalaam/devicespanel-css-in-devicespanel
...
Move the required CSS for DevicesPanel into its own scss file
2021-10-13 16:48:10 +01:00