Commit Graph

3923 Commits

Author SHA1 Message Date
Matilde Park
88f02e6115 landscape: code content inherits font weight
Fixes urbit/landscape#905
2021-05-28 17:16:31 -04:00
Matilde Park
12afe8acd7 interface: catch contact-update type mismatch
When applying add-group or remove-group updates optimistically, we send
our ship resourceFromPath objects, and get back /ship/~name/resource
strings. When we apply the update optimistically, we use the former,
storing the object in state. This causes interface errors, as it expects
the string. Therefore, on both ends we construct the string and dedupe
if it comes in after application.

Fixes urbit/landscape#917
2021-05-28 16:54:01 -04:00
Liam Fitzgerald
e540d1260f
interface: prevent storybook flake w relative time 2021-05-28 14:47:18 +10:00
matildepark
68cd853fb5
Merge pull request #4952 from urbit/mp/tokenize-mention-links
tokenizer: please I beg no more
2021-05-27 20:50:12 -04:00
Liam Fitzgerald
623da874e5
tokenizeMessage: less greedy 2021-05-28 10:47:51 +10:00
Liam Fitzgerald
3d9036b10f
tokenizeMessage: race regexes, choose closest match 2021-05-28 09:51:55 +10:00
ixv
75bde5d4f7
Merge pull request #4950 from urbit/ixv/btc-tile-fix
btc: fix visual glitch with tile
2021-05-27 16:46:03 -07:00
ixv
bf2b094374 btc: fix visual glitch with tile 2021-05-27 15:53:38 -07:00
Matilde Park
414b5ea89c PostItem: only render byline if author in state 2021-05-27 18:52:05 -04:00
Logan Allen
c816bc3357 interface: fix feed links 2021-05-27 16:43:12 -05:00
Logan Allen
7e5af14987 interface: fixes group feed issues introduced by fetch 2021-05-27 16:34:49 -05:00
Matilde Park
e704d90e06 interface: add new test for mention+link msgs 2021-05-27 17:00:54 -04:00
James Acklin
16311deee3 messages: fixing mono-logic
fixes urbit/landscape#623
2021-05-27 16:28:39 -04:00
ixv
13807303b4
Merge pull request #4940 from urbit/release/bitcoin-wallet
Bitcoin Wallet
2021-05-27 10:28:18 -07:00
James Acklin
9ba4b0c1cf messages: respect hidden nicknames, conditional mono
fixes urbit/landscape#623
2021-05-27 12:08:03 -04:00
Liam Fitzgerald
57a7822b65
interface: prevent storybook flake 2021-05-27 15:28:59 +10:00
Liam Fitzgerald
dbf8b05e41
Merge remote-tracking branch 'origin/release/next-userspace' into lf/chromatic 2021-05-27 15:20:15 +10:00
Matilde Park
bb2b1bdae5 launch: fix types 2021-05-26 18:30:18 -07:00
Isaac Visintainer
b2887e75a0 btc: add tile 2021-05-26 18:30:18 -07:00
James Acklin
7c90313774 messages: parse DM title and conditionally display nicknames
fixes urbit/landscape#623
2021-05-26 21:10:05 -04:00
Liam Fitzgerald
0fb803f6ee
Comments: fix deletion
Fixes urbit/landscape#902
2021-05-26 15:51:50 +10:00
Liam Fitzgerald
5f8249fab0
collections: add LinkBlockItem 2021-05-26 13:18:48 +10:00
Matilde Park
71c3dc03b5 tokenizeMessage: fix trailing slash case
Fixes urbit/landscape#903
2021-05-25 20:24:16 -04:00
Matilde Park
a985d616ca tokenizeMessage: clear url parse case 2021-05-25 20:20:47 -04:00
Matilde Park
b11edc0e99 tokenizeMessage: retweak regex, add tests 2021-05-25 20:11:45 -04:00
Matilde Park
006e9db150 tokenizeMessage: remove console.log, add same check on other regex 2021-05-25 14:55:05 -04:00
Matilde Park
e43cffeac5 tokenizeMessage: accept whitespace chars in regex 2021-05-25 14:49:08 -04:00
matildepark
145fb29abe
Merge pull request #4931 from urbit/james/chat-input-buttons
chat: no s3, no blank space
2021-05-25 13:39:48 -04:00
matildepark
006fb5b18f
Merge pull request #4933 from urbit/lf/tokenize-fixed
interface: fix tokenisation
2021-05-25 12:58:05 -04:00
Matilde Park
6112ae0632 ChatResource: remove extraneous space in mentions 2021-05-25 12:55:52 -04:00
Liam Fitzgerald
0353fcf6f6
collections: add LinkInput 2021-05-25 18:11:43 +10:00
Liam Fitzgerald
349dc6083c
interface: add Figma integration to storybook 2021-05-25 18:10:44 +10:00
Liam Fitzgerald
8df6c5faaa
interface: fix chromatic CI 2021-05-25 15:36:22 +10:00
Liam Fitzgerald
891d144cbf
RemoteContent: add stories 2021-05-25 15:09:54 +10:00
Liam Fitzgerald
3b5c688017
interface: add chromatic to CI 2021-05-25 14:59:39 +10:00
Liam Fitzgerald
918153f13e
interface: add more stories 2021-05-25 14:43:39 +10:00
Liam Fitzgerald
91b4cf847c
tokenizeMessage: refactor, add tests 2021-05-25 12:37:59 +10:00
Liam Fitzgerald
dcd3b77e02
interface: add jest for unit testing 2021-05-25 12:33:42 +10:00
Liam Fitzgerald
0c731c7498
GroupFeedHeader: do not mutate state 2021-05-25 09:49:13 +10:00
Liam Fitzgerald
d418eec204
interface: fix tsc errors 2021-05-25 09:47:20 +10:00
Matilde Park
15fd607af8 Merge branch 'release/next-userspace' into release/2021-5-27 2021-05-24 19:08:25 -04:00
Matilde Park
e859f2a5e8 Merge branch 'release/next-userspace' into la/deep-graph 2021-05-24 19:02:44 -04:00
James Acklin
1300c5b923 channel: name group DMs a comma-separated list of participants
fixes urbit/landscape#623
2021-05-24 19:00:02 -04:00
James Acklin
ce74572d02 chat: no s3, no blank space
fixes urbit/landscape#892
2021-05-23 19:51:42 -04:00
Liam Fitzgerald
1ac01ef0f7
Settings: correct default keybinds 2021-05-21 13:35:54 +10:00
Logan Allen
5c9a278620 interface: create proper group feed back button behavior 2021-05-20 19:52:23 -05:00
Logan Allen
e63c63022d interface: pending and new message updates work across timeline, thread, and replies 2021-05-20 19:31:32 -05:00
Matilde Park
9e85045e17 settings: stub icon for shortcuts 2021-05-20 20:30:57 -04:00
Liam Fitzgerald
50be15dc27
SidebarItem: fix unreads, mono for DM 2021-05-21 10:23:01 +10:00
Liam Fitzgerald
65c8f30124
DM: pending states 2021-05-21 10:22:35 +10:00
Liam Fitzgerald
60ed7d6151
SidebarList: fix comet rendering 2021-05-21 10:12:11 +10:00
Liam Fitzgerald
454c1919ce
DmResource: fix backlog, mark as read 2021-05-21 10:08:02 +10:00
Liam Fitzgerald
115ee5f4f1
Merge pull request #4910 from urbit/lf/hark-boxing
hark: new boxing model
2021-05-21 08:38:18 +10:00
James Acklin
8f9ccaafce permalinks: final spacing pass for elements + placeholders 2021-05-20 17:07:35 -04:00
Liam Fitzgerald
2e4eda036b
SidebarList: fix empty contact nick 2021-05-20 15:29:07 +10:00
Liam Fitzgerald
ad1187bc3c
SidebarList: fix associations access 2021-05-20 14:25:39 +10:00
Matilde Park
a31823aca7 GraphContent: paragraphs allow for wrapping 2021-05-19 23:11:15 -04:00
Matilde Park
18f9a8783e interface/remark-break: lint 2021-05-19 23:02:32 -04:00
Matilde Park
73e4ad820b interface, npm: peer -> dev dependency 2021-05-19 22:18:43 -04:00
Matilde Park
06c4994dd4 Merge branch 'release/next-userspace' into mp/landscape/pre-commit 2021-05-19 22:05:21 -04:00
Liam Fitzgerald
ead07b9c4f
GraphContent: inherit size, weight for links 2021-05-20 11:46:04 +10:00
Liam Fitzgerald
aa18917d5d
RemoteContent: fix typings 2021-05-20 10:29:21 +10:00
Matilde Park
fbd0d85e9a interface: remove tsc as pre-commit hook 2021-05-19 13:50:39 -04:00
Liam Fitzgerald
3bce33de3e
GraphContent: fix tsc 2021-05-19 14:52:21 +10:00
Liam Fitzgerald
ad08450626
RemoteContent: expand to fill if tall 2021-05-19 14:45:08 +10:00
Liam Fitzgerald
c81f03a4ad
interface: reset UA css for lists 2021-05-19 14:39:00 +10:00
Liam Fitzgerald
f85ca49cb0
GraphContent: fix leading inline content breaking stitching 2021-05-19 14:38:40 +10:00
Liam Fitzgerald
f6c1b941a7
GraphContent: add table support 2021-05-19 14:38:00 +10:00
Liam Fitzgerald
f8c8033ea2
GraphContent: support strikethrough 2021-05-19 14:37:38 +10:00
Liam Fitzgerald
e71d6773a7
GraphContent: don't linebreak on empty text nodes 2021-05-19 14:36:34 +10:00
Liam Fitzgerald
0e37171070
GraphContent: add stories to document edge cases 2021-05-19 14:35:57 +10:00
Liam Fitzgerald
0f58ee0f54
interface: add storybook 2021-05-19 14:33:38 +10:00
Logan Allen
ad5374d300 interface: fix virtual scroller bug of negative offsets 2021-05-18 19:59:13 -05:00
Logan Allen
941ee247e5 interface: fix replies view 2021-05-18 18:48:28 -05:00
Logan Allen
d308b96909 interface: threading works for complex graph structures 2021-05-18 18:04:27 -05:00
Logan Allen
6b102450a5 interface: reworked thread view so that one can navigate to it from any child to see the conversation around that particular child 2021-05-18 16:55:43 -05:00
Matilde Park
de78be4ecd interface: add lfs runners 2021-05-18 17:54:39 -04:00
Matilde Park
b44c3faa23 interface: fix tsc error 2021-05-18 17:06:21 -04:00
Matilde Park
b27c85b87f Merge branch 'release/next-userspace' into mp/landscape/pre-commit 2021-05-18 17:03:33 -04:00
Matilde Park
2461017684 interface: bump package-lock.json 2021-05-18 16:56:39 -04:00
Matilde Park
e61be655cf interface: add tsc to precommit hook 2021-05-18 16:51:08 -04:00
Matilde Park
1d64edd842 interface: add lint-staged as pre-commit hook 2021-05-18 16:32:30 -04:00
matildepark
f9354e49a1
Merge pull request #4912 from urbit/james/permalink-placeholders
permalinks: graph node placeholders
2021-05-18 16:32:13 -04:00
James Acklin
ee02f61d7b permalinks: fix tsc error 2021-05-18 16:14:58 -04:00
James Acklin
fed10bc07c permalinks; conditional addtional rows, dependent on graph type 2021-05-18 14:42:59 -04:00
Logan Allen
e2d9a32a73 interface: display last item of thread properly 2021-05-18 12:21:47 -05:00
Matilde Park
a43bb23223 GraphContent: amend text, blockquote boxing, color 2021-05-18 13:08:02 -04:00
matildepark
e80cd1ceb3
Merge pull request #4911 from urbit/lf/bag-of-grab
interface: misc grabbag
2021-05-18 12:30:33 -04:00
James Acklin
8f074592f2 permalinks: placeholder formatting fix 2021-05-18 09:17:55 -04:00
James Acklin
c7e9b82e68 permalinks: placeholder for unloaded nodes, author-content spacing 2021-05-18 09:16:31 -04:00
Liam Fitzgerald
0e9a8590d8
Groups: fix keying 2021-05-18 14:00:10 +10:00
Liam Fitzgerald
2221411220
GroupSwitcher: update recent groups on unmount
Fixes an unfiled bug where switching to a non-group workspace would not
add the most recent group to the group switcher
2021-05-18 12:36:49 +10:00
Liam Fitzgerald
e8091f9da1
graph-reducer: ignore superfluous updates
Reduces RAM usage drastically, especially in long-lived sessions
2021-05-18 12:33:48 +10:00
Liam Fitzgerald
b60e39545c
GraphContent: fix tsc 2021-05-18 12:10:58 +10:00
Liam Fitzgerald
34469279e1
notifications: fix tsc errors 2021-05-18 11:27:41 +10:00
Liam Fitzgerald
c1f2fba45e
notifications: update for new boxing model 2021-05-18 11:10:11 +10:00
Liam Fitzgerald
55ad8e22ae
Merge remote-tracking branch 'origin/release/2021-5-27' into lf/hark-boxing 2021-05-18 10:46:31 +10:00
Logan Allen
8201a3c68b interface: make pending messages work for flat graphs 2021-05-17 19:04:34 -05:00
Logan Allen
ae1edbbe2c interface: wip reducers with immer 2021-05-17 18:39:10 -05:00
Logan Allen
d97b50a8ff Merge branch 'release/next-userspace' into la/deep-graph 2021-05-17 14:07:45 -05:00