Liam Fitzgerald
dd04bd8f79
landscape: include club migration
2022-11-23 14:29:40 +10:00
Mackenzie Davidson
4174fd6829
interface: full width images for notebook posts
2022-08-31 18:08:07 -04:00
Hunter Miller
24c8519c69
rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat
2022-06-27 11:40:31 -05:00
Hunter Miller
6e9c17a9c2
graphcontent: blockquotes now correctly break paragraphs off
2022-06-27 10:29:05 -05:00
Hunter Miller
90b8776fad
md-editor: fixing background in darkmode
2022-06-27 09:57:18 -05:00
Hunter Miller
23b9bbe948
Merge branch 'master' into next/groups
2022-06-17 15:32:55 -05:00
Hunter Miller
6bff31f369
interface: fixing react-codemirror2 dep
2022-06-17 14:59:28 -05:00
Patrick O'Sullivan
d11ce99b48
groups: add webp to list of image types to check links for in chat
2022-06-15 11:21:24 -05:00
Patrick O'Sullivan
b77baf4270
groups: fix issue where URL would be shown along with image in chat
2022-06-15 10:24:31 -05:00
Patrick O'Sullivan
1cdef1e06d
groups: fix issue with chanel perms caused by use of Set()
2022-06-14 10:57:18 -05:00
Patrick O'Sullivan
b6b6655149
Fix webpack, build dependency issues
2022-06-13 12:53:45 -05:00
Patrick O'Sullivan
4c890e86ad
Merge pull request #5759 from urbit/po/fix-add-submitted-state-for-notebook-form
...
groups: fix add submitted state for notebook form
2022-05-12 13:31:28 -05:00
Patrick O'Sullivan
c6b9089c6a
groups: add submitted state for notebook form
2022-05-12 10:31:29 -05:00
Patrick O'Sullivan
39274892e2
groups: fix link to DM from participants list
2022-05-12 09:43:55 -05:00
rcrdlbl
d0994cb855
passed oembed as prop
2022-05-10 01:15:45 -04:00
rcrdlbl
a00e0c9406
Merge branch 'next/groups' into groups/embed-fix
2022-05-05 04:06:26 -04:00
rcrdlbl
de03f888cd
placed async fallback one level up on RemoteContent and LinkBlockItem
2022-05-05 03:46:31 -04:00
Hunter Miller
96e28f91d2
Merge pull request #5729 from afincato/lr-group-link-fix
...
Fix proposal for Groups: embeds break formatting context and more
2022-05-02 10:04:51 -05:00
Hunter Miller
2af6aece3b
Merge pull request #5722 from urbit/lf/exorcise-set
...
interface: update ChannelPermissions to use arrays
2022-05-02 09:59:26 -05:00
André Fincato
4a5e059436
groups: fix linting errors
2022-04-30 13:18:06 +02:00
André Fincato
4d80c3f2cd
groups: wrap bare link in list-item in p node for better typography
2022-04-30 13:03:58 +02:00
rcrdlbl
00de041625
Merge branch 'next/groups' into groups/embed-fix
2022-04-28 18:45:25 -04:00
rcrdlbl
d657dafbd9
applied patch from @arthyn
2022-04-28 18:28:28 -04:00
rcrdlbl
d7221f0c66
modified embed state to avoid race condition
2022-04-27 20:04:02 -04:00
David Farrell
759a579fba
groups: don't double sig the planet name on copy
...
The copy function copies ~~zod instead of ~zod to the clipboard. This
removes the extra sig from the copy routine via deSig() incase the ship
string has no leading sig.
Fixes
[urbit/landscape#1434 ](https://github.com/urbit/landscape/issues/1434 ).
2022-04-26 21:10:01 -04:00
rcrdlbl
d57acf1b58
useEmbed logic moved up one level
2022-04-22 10:45:39 -04:00
Hunter Miller
d26817d1e1
Merge pull request #5720 from 0x70b1a5/next/groups
...
Images should use -webkit-optimize-contrast.
2022-04-20 12:54:25 -05:00
Hunter Miller
2cb36bfbfb
Merge pull request #5713 from dnmfarrell/dnmfarrell/set-messages-title
...
groups: set the right title for messages
2022-04-20 12:50:15 -05:00
Hunter Miller
a0a0a9c2ff
Merge pull request #5728 from dillon/dp/fix-edit-profile
...
groups: fix edit profile
2022-04-20 12:48:09 -05:00
Hunter Miller
fd6aa680be
Merge pull request #5718 from urbit/hm/s3-v4-signatures
...
s3: adding v4 signatures for updated compatibility
2022-04-20 11:32:11 -05:00
Hunter Miller
1cb4268851
Merge branch 'next/groups' into next/landscape
2022-04-20 10:31:14 -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
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
0x70b1a5
3c11cd3064
Images should use -webkit-optimize-contrast.
2022-04-14 13:41:24 -04:00
Hunter Miller
a68342265c
s3: adding v4 signatures for updated compatibility
2022-04-14 10:23:44 -05:00