Commit Graph

842 Commits

Author SHA1 Message Date
Matilde Park
d2ac232a20 publish: pending comments use our ship, not owner 2020-03-24 21:20:35 -04:00
Matilde Park
19ee376aa9 links: prevent duplicate link submissions
Adds a disabled check during link submission to prevent duplicates.

Also fixes an unmarked bug where 'linkValid' was not being reset to
false on submission, allowing for submitting blank links after one
correct link has been submitted.
2020-03-24 20:00:10 -04:00
Matilde Park
cdc4fb5da0 various: graphic tweaks to welcome as per design 2020-03-24 19:27:34 -04:00
Matilde Park
fe341d7d8e publish: line up mobile navigation for 'all books'
This mobile navigation was being padded into the middle to fit the
layout; this just excludes it from that inner layout.
2020-03-24 18:39:34 -04:00
Matilde Park
a474d134c3 publish: add delete note front-end for note author 2020-03-24 18:36:43 -04:00
ixv
fd52384445
Merge pull request #2596 from urbit/mp/publish/publish-m-flexauto
publish: flexbox sizing in skeleton, links open in _blank
2020-03-24 15:19:34 -07:00
ixv
a5ed4e15e2
Merge pull request #2593 from urbit/mp/soto/empty-backspace
soto: ignore backspace at cursor position 0
2020-03-24 15:02:49 -07:00
ixv
a88ced01af
Merge pull request #2564 from urbit/mp/link-sigil-size
links: adjust sigil size to 38
2020-03-24 15:01:12 -07:00
Matilde Park
4c26419ff2 various: post-review adjustments for #2583
This commit introduces some refactoring of localStorage logic, copy
changes and a rearrangement of the launch welcome message to the top
of the screen.
2020-03-24 15:34:40 -04:00
Jared Tobin
cd9f23d6db
Merge branch 'liam-fitzgerald/lf/chat-patp-autocomplete' (#2571)
* liam-fitzgerald/lf/chat-patp-autocomplete:
  chat-fe: fix incorrect property in css
  chat-fe: improve name legibility in autocomplete
  chat-fe: match autocomplete to designs
  chat-fe: autocomplete nicknames in message input
  chat-fe: ignore comets in autocomplete
  chat-fe: correct light mode autocomplete styling
  chat-fe: add patp autocomplete to message input

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-24 17:37:51 +04:00
Matilde Park
c1ed7a4841 publish: links open in _blank targets 2020-03-23 21:26:43 -04:00
Matilde Park
4395b130dd publish: add flex-auto to skeleton
-m viewports had overflow out of parent containers;
this uses flex-auto to ensure the skeleton stays within its flex
container.
2020-03-23 21:24:06 -04:00
Liam Fitzgerald
ca8f436fd0 chat-fe: fix incorrect property in css 2020-03-24 11:01:46 +10:00
Liam Fitzgerald
302c3dc4cc chat-fe: improve name legibility in autocomplete 2020-03-24 10:50:53 +10:00
Matilde Park
c1a4aeb60e soto: ignore backspace at cursor position 0
If you entered the web dojo and hit Backspace immediately,
it would still process it as a valid key but pass the whole key forward.

This adds a conditional to ignore the key in those cases.
2020-03-23 11:25:36 -04:00
Liam Fitzgerald
6c403f5135 chat-fe: match autocomplete to designs 2020-03-21 13:52:41 +10:00
Liam Fitzgerald
9c759a7e68 chat-fe: autocomplete nicknames in message input 2020-03-21 13:49:57 +10:00
ixv
fed93b1fe5
Merge pull request #2565 from urbit/groups/leave-group-text
groups: two contact card changes
2020-03-20 16:17:33 -07:00
ixv
3ba00c3623
Merge pull request #2580 from urbit/mp/publish/pending
publish: add pending state for comments
2020-03-20 16:16:51 -07:00
Matilde Park
41f95e231f publish: pending comments get correct timestamp 2020-03-20 17:46:00 -04:00
Matilde Park
812ab41a81 publish: abundant safety checks in comments update 2020-03-20 17:36:25 -04:00
Matilde Park
29c432408c groups: add startup content 2020-03-20 17:16:15 -04:00
Matilde Park
b16a64ae03 publish: add startup content 2020-03-20 17:16:08 -04:00
Matilde Park
d68b2e44d8 links: add startup content 2020-03-20 17:08:59 -04:00
Matilde Park
0d9a604ecd chat: add startup content 2020-03-20 17:05:15 -04:00
Matilde Park
9114d1e858 launch: add startup content 2020-03-20 16:30:20 -04:00
Fang
2db5f7bb59
Revert "chat fe: disable advanced groupify" 2020-03-20 18:45:22 +01:00
Matilde Park
0246bea613 publish: add pending state for comments 2020-03-20 13:23:47 -04:00
Liam Fitzgerald
14399777e0 chat-fe: ignore comets in autocomplete 2020-03-20 15:30:04 +10:00
Liam Fitzgerald
2f97099e94 chat-fe: correct light mode autocomplete styling 2020-03-20 15:28:46 +10:00
Liam Fitzgerald
19b97040f2 chat-fe: add patp autocomplete to message input 2020-03-20 15:28:46 +10:00
Matilde Park
3b2bd32130 groups: remove - mh2 -> mh3
Design tweak.
2020-03-19 20:28:44 -04:00
Matilde Park
7cc5c9c6b5 groups: permission remove button for group members
Adds 'adminOpt' to the remove button for group members
who have not yet shared metadata.
2020-03-19 20:26:54 -04:00
Fang
3bf402bc6e
chat fe: update copy to match lesser functionality
Co-Authored-By: ixv <isaacv@tlon.io>
2020-03-20 00:25:43 +01:00
Fang
6182d61420
chat fe: disable advanced groupify
Introduced in #2546, the new functionality seems able to induce weird
behavior causing messages to be processed twice. Disabling this
functionality on the frontend until that has been fixed.
2020-03-20 00:13:16 +01:00
Matilde Park
b2b6c05992 groups: fix "remove from" / "leave group" text
When you were looking at your own card in another group,
it would say "Remove from" group. This is from an arbitrarily strict
ternary check that adminOpt catches
for us, so we just check if the ship is us.
2020-03-19 18:16:22 -04:00
Matilde Park
d1b73f7ae3 groups: strengthen the admin check on cards
Before we saw if window.ship was in the path of the group.
If you're a star or higher, you'll match many group paths that you don't
own. This strengthens the check.
2020-03-19 18:15:36 -04:00
Matilde Park
7f8fcbe528 link: adjust sigil size to 38 2020-03-19 17:48:38 -04:00
ixv
b811506969
Merge pull request #2548 from urbit/mp/groups/delorted
groups: delete group members without shared metadata; delete groups
2020-03-19 10:54:42 -07:00
ixv
c410263c5b
Merge pull request #2559 from urbit/mp/publish/recompare
publish: sort inclusive of accented characters
2020-03-19 10:54:24 -07:00
Matilde Park
e9c2f47729 publish: sort inclusive of accented characters
Alphabetical and reverse alphabetical sort in the sidebar
now uses localeCompare instead of Unicode point comparison.
2020-03-19 12:12:58 -04:00
Matilde Park
c5d790410e chat: sidebar pulls nickname from associated group
We were looking for the box in our contacts object, not the associated
group, so if you had a group and chat with the same name,
you'd see nicknames, but in no other situations. This commit rectifies
that by safely polling for the associated group of the chat.
2020-03-19 11:46:47 -04:00
Fang
23e3399c05
Merge pull request #2543 from urbit/mp/link/contrib-count
link: restore contributor counts in sidebar
2020-03-19 13:59:27 +01:00
Jared Tobin
14ce3177aa
Merge branch 'mp/publish/new-button' (#2549)
* origin/mp/publish/new-button:
  publish: prevent submission of empty notes
  publish: add responsive width for new post button

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:36:25 +04:00
Jared Tobin
7a7fe45677
Merge branch 'm/chat-groupify-extra' (#2546)
* origin/m/chat-groupify-extra:
  chat-view: %delete even without association
  frontend: apply ec6c2ed69 to link, publish, groups
  chat fe: clarify copy
  chat fe: support adding chat to existing group
  chat fe: invite search with/out ships
  chat-view: allow %groupify into existing group
  chat-view: add docs for %create action

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:35:59 +04:00
Fang
cc1c28fdec
frontend: apply ec6c2ed69 to link, publish, groups 2020-03-19 00:00:02 +01:00
Matilde Park
b86d6006a0 publish: prevent submission of empty notes
The onclick would fire regardless of disabled attr.
This commit adds a conditional check to the onclick's function.
2020-03-18 18:42:42 -04:00
Matilde Park
45b61f90e1 publish: add responsive width for new post button 2020-03-18 18:34:18 -04:00
Fang
143bae6190
chat fe: clarify copy
Also clarifies a comment, and removes unnecessary console.log calls.
2020-03-18 23:28:35 +01:00
Matilde Park
803a4f6e86 groups: add ability to delete groups 2020-03-18 18:02:00 -04:00
Matilde Park
e82edd6e51 groups: delete group members without metadata 2020-03-18 17:30:47 -04:00
Fang
1ea4277988
chat fe: support adding chat to existing group
Using the updated chat-view %groupify action. Groupifying without
selecting a group creates a new group based off the chat. Selecting a
group first makes that the target of the group, and allows you to
specify whether to merge ships from the chat into the group.
2020-03-18 22:06:16 +01:00
Isaac Visintainer
fddee190b3 publish: fix post textarea overflowing container in firefox 2020-03-18 14:04:22 -07:00
Fang
ec6c2ed69a
chat fe: invite search with/out ships
This lets you specify whether or not you want to include ships in search
results for the InviteSearch component, as is already possible for
groups. This enables group-only searching, as will be used by the next
commit.

Also modifies the placeholder text based on what is included in the
search results.
2020-03-18 22:02:37 +01:00
Matilde Park
73379df54b link: restore contributor counts in sidebar
During the metadata restructure I didn't adjust
this property pass and it passed through an
empty "group" prop and processed it as 0.
2020-03-18 14:20:27 -04:00
ixv
6e6cd18699
Merge pull request #2528 from urbit/mp/groups/pad-bottom-card
groups: add bottom padding to contact card
2020-03-17 17:03:27 -07:00
ixv
0872419f5c
Merge pull request #2530 from urbit/mp/soto/cmdv
soto: cmd/ctrl+v pasting, whitelist keys
2020-03-17 17:03:16 -07:00
Isaac Visintainer
a23c5a7ebe publish: fix onScroll fetching bug 2020-03-17 15:19:14 -07:00
Fang
1fe7ef8617
Merge pull request #2529 from urbit/mp/link/soundcloud
links: add soundcloud embeds
2020-03-17 18:28:45 +01:00
Matilde Park
9ee62d2e0d links: check for soundcloud url on mount 2020-03-17 12:43:31 -04:00
Matilde Park
dee0312784 soto: whitelist non-character keys
Inverting from an ongoing blacklist
to a whitelist of a few functional keys.
2020-03-16 21:47:29 -04:00
Matilde Park
3e1f3dca6e soto: allow cmd/ctrl+v pasting 2020-03-16 21:36:45 -04:00
Matilde Park
116bfac640 links: add soundcloud embeds 2020-03-16 21:25:15 -04:00
Isaac Visintainer
9c495aa38a release: urbit-os-v1.0.2 2020-03-16 17:55:56 -07:00
Matilde Park
1c14599ada groups: add bottom padding to contact card 2020-03-16 20:34:35 -04:00
Fang
4b5a02fac8
Merge pull request #2480 from urbit/m/chat-groupify
chat: groupify
2020-03-16 18:37:29 +01:00
Jared Tobin
1dd2b77222
release: urbit-os-v1.0.1 2020-03-16 15:10:58 +04:00
Jared Tobin
7af1048224
Merge branch 'mp/os1/chat-simple-sigil' (#2500)
* origin/mp/os1/chat-simple-sigil:
  chat: remove "#" from fallback sigil color

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:42 +04:00
Jared Tobin
4091f76d26
Merge branch 'mp/remove-invites-tile' (#2492)
* origin/mp/remove-invites-tile:
  launch: don't render invites tile

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:20 +04:00
Jared Tobin
1f940cd327
Merge branch 'mp/soto-paste' (#2490)
* origin/mp/soto-paste:
  soto: allow for right click pasting

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:42:55 +04:00
Jared Tobin
7d3eafa35c
Merge branch 'mp/soto-capslock' (#2489)
* origin/mp/soto-capslock:
  soto: add 'capslock' to ignored keys

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:41:21 +04:00
Matilde Park
eff3c85973 chat: remove "#" from fallback sigil color
In the chat input we fall back to #000000 and blend it; but we also
prefix any color we send to the sigil component with a # for
uxToHex values, so we end up passing ##000000. This results
in simplified sigils -- when in doubt, ensure the hex formatting
is correct...
2020-03-13 22:51:20 -04:00
Matilde Park
f4610ba4a9 chat: use more precise regex 2020-03-13 20:55:54 -04:00
Matilde Park
f9a2aae085 launch: don't render invites tile 2020-03-13 20:32:55 -04:00
Matilde Park
07f6268509 soto: allow for right click pasting 2020-03-13 19:52:12 -04:00
Matilde Park
493784055f soto: add 'capslock' to ignored keys 2020-03-13 19:23:26 -04:00
ixv
3bb8a7d13f
Merge pull request #2476 from urbit/mp/weather-dector
weather: redirect after autodetect submission
2020-03-13 13:47:37 -07:00
ixv
4b6271b151
Merge pull request #2471 from urbit/mp/launch-weather-crash
launch: stop passing 'invite' prop to tiles
2020-03-13 13:02:27 -07:00
ixv
229373924b
Merge pull request #2458 from urbit/mp/publish-typo
publish: fix join typo
2020-03-13 13:01:19 -07:00
ixv
144f7f3cba
Merge pull request #2455 from urbit/mp/color-picker-alignment
chat, link: preview for channel colour picker
2020-03-13 13:00:59 -07:00
Fang
acdf511f23
chat fe: improve groupify copy 2020-03-13 19:02:29 +01:00
Fang
32ae34a37a
chat fe: support groupify operation 2020-03-13 18:15:34 +01:00
Matilde Park
1123ae5c99 weather: redirect after autodetect submission 2020-03-13 11:04:57 -04:00
Matilde Park
d016199ed7 link: submit color on blur 2020-03-13 10:41:18 -04:00
Matilde Park
788f8013c7 chat: submit color on blur 2020-03-13 10:38:52 -04:00
Matilde Park
bca75a7b80 launch: stop passing 'invite' prop to tile 2020-03-13 10:21:00 -04:00
Matilde Park
fa3cbdf68e publish: fix join typo 2020-03-13 01:00:02 -04:00
Matilde Park
d4e2369849 link: add preview box to channel color picker 2020-03-13 00:17:57 -04:00
Matilde Park
21a4c50376 chat: add preview box to channel color picker 2020-03-13 00:17:51 -04:00
Matilde Park
b503001609 chat: split and send mixed messages sequentially
Hot and cold in that order. This amends the behaviour of messages
with text and URLs to submit them in order of found URL,
instead of batching the URLs at the end.
2020-03-12 21:46:03 -04:00
ixv
33c422fca6
Merge pull request #2447 from urbit/la-unsubscribed-state
chat-hook: added ability to subscribe to chat-hook state from the front-end
2020-03-11 23:36:42 -07:00
Logan Allen
872c620c5a chat-js: styled the resubscribe element 2020-03-11 20:33:01 -07: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
64938e24e9 chat-hook: added ability to subscribe to chat-hook state from the frontend 2020-03-11 16:44: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
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
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
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
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
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
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
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
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