Logan Allen
a0a39b87dc
chat-hook: watch-ack successfully for store subscripttion kills
2020-03-11 23:13:31 -07:00
Isaac Visintainer
ba43f03726
chat-hook: resubscribe when kicked from chat-store
2020-03-11 22:21:56 -07:00
Logan Allen
84a9f23af6
chat-hook: fix ota chat backlog duplication
2020-03-11 20:43:41 -07:00
Logan Allen
cac98b2284
chat-hook: don't send invites upon on-load
2020-03-11 20:33:38 -07:00
Logan Allen
872c620c5a
chat-js: styled the resubscribe element
2020-03-11 20:33:01 -07:00
ixv
7a5f7537dc
Merge pull request #2448 from urbit/m/dbug-more
...
apps: augment with /lib/dbug
2020-03-11 18:13:24 -07:00
Fang
55aa0cb610
apps: augment with /lib/dbug
2020-03-12 01:33:48 +01:00
ixv
b01f0dc260
Merge pull request #2443 from urbit/mp/os1/short-patp
...
os1: truncate comet/moon patps in all applications
2020-03-11 17:00:06 -07:00
Logan Allen
64a62df461
chat-hook: removed comments
2020-03-11 16:45:03 -07:00
Logan Allen
51eebf3407
chat-hook: send updates to synced every time the object changes
2020-03-11 16:45:01 -07:00
Logan Allen
64938e24e9
chat-hook: added ability to subscribe to chat-hook state from the frontend
2020-03-11 16:44:15 -07:00
ixv
d835cdbe0d
Merge pull request #2445 from urbit/m/link-proxy-initial
...
link-proxy-hook: correctly scry initial response
2020-03-11 16:31:19 -07:00
ixv
ff7532297e
Merge pull request #2446 from urbit/mp/os1/mobile-pass
...
os1: mobile pass
2020-03-11 16:30:31 -07:00
ixv
7ef54a1f09
Merge pull request #2442 from urbit/chat-ota-fix
...
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 16:30:15 -07:00
Matilde Park
10f5078a3c
chat: skeleton takes full height on mobile
...
Previously it was a calc value that left a lot of
blank space at the bottom. Also adds a dark
mode style for the 'all chats' header.
2020-03-11 18:47:56 -04:00
Matilde Park
c391156781
groups: mobile adjustments, settings on blur
2020-03-11 18:47:25 -04:00
Matilde Park
2c0d323fa5
groups: conditional link when on /me
...
Previously, this removed the 'back' link if it was your
root identity. But on mobile, this removed that flow
entirely -- so this just conditionally sets the href
and keeps the back arrow showing in all cards.
2020-03-11 18:46:52 -04:00
Matilde Park
866a12e34a
link: pad link input lower
2020-03-11 18:46:04 -04:00
Matilde Park
727c585059
publish: add back nav for mobile on new-post
2020-03-11 18:45:48 -04:00
Matilde Park
1b4b327489
publish: overflow-scroll only in parent container
...
Moves the scrollbar out of the body.
2020-03-11 18:45:32 -04:00
Matilde Park
2d5e2b8901
link: hide root page on mobile
...
Flex was overwriting 'display: none'...
2020-03-11 18:44:07 -04:00
Matilde Park
7f2cadf830
chat, link: 'createGroup' set to false by default
2020-03-11 18:43:36 -04:00
Matilde Park
a454184ca7
chat, link: rearrange invite search above members
2020-03-11 18:42:55 -04:00
Matilde Park
f8ef9a7a55
various: settings submit on blur
...
Previously when you changed a name, description, etc.
we used a 'save' button -- now it happens when you leave the field.
2020-03-11 18:40:50 -04:00
Fang
f765b34459
link-proxy-hook: correctly scry initial response
...
Was using "manual" scries, and incorrect ones at that. Would crash, causing
subscriptions to not go through. Now uses the helper function and correct paths.
2020-03-11 23:38:09 +01:00
ixv
10f1e7e667
Merge pull request #2434 from urbit/m/chat-cli
...
chat-cli: support group-based chats
2020-03-11 14:11:07 -07:00
Matilde Park
f8dc023aa7
soto: shorten comet/moon patp in prompt
2020-03-11 16:58:16 -04:00
Matilde Park
1ed1eb36fd
publish: shorten comet / moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
ffd95526e0
link: shorten comet/moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
b5af51f03e
groups: shorten comet and moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
a7b6ed4ef3
chat: shorten patps, add patp as title attr
...
No matter what, if you mouseover a name, you'll
now see its original patp. Comets and moons get
truncated accordingly.
2020-03-11 16:58:16 -04:00
Matilde Park
7c0a4a35ae
various: pass classes to blank sigil component
...
Previously, we only passed classes as properties to actual sigils.
When we were using passed classes to line up sigils,
having a blank sigil would also turn the display askew.
2020-03-11 16:58:16 -04:00
Matilde Park
8d580b4533
launch: shorten patp in header
2020-03-11 16:58:16 -04:00
Matilde Park
81d88a0e79
various: add "cite" utility function
...
Replicating the arm in zuse that shortens
comet and moons.
2020-03-11 16:58:10 -04:00
Fang
064131e530
chat-cli: render incoming invites
...
Also removes message from invites sent from chat-cli,
and refactors a scry.
2020-03-11 21:52:26 +01:00
Matilde Park
61dde23e9a
launch: left-align "home" in mobile layout
...
We don't want long patps to overlay the "Home"
title -- to do so without truncating planet names,
we just push "Home" out of the way here.
2020-03-11 15:14:29 -04:00
Logan Allen
10e0dca58c
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 12:12:51 -07:00
édouard
4aadbccfae
contacts, publish: fixed/edited Tile icons
...
Turned the assets into ones that will play nice with dark mode (will properly invert their coloration without having weird visual zones)
2020-03-11 15:03:41 -04:00
ixv
0dc65c1995
Merge pull request #2430 from urbit/mp/os1/bug-bashing-vol-1
...
os1: bug bashing, volume 1
2020-03-10 20:57:26 -07:00
ixv
74f5730f3e
Merge pull request #2435 from urbit/mp/os1/launch-notif-moval
...
launch: notification in header is relative to @p
2020-03-10 20:56:55 -07:00
ixv
ad58bcd35f
Merge pull request #2437 from urbit/mp/os1/chat/send-split
...
chat: splice, URL test and send mixed content messages
2020-03-10 20:56:19 -07:00
ixv
b375f44f5b
Merge pull request #2438 from urbit/mp/os1/firefox-reverts
...
chat: revert #2295 , #2371 — restores previous scroll implementation
2020-03-10 20:56:00 -07:00
Matilde Park
e9aacd5e01
publish: add -m, -l widths for edit post button
2020-03-10 23:30:17 -04:00
Matilde Park
e3b53f5eb2
publish: make dropdown arrow clickable
2020-03-10 23:12:22 -04:00
Matilde Park
e50e18ee40
Revert "Firefox scroll support for chat"
...
This reverts commit 3f3a0b42e5
.
2020-03-10 22:45:55 -04:00
Matilde Park
1a3b349c55
Revert "Fixes #2347 pushes chat to bottom on <Chat> mount"
...
This reverts commit 701f83bc21
.
2020-03-10 22:44:35 -04:00
Matilde Park
84a4afefed
chat: add left margin to [embed] link
...
For some reason they're squished right up side the metadata
in OS1 -- this gives them some space.
2020-03-10 22:33:08 -04:00
Matilde Park
9d91fb8d82
chat: splice, URL test and submit mixed messages
...
I don't know if he likes me or not. Just kidding, this just splices out
URLs into their own messages and sends them after the message.
2020-03-10 22:31:13 -04:00
Matilde Park
011902542b
publish: make 'edit post' button transparent
2020-03-10 21:37:30 -04:00
Matilde Park
90a7ff9c91
launch: notification in header is relative to @p
...
The notification could overlap long @ps. This amends the notification
to be relative to the @p block, pushed to the left of it.
2020-03-10 21:25:07 -04:00
Matilde Park
e946dc657f
chat, publish: add catch to util promise
2020-03-10 20:55:05 -04:00
Matilde Park
f58b3d6d0c
Revert "chat, publish: avoid race condition in writeText"
...
This reverts commit 7febf927fa
.
2020-03-10 19:44:23 -04:00
Fang
dfacd619eb
chat-cli: more-conventional state naming
2020-03-11 00:42:04 +01:00
Fang
22cc6ae629
chat-cli: support un- *and* managed chats
...
Re-enables chat creation, touches up invite logic, and makes everything
work with the new "un/managed" attribute of chats.
Changes the +target type, so requires state transition. We use that
opportunity to clean up our messages mirror (memory reclamation).
"Unmanaged" chats should work the same as they did before.
Group-based chats are secondary citizens, but supported by prepending
"group " to whatever target you want to use. ie:
;join group ~marzod/secret-club :: join a group-based chat
;group ~marzod/secret-club :: target a group-based chat
The latter case should be rarely needed, as glyphs remember this
attribute of their bound target.
Creating a group alongside a chat is supported through:
;create village-with-group /cool-kids
You can then invite to that group (and by extension the associated chat)
by doing:
;invite group /cool-kids ~rinsed-walrus
2020-03-11 00:40:21 +01:00
Philip Monk
9375616335
eth-watcher: reduce required number of confirmations
...
To 30 blocks + 30 blocks + 0-5 minutes == about 15 minutes total.
Further reduction should be possible, but requires changing the
algorithm a bit. We don't want to reduce the number of confirmations
below about 30, though, since we don't handle reorganizations well.
See #2414 .
2020-03-10 16:12:56 -07:00
Fang
4740fdd493
chat-cli: use example of state instead of type
...
This prepares us for versioned state, and is more consistent with modern
app code style.
2020-03-10 23:56:24 +01:00
Fang
2c1539742b
chat-cli: add scry helper
2020-03-10 23:31:18 +01:00
Isaac Visintainer
5114cebfd7
publish: stop adding newlines, and fix post snippet on edit
2020-03-10 15:08:56 -07:00
Isaac Visintainer
fd01162397
publish: handle read notifications properly
2020-03-10 15:08:48 -07:00
Isaac Visintainer
0e9ea8c039
publish: fix notebook deletion card flushing bug
2020-03-10 15:08:38 -07:00
Matilde Park
ee887caced
link: additional safety checks in settings view
2020-03-10 17:10:41 -04:00
Matilde Park
7febf927fa
chat, publish: avoid race condition in writeText
2020-03-10 17:03:18 -04:00
ixv
9d0fe998c1
Merge pull request #2410 from urbit/mp/os1/invite-launch
...
launch: subscribe to invite-view, show group invite count in tile
2020-03-10 12:17:34 -07:00
ixv
073fc4be34
Merge pull request #2429 from urbit/eyre-login
...
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 20:44:23 -07:00
ixv
305a4874e2
Merge pull request #2428 from urbit/remote-pub-metadata
...
publish: update remote metadata group properly and only send invites …
2020-03-09 20:43:44 -07:00
Matilde Park
078991864c
chat: remove linking shortcodes to chatrooms
...
We use shortcodes for all channels now -- in general,
we don't want people to be joining them as chats.
2020-03-09 22:25:31 -04:00
Matilde Park
3f16359755
chat / publish: change clipboard API for safari
...
Safari doesn't support writeText(). I incorporate a PD polyfill
here to basically fill in the gap...
2020-03-09 22:23:24 -04:00
Matilde Park
ef9d5da931
publish: fix textarea padding on firefox
...
Firefox treats the padding as literal padding;
other browsers treat the padding as part of the writable
area. This sets it as an initial height.
2020-03-09 22:00:49 -04:00
Matilde Park
636d99b405
publish: fix note top matter on firefox
...
Firefox renders 'span' tags differently than other browsers.
This commit lines them up identically by making the spans inline-blocks.
2020-03-09 21:52:04 -04:00
Matilde Park
566ea49651
publish: prevent duplicates of new notes
...
Adds another disable catch and more elaborate
logic for preventing duplicate note submissions.
2020-03-09 21:39:09 -04:00
Matilde Park
d59d205af9
publish: resequence spinner for new.js
2020-03-09 21:38:09 -04:00
Matilde Park
49775f81e5
publish: add fallback values to note.js
2020-03-09 21:24:02 -04:00
Matilde Park
fb42bf4374
publish: dark mode border on invite items
2020-03-09 21:21:22 -04:00
Matilde Park
81899320d7
publish: dark mode dropdown buttons in subscribers
2020-03-09 21:17:07 -04:00
Matilde Park
c4948f1ed7
chat: leave button gets border in dark mode
2020-03-09 21:14:31 -04:00
Matilde Park
d274120fcc
link: line up title across views; dark mode button
...
(Settings had a button that had a border of the same colour as
the background, so this steps it up a shade.)
2020-03-09 21:06:27 -04:00
Matilde Park
b6b4f7cf5d
link: pass 'popout' to skeleton in settings view
...
(Otherwise, the OS1 chrome will stay showing.)
2020-03-09 21:05:35 -04:00
Matilde Park
e8b087ea87
clock: revert removal of initial media query check
...
This commit restores a small check for a match of the query,
so that when you load in dark mode, the clock loads in dark(ly).
Without this commit, it would only shift modes as part of a media query
change.
2020-03-09 20:57:13 -04:00
Matilde Park
f4a06589c0
clock: prevent canvas draw smears
...
Trying to use a transparent background revealed constant
redraws each second -- this commit returns a color
declaration to the background, changing with the media query.
2020-03-09 20:52:53 -04:00
Matilde Park
4275f7fc94
clock: use addListener for media query
...
Previously, we used addEventListener, which was returned by the
media query as an inheritance from the window object.
Safari doesn't support this, but it, and all browsers,
support an alias that uses function-based checks.
This commit uses that alias.
2020-03-09 20:51:20 -04:00
Logan Allen
bd947421ca
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 17:16:43 -07:00
Logan Allen
9a6a7b147d
publish: update remote metadata group properly and only send invites for unmanaged notebooks
2020-03-09 17:05:06 -07:00
Logan Allen
17bea9a5bd
chat: only send invites for unmanaged chats
2020-03-09 16:44:16 -07:00
ixv
dc2d7fe64d
Merge pull request #2425 from urbit/mp/os1/groups/settings-truncation
...
groups: add max-width for group titles
2020-03-09 16:28:38 -07:00
ixv
cd2e57a9c2
Merge pull request #2426 from urbit/mp/os1/edit-publish
...
publish: edit notebook settings
2020-03-09 16:28:20 -07:00
ixv
512c7204ba
Merge pull request #2419 from urbit/merge-la-ota-work
...
chat: upgraded chat-hook to move old chats to /~/chat-path
2020-03-09 16:20:50 -07:00
Matilde Park
07b0652064
publish: add shortcode copying, API call for edits
...
Also adds 'comments' setting to the reducer for editing notebooks.
2020-03-09 17:21:54 -04:00
ixv
d60d9d2845
Merge pull request #2415 from urbit/mp/os1/invite-group-titles
...
invite search: surface group metadata in results
2020-03-09 14:10:32 -07:00
Matilde Park
0f2d4417da
groups: add max-width for group titles
2020-03-09 16:40:59 -04:00
Matilde Park
447be345ea
launch: place group invitations in header
2020-03-09 16:15:29 -04:00
Logan Allen
e0583be364
Merge branch 'merge-la-ota-work' of github.com:urbit/urbit into merge-la-ota-work
2020-03-09 12:40:43 -07:00
Logan Allen
e8c95157d4
chat-hook: emit cards upon upgrade AND store cards to be sent later upon chat-store trigger to support either order of updating
2020-03-09 12:40:04 -07:00
Matilde Park
7fbe0c9318
various: amend invite copy on creation front-ends
2020-03-09 15:36:00 -04:00
Logan
e160f0b0f4
Update pkg/arvo/app/contact-hook.hoon
...
Co-Authored-By: Fang <git@fang.io>
2020-03-09 12:29:49 -07:00
Joe Bryan
eb05e71d60
arvo: removes looping crash printf
2020-03-09 00:41:04 -07:00
Matilde Park
a889706758
groups: sidebar, additional check for safety
...
When accepting an invite, the sidebar would crash the application
because we were accessing 'metadata' of undefined -- accessing
too many nested property levels without enough safety.
This commit just adds a check for the intermediate property.
2020-03-09 00:28:42 -04:00
Logan Allen
3824402200
chat: upgraded chat-hook to move old chats to /~/chat-path
...
chat: ota attempt
chat: ota triggers chat-store to tell chat-hook to send cards to update chat-store's state
contact-view: commented out avatars and base64
chat: cleaned up commits
2020-03-08 13:05:10 -07:00
Matilde Park
d62712748a
publish: add front-end fields for editing notebook
2020-03-06 23:56:20 -05:00
Matilde Park
2afd0e63fe
publish: route group metadata to new screen
2020-03-06 23:10:23 -05:00
Matilde Park
15a8c4f115
link: route group metadata to new screen
2020-03-06 23:10:13 -05:00