Commit Graph

113 Commits

Author SHA1 Message Date
Logan Allen
14b28a3d82 chat: unmanaged chats can be joined, have their title/description set, and send invites properly 2020-02-27 16:14:07 -08:00
Logan Allen
7abb371a20 chat: unmanaged chats are cleaned up and sync down metadata properly 2020-02-27 14:54:03 -08:00
Logan Allen
eada785c2c chat-js + view: updated new page to work properly with group creation / selection 2020-02-26 14:21:20 -08:00
~litpub
3f3a0b42e5 Firefox scroll support for chat 2020-02-24 11:40:14 -08:00
~litpub
ea6d0a0502 Fixes DOM nesting error on <Message> 2020-02-19 17:49:53 -08:00
Isaac Visintainer
00a9eb9eab Merge branch 'master' into os1-rc 2020-02-19 16:04:21 -08:00
Logan
820e14757a
Merge branch 'os1-rc' into la-group-create 2020-02-19 11:23:05 -08:00
~litpub
e687b8988b Adds autoresize functionality to chat input 2020-02-18 22:26:05 -08:00
Logan Allen
688f9c33a1 chat-js: fixed group creation 2020-02-18 18:05:12 -08:00
Logan Allen
a9231fd5f9 chat-js: one line fix to create chat screen to enable managed group creation 2020-02-13 13:11:22 -08:00
Jimmy
e10b6784ae chat-js: slightly cleaner sig string 2020-02-11 13:09:03 -08:00
Logan Allen
ebab101213 chat-js: fix ui regression for new and join (always create /~/ groups) 2020-02-11 12:59:10 -08:00
Logan Allen
2cae31783e chat-js: on selecting a group from search, set id of chat to that name and disable form 2020-02-10 16:24:05 -08:00
Logan Allen
c38641c182 chat: gray out and disable the security toggle when create group is selected 2020-02-07 17:27:01 -08:00
Logan Allen
3e94033196 chat: auto-invite on addition to group 2020-02-07 15:52:55 -08:00
Logan Allen
ea93dd3af8 chat + contacts: finished integration for managed groups
Specifically, this commit removes the add action from the contact-view
and replaces it with a listener within contact-hook for additions
to groups. This means that when a ship is added to a group that the
contact-hook is watching, the ship is automatically sent an invite to
join that "managed group" from the contacts application. This also
includes the UI integration work on the management screen and settings
screen for working with the new group / permission structure.
2020-02-06 16:02:45 -08:00
Logan Allen
64ff95d27c chat: backend work to support ~ paths 2020-02-06 16:01:00 -08:00
Matilde Park
052fbc34de launch: rebuilt all apps, add mobile flexbox 2020-02-05 23:34:17 -05:00
Matilde Park
21f6be96a1 launch, various: new tiles and launch (but clock) 2020-02-05 18:16:56 -05:00
Logan Allen
b51ae958ec chat: fix issues with [ship path] to path change and support contacts 2020-02-04 15:31:06 -08:00
Logan Allen
543420b68e chat: cleanup to change api to accept path instead of ship, path 2020-02-04 15:30:02 -08:00
Matilde Park
df30a777a8 chat: add create group toggle to new.js 2020-02-04 14:06:54 -05:00
Logan
a90fc46fb1
Merge branch 'os1-rc' into mp/os1/chat-new-component 2020-02-03 16:44:40 -08:00
Matilde Park
a158e1c651 chat: refactor invite search component functions 2020-02-03 17:24:42 -05:00
Matilde Park
761d71cfee chat: add group and peer search, new.js rework 2020-01-31 01:34:53 -05:00
Logan Allen
61709260a8 chat-js: added contacts metadata to chat 2020-01-30 13:37:52 -08:00
Matilde Park
15bc1da3ba chat: style fix -- collapse ternary operators 2020-01-29 19:34:37 -05:00
Matilde Park
9eca995eeb chat: add os1 styles, window borders 2020-01-28 22:58:06 -05:00
Matilde Park
0ef3d9f7fa chat: smoothen dark theme
Lowers contrast in dark theme; raises the opacity of images in chat.

