Commit Graph

236 Commits

Author SHA1 Message Date
Matilde Park
ce62533a11 add contact to group functionality 2020-01-23 13:13:52 -08:00
Matilde Park
761ea7cc9c create group functionality 2020-01-23 13:13:52 -08:00
Matilde Park
c8020691f8 beginning of contact card 2020-01-23 13:13:51 -08:00
Matilde Park
1faf3828e3 high contrast, don't return null as class 2020-01-23 13:13:51 -08:00
Matilde Park
aadeab65b4 responsive contacts drawer 2020-01-23 13:13:51 -08:00
Matilde Park
27201cc2f4 add contact list for group, member count 2020-01-23 13:13:51 -08:00
Matilde Park
c59f222443 basic responsive drawer stuff 2020-01-23 13:13:51 -08:00
Matilde Park
92e1970651 /me, /group views, render sigil, render root ident 2020-01-23 13:13:51 -08:00
Matilde Park
c17bec49af prepping contact add 2020-01-23 13:13:51 -08:00
Logan Allen
ed481d89a5 contacts: end to end tested apis with working reducers 2020-01-23 13:13:51 -08:00
Matilde Park
082a44a7f8 iterate all groups with relative links 2020-01-23 13:13:51 -08:00
Matilde Park
74c17a3851 passing props, scrolling long layouts
(figuring out data manipulation)
2020-01-23 13:13:50 -08: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
Matilde Park
df4c07d67e new.js -> padding and search icon 2020-01-23 13:12:27 -08:00
Matilde Park
1ea0e59e64 root -> new navigation 2020-01-23 13:12:27 -08:00
Matilde Park
23858fc6d7 mannequin newScreen entry fields 2020-01-23 13:12:26 -08:00
Matilde Park
99a73e981c newscreen scaffold 2020-01-23 13:12:26 -08:00
Matilde Park
462b14bf58 subscribe to contact-store, fill groups headers 2020-01-23 13:12:26 -08:00
Matilde Park
2aefc02112 checkpoint (removing chat api calls, adding contacts) 2020-01-23 13:12:26 -08:00
Matilde Park
cc50ca3668 left panel, responsively 2020-01-23 13:12:26 -08:00
Matilde Park
8de846c60d removing chat cruft, adding header + libs 2020-01-23 13:12:26 -08:00
Matilde Park
1299e26940 tachyons -> indigo-static 2020-01-23 13:12:26 -08:00
Matilde Park
7dfe151f15 contacts: tile graphic, fixing mount point 2020-01-23 13:12:26 -08:00
Logan Allen
47c1745074 contacts: added store, view, marks, ui 2020-01-23 13:12:26 -08:00
Matilde Park
22f1a52e08 link: amend "channels" copy on landing
It should be "collections," as per OS1 discussions.
2020-01-22 22:20:14 -05:00
Matilde Park
d3f57fbf9d interface: add links FE source code 2020-01-22 18:16:44 -05: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
Isaac Visintainer
366772c559 store, update, send tile notification number 2020-01-21 10:49:35 -08:00
Isaac Visintainer
041900dc26 handle marking posts as read 2020-01-21 10:49:35 -08:00
Isaac Visintainer
97f820a2c6 fixed group and invite bugs 2020-01-21 10:49:35 -08:00
Isaac Visintainer
d4ae9dbcc8 added js reducers 2020-01-21 10:49:35 -08:00
Jared Tobin
ce6f82a58d
chat: trim whitespace [ci skip] 2020-01-14 11:21:24 -08: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
754fba30e3
Merge branch 'matilde/meta-morgue' (#2159)
* origin/matilde/meta-morgue:
  soto: add "dead" alt keys to ignored list

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:12:10 +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
a5e68f280d soto: add "dead" alt keys to ignored list
alt+n produces a ~, on top of a key called "Dead". This ignores "dead"
to send the ~ and function as normal.
2020-01-07 20:14:39 -05: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
Fang
3a859ef585
link: add minimal link-server-hook and link-webext
link-server-hook exposes (parts of) the link-store over eyre, on the
condition that the client is authenticated as the host ship.

link-webext as committed is a very minimal web extension. When its
toolbar button is clicked, it saves the current webpage to /private
in the link-store.
In the future, this should support choosing a target to save to,
highlighting already-saved pages, and many other features.
2019-12-11 20:49:50 +01:00
Logan Allen
30264bbc93 chat-js: fix unread counts and indentation 2019-12-09 13:05:56 -08:00
Jared Tobin
dc45806e99
Merge branch 'mp/chat-design-tweak' (#2049)
* mp/chat-design-tweak:
  chat: chat tab bar re-aligned and resized

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-07 16:55:29 +08:00
Jared Tobin
63bd7c62db
Merge branch 'mp/soto-catch-unidentified' (#2018)
* mp/soto-catch-unidentified:
  soto: mutate cursor for tab complete inserts
  soto: click sets cursor
  soto: catch 'unidentified' key

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-07 16:51:52 +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
Matilde Park
3c541ca567 soto: mutate cursor for tab complete inserts
This changes sole.js to handle cursor behaviour for tabbing.

It does so by overriding the cursor position in transpose if it's greater
than it expects. This could produce errant results if other sole apps
use insert behind text, but that seems like an edge case. Flagged for
future with a comment.
2019-12-04 17:17:47 -05:00
Matilde Park
5e42e796e7 soto: click sets cursor
If you clicked in the input field, the cursor would stay where it was.

This adds the cursor as a way of controlling the component, fixing the behaviour.
2019-12-04 12:07:09 -05:00
Matilde Park
2a2126ad7a soto: catch 'unidentified' key
Some Android devices have keys that register as, well,
"unidentified," so this just catches them in Soto.
2019-12-04 11:50:59 -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
Philip Monk
689b829a1d
Merge remote-tracking branch 'origin/master' into rc 2019-11-30 21:54:36 -08:00
Philip Monk
c7c42225e2
Merge commit 'fbc81b59'; remote-tracking branch 'origin/mp-chat-redesign' into rc 2019-11-30 16:17:28 -08: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
198a3afdd3 soto: catch full ansi layout keys
Adds "Insert", "Delete", "PageUp" and other function keys to the ignored
keys array of soto.
2019-11-25 23:11:23 -05:00
Matilde Park
be4b479660 soto: amend tab sole-effect json and handler
The behaviour of $tab sole-effects lacked a 'tab' key, so Soto wasn't
catching or writing them to the screen. This commit amends both the
handler and the sole-effect to fix that behaviour.
2019-11-25 19:38:07 -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
Philip Monk
4d1457bbaa
Merge remote-tracking branch 'origin/master' into philip/mall-real 2019-11-24 00:01:04 -08:00
Jared Tobin
7db6f443e6
Merge branch 'matilde/soto-to-dojo'
* matilde/soto-to-dojo:
  soto: mounts at ~dojo

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-23 20:03:12 +08: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
f90ae05bb0 chat: members and settings responsive layout match
Lining up the headers for these two panels on various viewports.
2019-11-22 20:20:16 -05:00
Matilde Park
8c38714cc6 chat: tweaking input and datestamp for 320px
Adding some very small viewport adjustments to keep the
layout tidy, disabling iOS autocorrect.
2019-11-22 20:11:15 -05:00
Isaac Visintainer
51d61e4d49 static gall: convert soto 2019-11-22 12:57:58 -08:00
Matilde Park
943ee0ede0 soto: ignores backspace at position 0
The keypress handler would check if backspace was past position 0
before deleting one character at that position. If you were at position
0, then it would drop down to the 'else' and send the key value as a
string, throwing off the state between front and back end. This commit
fixes the issue, ignoring Backspace at position 0.
2019-11-21 19:34:37 -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
Matilde Park
e8d34fe0ca chat: add exports to gulpfile
Added exports so that indigo-react can
be integrated into our workflow without error.
2019-11-20 20:27:18 -05:00
Matilde Park
a33fffa6ce soto: mounts at ~dojo
Since Soto is the name of the relay, its location in Landscape should be
the application it relays to: Dojo. This commit amends the mount paths
and source paths accordingly.
2019-11-20 09:41:28 -05:00
Jared Tobin
5258579ee2
Merge branch 'matilde/soto' (#1952)
* origin/matilde/soto:
  soto: style changes
  interface: add soto source code
  drum: Boot with %soto
  arvo: adds soto application
  mar/sole: add %tab conversion

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-20 13:15:42 +08:00
Logan Allen
9dd949b8a1 chat: oust correctness fix and js style fix 2019-11-15 13:28:53 -08:00
Logan Allen
f9df1b6af4 chat: style fixes 2019-11-15 11:07:40 -08:00
Matilde Park
8fb13e4f99 soto: style changes
This commit amends the Soto application with style changes
requested during code review, including structuring the mark
conversion as a library.
2019-11-14 20:06:11 -05:00
Matilde Park
859954f5e1 interface: add soto source code
This adds the source code for Soto's Landscape interface to the
interface pkg directory, matching the build workflow for our other
Landscape applications as well as their dependencies.
2019-11-14 13:48:48 -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
Isaac Visintainer
16364de935 publish: correctly set title and body when navigating with next/prev 2019-10-25 15:29:51 -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
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
Fang
7b21316694
weather: fix precipitation display
The `precipProbability` value ranges from 0 to 1, so to display
percentages we need to scale it up.
2019-09-27 17:08:50 +04: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
Jared Tobin
07d9581934
Merge branch 'jt-contributing' (#1673)
* jt-contributing:
  readme: update contributing info
  contributing: use parentheses instead of commas
  contributing / interface: 'confirm' -> 'apply'
  contributing: s/urbit/Urbit
  contributing: text fixup
  contributing: remove labelling discussion
  contributing: adds userspace information, links
  contributing: add hoon style guide link
  contributing: improve description.. description
  contributing: add 'issues' section
  contributing: add mailing list info to intro
  contributing: update kernel & pills section
  contributing: touch up code style section
  contributing: add git/release info

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-03 12:46:02 -02:30