Commit Graph

125 Commits

Author SHA1 Message Date
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
Jared Tobin
d310cb68bd
release: v0.10.0.rc-1
* Remove testnet configuration from %zuse
* Bump URBIT_VERSION
* Update Landscape builds
* Update all pills
2019-12-04 19:41:43 +08:00
Matilde Park
318e38ffa3 chat: hotfixing a class name
This fixes a quick typo that completely breaks the medium viewport
layout.
2019-12-03 22:00:57 -05:00
Matilde Park
7188a3933a chat: fix sidebar toggle on chat update
Creates a local reducer to mutate the state in one place.
Fixes an issue where chat updates would pop the sidebar open.
2019-12-03 21:48:44 -05:00
Matilde Park
b8a2d06c5b chat: style fixes
Changes to the structure stylistically during code review.

Using fake API calls instead of directly calling store;
fixing a 'delete' crash';
making common code a component;
autofocusing responsively.
2019-11-27 23:22:16 -05:00
Matilde Park
4dd103c5e5 chat: tighten chatroom regex matching
This commit amends the join flow based upon
regular expression matching of chatroom names
to only match if the entire message is the chat.
2019-11-25 14:49:37 -05:00
Matilde Park
cfc352e3c9 chat: add mobile web app icon
Adds a blank white placeholder icon, so that it looks better
than a blurry screencap on mobile devices.
2019-11-22 20:20:16 -05:00
Matilde Park
a6b4ed19b3 chat-view: redesign of chat interface
This commit redesigns the front-end of chat-view for
Landscape, adding a collapsable sidebar, popout chats,
a streamlined join flow, and a general refresh of the Indigo
interface.
2019-11-21 11:50:35 -05:00
Logan Allen
a97e36d6d6 chat-js: updated to support %messages events 2019-11-14 10:42:55 -08:00
Logan Allen
cb158310e3 chat-js: added invite functionality 2019-11-01 14:04:50 -07:00
Logan Allen
e06acb87be chat-ui: fix image previews from url types 2019-10-24 14:31:40 -07:00
Logan Allen
c8cca2f261 chat-js: make clicking a url message open in a new tab 2019-10-24 14:12:26 -07:00
Logan Allen
29fc32d11b chat-js: fix chat sorting and selection in sidebar 2019-10-24 14:04:48 -07:00
Jared Tobin
4613264047
release: v0.9.0
Updates URBIT_VERSION, Landscape builds, and all pills.
2019-10-15 14:50:05 +04:00
Logan Allen
b12e305c9c apps: added permission hook and chat-view %join action 2019-10-11 14:09:30 -07:00
Logan Allen
84e143574a js: Improved join UI and added support for paths with multiple elements 2019-10-10 11:20:53 -07:00
Logan Allen
536dcdc4f4 chat: /primary path provides truncated initial as well as updates 2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2 chat: style fixes, removed some redirect bugs from chat 2019-10-08 10:11:18 -07:00
Logan Allen
79903ff9f5 chat: changed wire format and quitting subscription properly on ban 2019-10-07 17:35:48 -07:00
Logan Allen
39a5017254 chat: added old @ messages, now called %me messages 2019-10-03 13:33:07 -07:00
Logan Allen
8b74a674f3 chat-hook: updated to allow a simpler message send flow 2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d chat: added new JS files, deleted old chat.hoon 2019-10-02 18:30:41 -07:00
Logan Allen
1b87eb2c3c
chat: message processing time down to 60ms 2019-09-20 11:43:30 -02:30
Matilde Park
14b3cb1a89 Interface: Update urbit-ob dependency
Updates all Landscape applications to use the
latest version of urbit-ob, from 3.1.1 to 4.1.2.

Removes urbit-ob from applications that don't
use it (Clock, Launch, Weather).

