Commit Graph

30538 Commits

Author SHA1 Message Date
Hunter Miller
1cb4268851
Merge branch 'next/groups' into next/landscape 2022-04-20 10:31:14 -05:00
Hunter Miller
aa724635d1 Merge branch 'master' into next/groups 2022-04-20 10:19:38 -05:00
Hunter Miller
8aaeeef405 Merge branch 'master' into next/landscape 2022-04-20 10:16:56 -05:00
Hunter Miller
3e38e6c4f7 http-api: updating dist to be more compatible with node 2022-04-20 10:00:46 -05:00
Philip Monk
dfd4fc1028 clay: wip 2022-04-19 20:03:32 -07:00
Hunter Miller
25988742f2 Merge branch 'next/landscape' of github.com:urbit/urbit into next/landscape 2022-04-19 14:51:08 -05:00
André Fincato
2f7bc1e847 groups: fix blockquote to work also in notebook
previous code was assuming too much the context of the data structure.
in chat the AST works on a single node base (?), in notebook on a
multi node base.

this commit move the previous code from inside the single stitch function to
the area where the final AST is stitched together.
2022-04-19 15:16:31 +02:00
André Fincato
5634e08da5 groups: set font-size=1 to list block
this set the correct size to a list item which contains for eg only a
link child (as link child has the prop  fontSize="inherit").
2022-04-19 09:04:42 +02:00
André Fincato
db6130146b groups: avoid extra node in plain link URL
This still leaves an empty root node which does not take up visual
space though. A more comprehensive approach would be to filter out
plain URL links from the graph, eg from the function

```
t[1].children.map(c => {
    if (c?.children) {
      let links = [];
      c.children.filter(k => {
        if (k.type === 'link') {
          links.push({
            type: 'root',
            children: [
              {
                type: 'graph-url',
                url: k.url
              }
            ]
          })
        }
      })

      c.children.push(...links);
    }
  });
```
2022-04-19 09:04:19 +02:00
André Fincato
dedacabb53 groups: add graph-url block below plain URL block
this commit suggests a possible UI to put back the rich embed URL
right below (aka in context) the block where the plain URL has been
inserted. in this way when pasting a URL the formatting does not break
and yet a richer UI is still rendered.
2022-04-19 09:03:58 +02:00
André Fincato
96482ca99c groups: correctly display blockquote content in full
as of now, a blockquote would discard any other content after
a URL and would put it on a new line.

eg '> some text https://urbit.org this is urbit' would be rendered as

```
> some text https://urbit.org

this is urbit
```

