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
ixv
396c96ec5d
Merge pull request #2440 from urbit/mp/os1/publish/edit-button-m
...
publish: add -m, -l widths for edit post button
2020-03-10 20:55:35 -07:00
Matilde Park
e9aacd5e01
publish: add -m, -l widths for edit post button
2020-03-10 23:30:17 -04:00
ixv
1decc2c4f5
Merge pull request #2439 from urbit/mp/os1/publish/dropdown
...
publish: make dropdown arrow clickable
2020-03-10 20:18:06 -07: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
ixv
b5535f2766
Merge pull request #2436 from urbit/mp/os1/publish/dark-posting
...
publish: make 'edit post' button transparent
2020-03-10 18:51:21 -07: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
ixv
7ca2977adc
Merge pull request #2432 from urbit/ixv/publish-fixes
...
OS1: multiple publish fixes
2020-03-10 17:39:01 -07: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
ixv
bc1adfa509
Merge pull request #2427 from urbit/chat-invites
...
chat: only send invites for unmanaged chats
2020-03-09 20:42:51 -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