In general, creates a smoother dark variant of our default Chat look.
2020-01-27 20:33:15 -05:00
Matilde Park
389def3479 chat: [embed] link doesn't break word on mobile
It's a UI, not a word -- it should be treated like a button.

This commit preserves it as its own block and pushes it
to the next line when it's overflowing.
2020-01-27 14:16:38 -05:00
Matilde Park
35aab5c8ab chat: youtube embeds responsively expand
The declaration was being stomped out in all viewports because
it wasn't being declared in the initial element.

This adds the XL's padding-bottom to the element's declarations, which
scales it accordingly.
2020-01-27 14:09:18 -05:00
Logan Allen
924d9996ab finished hooking up initial data setup to contacts store and view to front-end. still need to do updates and reducer 2020-01-23 13:13:50 -08:00
Jared Tobin
267081424b
Merge branch 'yt-preview' (#2055)
* origin/yt-preview:
  chat: add expandable youtube embed messages

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 15:14:37 +04:00
Anthony Arroyo
b96d6c5b5f
chat: add expandable youtube embed messages
YouTube links now have a [embed] link that expands an inline embed of
the video. Embeds don't load until clicked, so don't fear the tracker.
2020-01-22 15:01:01 +04:00
Jared Tobin
a0cb74b658
Merge branch 'matilde/chat-dark-mode' (#2144)
* origin/matilde/chat-dark-mode:
  chat: fade images on dark mode
  chat: add dark mode

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 11:09:18 -08:00
Jared Tobin
795b811aca
Merge branch 'matilde/chat-timestamp' (#2146)
* origin/matilde/chat-timestamp:
  chat: correct datestamp to match @da

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:11:33 +08:00
Matilde Park
4143b0060f chat: fade images on dark mode
Adds 60% opacity to dim images within messages in dark mode.
2020-01-06 08:09:53 -05:00
Jared Tobin
cd9624e097
Merge branch 'm/whitespace' (#2149)
* origin/m/whitespace:
  various: remove trailing whitespace
  ci: reject trailing whitespace

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:55:13 +08:00
Jared Tobin
836142ad0d
Merge branch 'rcrdlbl/chat-sidebar-margin-fix' (#2137)
* rcrdlbl/chat-sidebar-margin-fix:
  chat: add bottom padding to sidebar items

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:45:25 +08:00
Fang
fcf1846b6f
various: remove trailing whitespace 2020-01-03 22:06:42 +01:00
Matilde Park
271e594f61 chat: correct datestamp to match @da
The datestamp in webchat currently leftpads the month numeral.
This commit amends it so that the month numeral doesn't pad with zeroes.
2020-01-01 08:54:36 +01:00
Matilde Park
d45be05c26 chat: add dark mode
Adds custom classes and declarations for dark mode color scheme.
Uses prefers-color-scheme media query to check preference.
2019-12-27 12:15:03 +01:00
Przemyslaw Dabrowski
f8c305b65b chat: add bottom padding to sidebar items
Pretty simple really, fixes issue #2131.
Decided to use padding instead of margin because the underflow is nice,
but not at the detriment of being able to see the last chat preview
2019-12-23 22:24:24 -05:00
Fang
b8a336c607
webchat: render "me" messages in italics 2019-12-23 23:11:04 +01:00
Matilde Park
e2cfcafc92 chat: validate chat names
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Logan Allen
30264bbc93 chat-js: fix unread counts and indentation 2019-12-09 13:05:56 -08:00
Matilde Park
f5faf6eb11 chat: chat tab bar re-aligned and resized
The placement of the buttons and chat title on Landscape were slightly
off-line with each other. This commit lines them up
and changes font size to f8 to match the mockup closely.
2019-12-06 16:44:45 -05:00
Matilde Park
d1def489cc chat: Fix chat join link - %ask-history error
Without this third boolean argument, direct join links wouldn't work.

This commit adds it.
2019-12-05 01:08:16 -05:00
Matilde Park
8a2b3d1822 chat: join channel on enter
Adds quick keypress handler for joining chats.
2019-12-04 23:41:07 -05:00
Matilde Park
8d98348233 chat: wrap long links, join button uses pointer
What it says on the tin.
2019-12-04 22:37:12 -05:00