this commit joins all content inside of a blockquote as one block.
2022-04-19 09:03:41 +02:00
André Fincato
0a03e44632 groups: convert URL from graph-url to plain link
this change removes rich embed URLs in order to not break text flow. eg
when writing a sentence with a URL, before this commit the UI would
display the URL as its own block on a new line, plus anything
afterwards it (originally on the same line of text), would be
displayed on a new line as well.
2022-04-19 09:02:53 +02:00
André Fincato
f03397f301 groups: don't render plain URL 2022-04-19 09:02:12 +02:00
dillon
89498e7b3a groups: fix edit profile
Adds async/await to prevent pokes from being interrupted by a premature route change in the profile  page.
2022-04-18 18:40:24 -04:00
yung calibri
c70ca0ad10 fixup! interface: tweak LinkDetail flex distribution 2022-04-18 15:37:43 -04:00
yung calibri
4481660842 interface: tweak LinkDetail flex distribution 2022-04-18 15:30:09 -04:00
yung calibri
99396e8133 interface: fix double border in LinkDetail 2022-04-18 15:01:03 -04:00
yung calibri
f0a1724d97 interface: fix LinkBlockItem border parameters 2022-04-18 14:56:42 -04:00
yung calibri
2f08d07527 fixup! interface: fix centering in LinkBlockItem summary 2022-04-18 14:52:51 -04:00
yung calibri
72efd56b0b interface: fix centering in LinkBlockItem summary 2022-04-18 14:51:27 -04:00
yung calibri
31db409674 Merge branch 'next/landscape' of https://github.com/urbit/urbit into next/landscape 2022-04-18 13:17:56 -04:00
rcrdlbl
a24bda481c fixes infinite loop in high-embed collections 2022-04-16 18:43:47 -05:00
Liam Fitzgerald
bf023ff874 landscape: remove new group from group-view on leave
This fixes "ghost groups" if you leave a group soon after joining
2022-04-15 15:46:21 -05:00
Liam Fitzgerald
b5296efbe9 landscape: fix automatically watching group chats
Adds functionality in %group-view and -group-create to automatically
watch group chats when created. This appears to have gotten lost around
the time of the hark-graph-hook and group-view rewrite
2022-04-15 15:33:23 -05:00
Liam Fitzgerald
2784bedb68 interface: update ChannelPermissions to use arrays
A previous change updated group state to use arrays instead of sets, due
to the ease of (de)serialisation. This was not total, and resulted in a
bug in the ChannelPermissions component
2022-04-15 14:52:49 -05:00
Patrick O'Sullivan
26b9092f24
Merge pull request #5719 from urbit/po/fix-leap-ship-autocomplete
grid: fix leap ship autocomplete
2022-04-15 14:51:26 -05:00
yosoyubik
7bf759adb0 roller: fix parsing nonces with dot separator 2022-04-15 15:27:08 +02:00
yosoyubik
2eec24ee27 roller: make output less loud 2022-04-15 13:19:10 +02:00
fang
3f88c9ac4b
Merge pull request #5710 from urbit/pkova/eth-watcher-path
eth-watcher: remove obsolete zoom-margin handling
2022-04-14 20:52:03 +02:00
0x70b1a5
3c11cd3064
Images should use -webkit-optimize-contrast. 2022-04-14 13:41:24 -04:00
Patrick O'Sullivan
c0a595ccca grid: leap: search only for ship names, not display names 2022-04-14 12:25:03 -05:00
Patrick O'Sullivan
75f1e22969 grid: Show provider nicknames next to actual ship name in leap search 2022-04-14 11:33:59 -05:00
Hunter Miller
10eadf8b90 Merge branch 'master' into next/groups 2022-04-14 10:24:55 -05:00
Hunter Miller
a68342265c s3: adding v4 signatures for updated compatibility 2022-04-14 10:23:44 -05:00
Hunter Miller
36058280d7 Merge branch 'next/groups' of github.com:urbit/urbit into next/groups 2022-04-14 10:09:05 -05:00
Joe Bryan
032ce14d86 vere: opens event log to aquire pier lock in all stateful utilities 2022-04-14 09:14:25 -04:00
rcrdlbl
3ded98e052 removed false positive embeds 2022-04-14 05:45:39 -04:00
Philip Monk
3b337a14ce Merge branch 'philip/direct' into philip/tomb 2022-04-13 15:01:25 -07:00
Philip Monk
3a04dc3160 clay: address review comments 2022-04-13 15:00:59 -07:00
Liam Fitzgerald
a47d4b21d1 Merge remote-tracking branch 'origin/next/groups' 2022-04-13 16:04:55 -05:00
Patrick O'Sullivan
9c537f0e03 groups: Update desk.docket with new bs8b1 2022-04-13 16:00:38 -05:00
Patrick O'Sullivan
0e0b271cf3 groups: Fix circ. dep issue in safari, remove await in bootstrap 2022-04-13 15:40:18 -05:00
Liam Fitzgerald
ba50914615
Merge pull request #5661 from urbit/lf/graph-drop-logs
graph-store: drop unnecessary logs
2022-04-13 14:05:28 -05:00
drbeefsupreme
9238c3f119
naive: l2 csv remove scag on logs for testing 2022-04-13 14:10:19 -04:00
Philip Monk
10a2acdcc1 clay: use old requests for now when backfilling 2022-04-13 01:12:05 -07:00
Philip Monk
ce5ef26202 Merge branch 'philip/direct' into philip/tomb 2022-04-13 01:00:23 -07:00
Philip Monk
8805e0ee85 clay: convert all blobs to pages
This converts the blob store from having deltas, directs, and
tombstones, to just having direct pages.  This simplifies a lot of code,
since we don't have to constantly ensure that deltas always have their
parent available.

This removes the hardcoded text diff logic from clay, which was
previously required for bootstrapping.

Over the wire, we handle both old and new requests and responses
transparently, so communication is normal in both directions across
ships which do or do not have this change.
2022-04-13 00:35:58 -07:00
Philip Monk
bb14c495da clay: seek wip 2022-04-12 21:02:50 -07:00
Philip Monk
72fa850912 clay: don't download unneeded blobs 2022-04-12 18:31:55 -07:00
David Farrell
e7c42670e4 groups: fix no-case-declarations lint error 2022-04-12 20:27:07 -04:00