Commit Graph

18021 Commits

Author SHA1 Message Date
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
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
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
ixv
41dc43a846
Merge pull request #2441 from urbit/ed-qa-tile-icon-fix
contacts, publish: fixed/edited Tile icons
2020-03-11 13:47:24 -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
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
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