JC Brand
7126ee2df9
Add new component for navigating back to controlbox
...
in small viewports
2021-03-17 11:19:58 +01:00
JC Brand
d8daedea0d
Render the MUC view component declaratively
2021-03-15 12:34:56 +01:00
JC Brand
4ca30c4b93
Create converse-muc-chatarea
component
2021-03-11 10:26:09 +01:00
JC Brand
68d461bd42
Add the ability to show/hide unfurls
2021-03-05 18:42:14 +01:00
JC Brand
19a9da3032
CSS: Don't show border on empty element
2021-03-04 16:17:19 +01:00
JC Brand
64fd0ebcf6
Unfurls: Remove URL check
...
Url parameters mean that we don't get a match even when the URLs
actually match.
Could potentially use URI.js but gets cumbersome and since we restrict
to metadata coming from the MUC service (which we trust) I think it's OK
to remove it.
2021-03-02 11:03:35 +01:00
JC Brand
16edc2954d
Add support for rendering unfurls via Prosody's mod_ogp
...
See here: https://modules.prosody.im/mod_ogp.html
2021-02-22 17:55:20 +01:00
JC Brand
a8a2bb4681
Componentize the chat headings
2021-02-12 14:32:55 +01:00
JC Brand
9ce4092a7c
Turn the bottom panel into a custom element
2021-02-12 14:32:55 +01:00
JC Brand
a32b7b64bf
Fix display of lgoged-out controlbox in fullpage mode
2021-02-10 11:37:48 +01:00
JC Brand
18e48be5c4
Move CSS fixes before merge
2021-02-09 15:48:21 +01:00
JC Brand
9f5dbad589
Turn roster into a custom element
2021-02-09 15:48:21 +01:00
JC Brand
d1c807ec79
Fixes to the bookmarks-list view
2021-02-09 15:48:21 +01:00
JC Brand
66abe309f6
Fix order for the minimized chats widget
2021-02-09 15:48:21 +01:00
JC Brand
336adac1ef
CSS: fix order of boxes in overlayed view mode
2021-02-09 15:48:21 +01:00
JC Brand
d6c0129c86
Various CSS fixes
2021-02-09 15:48:21 +01:00
JC Brand
be9016a081
Fix switching between login and register panels
2021-02-09 15:48:21 +01:00
JC Brand
75b8a16465
Fix CSS and work on declaratively rendering the controlbox toggle
2021-02-09 15:48:21 +01:00
JC Brand
1949356ede
Work on turning chat views into custom elements
...
The eventual goal is to avoid UI-related stanza processing if the relevant chats
aren't in the DOM.
With the current architecture, chatboxes are created (and the stanzas
related to them processed) even if `#conversejs` isn't in the DOM.
* Initial work on making controlbox an element
* Create a shared base class
* Ceate ChatBoxViews proxy
* Update sass now that certain classes are moved to converse-chats element
2021-02-09 15:48:21 +01:00
JC Brand
3f40098144
Render logo for registration form
...
Also fix showing of version number in login form
2020-12-29 12:16:23 +01:00
JC Brand
9372ad2dff
register: Use lit-html to render templates
2020-12-29 11:49:25 +01:00
JC Brand
160ab3452e
Rename ids of two modals
2020-12-03 11:43:04 +01:00
JC Brand
34cba68432
Allow user modals to be opened from message headings
2020-12-03 11:02:35 +01:00
JC Brand
01ee942920
Styling fixes
...
* Calculate proper length for :geo URI matches
* Don't strip out line-break after quotes, instead use CSS `display: inline-block`
2020-12-01 10:21:21 +01:00
JC Brand
f9650f33be
Add support for XEP-0393 message styling
...
Fixes #1083
Directives are rendered as templates and their bodies are MessageText instances.
We thereby achieve the necessary nesting of directives (and other rich
elements inside directives) by letting each directive
body render itself similarly to how the whole message body is rendered.
2020-11-24 16:06:48 +01:00
JC Brand
4e3a81d697
Fixes #2337
...
Newly opened headline chat isn't hidden by default in fullscreen view
Also include some CSS fixes for fullscreen headlines boxes
2020-11-19 13:20:02 +01:00
JC Brand
476bcfe7cc
Fixes #2137 : Show back arrow on mobile
2020-10-23 21:36:39 +02:00
Bernard Ngandu
055c1b1194
#2274 add background to send-button ( #2279 )
...
use muc-toolbar-btn-color for background
2020-10-15 10:27:10 +02:00
JC Brand
395aa8cb95
Use JS to dynamically set height of img modal
2020-10-13 15:35:54 +02:00
JC Brand
e73d14304c
Fix image to modal (i.e. avoid scrollbars)
2020-10-13 15:05:57 +02:00
JC Brand
3f08201f5a
Remove unused code for the removed features section in occupants sidebar
2020-10-07 11:20:16 +02:00
JC Brand
31a05f111b
Fixes #2261
...
Don't use 100vh, it doesn't work properly on mobile
2020-10-02 23:15:59 +02:00
JC Brand
383b6a27c3
Render the brand heading as a component
2020-10-02 11:44:28 +02:00
JC Brand
e705b038f8
Fixes #2124 Concord - toolbar icons are invisible in MUC
2020-09-09 12:48:49 +02:00
JC Brand
cb53c86711
Don't use date-separator
CSS class for the new messages indicator
2020-09-03 13:06:17 +02:00
JC Brand
8c799efc58
Don't minimize chats by clicking the header
...
This prevents the burger menu from opening
2020-08-24 11:28:48 +02:00
JC Brand
f5aaaa8712
CSS: Make only the image clickable
2020-08-18 15:03:28 +02:00
JC Brand
29383301df
CSS: Fix horizontally centered spinner
2020-07-27 12:42:50 +02:00
bernard ng
377dad49c7
add a separator between views ( #2135 )
...
* fixes 2059 add a separator between views
2020-07-22 10:22:59 +02:00
JC Brand
4534a343d6
CSS: Fix image modal max width
2020-07-17 18:18:24 +02:00
JC Brand
2937ea7ef4
CSS: Fix image modals in Firefox
2020-07-17 17:20:29 +02:00
JC Brand
6a6d080679
Open images in a modal
2020-07-14 15:45:16 +02:00
JC Brand
8f6b1f9049
Fix help menu icon colour and let it scroll
2020-07-13 11:17:29 +02:00
JC Brand
51ad0e3708
Fix toggling of the spoiler form
2020-07-08 11:33:06 +02:00
JC Brand
c3d6b64f4b
Turn the chat toolbar into a component
...
- Declaratively render the emoji picker dropup
- Got rid of converse-emoji-views
- Adapt OMEMO to the new buttons stuff
- Make emojis json global, to try and speed up tests
- omemo: Move functions to the top of the module
2020-07-08 10:17:06 +02:00
JC Brand
b8be707dc5
css: fix rounded corners for chats in overlayed mode
2020-07-07 14:08:52 +02:00
Kim Alvefur
3607bb6dc8
CSS: Enlarge room title in 'embedded' view mode
...
So that it is the same size as in the 'fullscreen' view mode
2020-07-07 11:14:05 +02:00
JC Brand
f4f183bc46
Rendeer SVG icons inline
...
to overcome cross-site restrictions on using the `use` attribute of the `<svg>` element.
2020-07-02 01:21:40 +02:00
JC Brand
f8efd94249
Don't smooth-scroll upon first appearance of the chat
...
it's annoying in overlayed view-mode where the user might be navigating
around the site.
Fixes #2091
2020-06-30 14:11:53 +02:00
Kim Alvefur
1062fbdd6b
Fix #2101 : Improve contrast of text in control box
2020-06-26 17:30:36 +02:00