Compiled JS for all the above included in this
commit.
2019-09-06 10:59:23 -04:00
Logan Allen
5560482897 chat: potential fix for #1692 2019-09-04 16:07:49 -07:00
pkova
1a64774011 chat: update sidebar timestamp every minute 2019-08-28 22:47:29 +03:00
Jared Tobin
052903a4ee
Merge remote-tracking branch 'origin/mp-chat-leave' (#1637)
* origin/mp-chat-leave:
  Leave copy + root route copy
2019-08-27 19:48:44 -02:30
Jared Tobin
de68c34ea5
Merge branch 'mp-chat-444sigil'
* mp-chat-444sigil:
  Chat: Standardise sigil size and input line height
2019-08-24 08:50:09 -02:30
Matilde Park
7cb600dc6a Chat: Fix join channel's route render 2019-08-23 15:42:10 -04:00
Matilde Park
494aae7800 Chat: Standardise sigil size and input line height
Read-only chats had a slightly bigger sigil box, looking skewed to
the left. Its copy also had a different line height than the
chat input itself, which was vertically aligned slightly higher.

This commit standardises the sigil box to 32px across both
and brings both to the same, centered vertical alignment
for the chat input and read-only notice.
2019-08-22 17:44:52 -04:00
Matilde Park
632359df7b Leave copy + root route copy
Returning underline to buttons
2019-08-21 17:54:14 -04:00
Matilde Park
3219e18019 Chat: Add pending message container and display
Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Scaffolding message pending injection

Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Reworking pending boolean logic.

Data structure changed to Map

Checking correct scope of prop, removing dev TODO

Rebase mistake.
2019-08-21 17:48:13 -04:00
Matilde Park
a8d89d5b9b Merge upstream 2019-08-12 09:58:41 -04:00
Matilde Park
bbf6f82f6f gulp bundle-prod'd the wrong app >_< 2019-08-12 09:58:11 -04:00
Matilde Park
f8b67644ad
Merge branch 'master' into comet-sizing 2019-08-12 09:52:29 -04:00
Matilde Park
5f4b7d136e Merge upstream/master into comet-sizing 2019-08-12 09:43:01 -04:00
Matilde Park
11985ebb31 Comet sizing fixes 2019-08-08 18:10:57 -04:00
Fang
05950770f4
Merge branch 'master' into chat-message-types 2019-08-08 15:01:00 -07:00
Matilde Park
4160ba27af Removing spellcheck from invite boxes 2019-08-02 16:58:00 -04:00
Fang
ccdc49c81d
Update dist files 2019-08-02 22:46:11 +02:00
Fang
905092aa0a
Merge branch 'master' into chat-message-types 2019-08-02 21:20:01 +02:00
Matilde Park
1f2abd8df7 Members page renovation 2019-08-02 12:58:58 -04:00
Logan Allen
ab2cdd6adc Updated build files and removed repeated console.logs from tiles 2019-08-01 22:15:08 +00:00
Fang
f07c6424c4
Update dist files with recent changes 2019-07-31 13:53:16 +02:00
Fang
f463ae2839
Update dist files with recent changes 2019-07-29 10:27:12 +02:00
Isaac Visintainer
e92bbec269 automatically rename minified files 2019-07-24 15:13:21 -07:00
Logan Allen
4ec911895f Do not allow creation of hall-internal circles when you accidentally invite yourself to a circle you own 2019-07-19 15:07:24 -07:00
Logan Allen
37503f9545 Added favicon to launch and chat pages 2019-07-19 14:56:38 -07:00
Logan Allen
2a076ac089 Capitalized invite and new message text in chat tile 2019-07-19 14:47:42 -07:00
Logan Allen
ec33e2ddbd Added updated input validation, tile styling, ready to go for launch 2019-07-19 14:40:43 -07:00
Logan Allen
7b47c21855 Merge branch 'v0.8.0.rc' into chat-scroll 2019-07-19 11:04:16 -07:00
Logan Allen
1bb0de3525 Removed timer, updated Eyre login page, updated chat css 2019-07-18 15:55:36 -07:00
Logan Allen
e0fb56ec96 Added js file update 2019-07-18 15:55:36 -07:00
Logan Allen
afca32af95 Chat CSS/JS fixes 2019-07-18 15:55:36 -07:00
Logan Allen
8a37494414 Fixed issues with members list, overflowing text, and cross-browser message fetching issues 2019-07-18 15:55:36 -07:00
Logan Allen
e11eb9904d Added js file update 2019-07-17 15:45:44 -07:00
Logan Allen
147d3fa515 Chat CSS/JS fixes 2019-07-17 15:34:09 -07:00
Logan Allen
7c1b88b335 Fixed issues with members list, overflowing text, and cross-browser message fetching issues 2019-07-17 14:01:12 -07:00
Logan Allen
fcd4f0b93f Updated index and tile of chat 2019-07-15 14:51:41 -07:00
Logan Allen
96a26e9f62 Updated timer and chat app, server and eyre with latest 2019-07-12 11:04:47 -07:00
Logan Allen
23e8226c37 Added recent versions of all JS files except publish 2019-07-05 13:01:00 -07:00
Logan Allen
da118c90de Updated all apps to use launch-action mark 2019-07-05 12:59:43 -07:00
Isaac Visintainer
ac870be967 minified chat js 2019-06-28 11:29:59 -07:00
Jared Tobin
b3901ab42f Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8'
git-subtree-dir: pkg/arvo
git-subtree-mainline: 9c8f40bf6c
git-subtree-split: c20e2a185f
2019-06-28 12:48:05 +08:00