Commit Graph

18433 Commits

Author SHA1 Message Date
Fang
19867d2c49
Merge pull request #2599 from urbit/m/dbug-state-print-fix
dbug: print %state's value, not whole vase
2020-03-24 22:16:43 +01:00
Fang
2186dd8050
dbug: print %state's value, not whole vase 2020-03-24 22:12:28 +01: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
Fang
a155da6dec
Merge pull request #2587 from urbit/m/dbug-cleaner-subs
dbug: subscription searching & printing improvements
2020-03-24 10:40:45 +01: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
Philip Monk
1599937c81
clay: add option to skip queue
Makes it so that |cancel %force skips the next thing in the queue if
you're not in the middle of something.  If you are in the middle of
something, it skips the thing you're in the middle of (just like naked
|cancel).

This should resolve issues where |cancel doesn't drain the queue.
2020-03-23 15:53:18 -07:00
Fang
7415a2f66a
Merge pull request #2589 from urbit/m/de-purl-com
zuse: allow com in de-purl query parsing
2020-03-23 20:20:05 +01:00
Fang
f2986af4b3
Merge pull request #2582 from urbit/m/chat-backlog-limit
chat-view: limit initial scrollback to 25 msgs
2020-03-23 19:14:26 +01: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
Fang
303b4b2756
zuse: better ethereum abi data type
Considering some of the options here were atoms, not cells, $% wasn't
appropriate, and led to *etyp:abi:ethereum resulting in ford %ride execution
failure. Simply using $? instead would result in a fish-loop, so here we split
the atom cases from the tagged union ones with a $@.
2020-03-23 12:43:40 +01:00
Fang
87dd953136
zuse: allow com in de-purl query parsing 2020-03-22 01:21:03 +01:00
Fang
c0f93c7306
dbug: allow easily printing all subs
We had no easy way to print all %incoming or %outgoing subscriptions.
Now, passing ~ instead of [%ship ~zod] or similar, will match all.
2020-03-21 18:32:39 +01:00
Fang
50f7dc85fa
dbug: cleaner subscription printing
Previously, the pretty-printing for %incoming and %outgoing results was hanging
on to and displaying irrelevant type information: "_list_ of subscriptions",
"wire with _head and tail_", and so on.

Here, we move to producing tangs, instead of vases, and print those. For the
%incoming and %outgoing cases, we print a line for every subscription, sorting
them by path and wire respectively, and giving clean, easily readable output.
2020-03-21 18:29:33 +01: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
Fang
6e67feb256
Merge pull request #2581 from urbit/revert-2566-m/chat-fe-less-groupify
Revert "chat fe: disable advanced groupify"
2020-03-20 21:48:44 +01:00
Matilde Park
9114d1e858 launch: add startup content 2020-03-20 16:30:20 -04:00
Fang
376af254af
chat-view: limit initial scrollback to 25 msgs
Provided "load backlog on-scroll" actually works, you don't really need
all that much on initial load.
2020-03-20 20:47:15 +01:00
Isaac Visintainer
e5f701e4a5 launch: add startup bool 2020-03-20 12:06:10 -07:00
ixv
9f997fb5b8
Merge pull request #2579 from urbit/m/chat-hook-cleanup-subs
chat-hook: clean up pre-OS1 subscriptions
2020-03-20 11:35:15 -07: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
Fang
1e1c26e306
chat-hook: clean up pre-OS1 subscriptions
If chats with identical resource paths were created, that would result
in chat-hook seeing updates twice.

These "/mailbox wire sub to local chat-store" subscriptions aren't
created by the current logic anymore, and as such any existing ones
should be eradicated.
2020-03-20 17:56:17 +01:00
Fang
64a693a037
Merge pull request #2569 from urbit/mp/groups/too-many-removes
groups: permission remove button for group members
2020-03-20 11:48:01 +01: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
Isaac Visintainer
a645f939ad release: urbit-os-v1.0.5 2020-03-19 16:40:17 -07:00
Fang
67f017da3d
Merge pull request #2566 from urbit/m/chat-fe-less-groupify
chat fe: disable advanced groupify
2020-03-20 00:36:41 +01: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
Isaac Visintainer
83fc700d41 release: urbit-os-v1.0.4 2020-03-19 11:19:30 -07: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