Commit Graph

279 Commits

Author SHA1 Message Date
Tyler Brown Cifu Shuster
ff71947fe8 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-02-25 19:51:06 -08:00
Tyler Brown Cifu Shuster
12645644f7 interface: covert contact store to zustand 2021-02-25 19:46:45 -08:00
Liam Fitzgerald
6fa0cd29e2
settings: migrate 2021-02-26 13:05:31 +10:00
J
92dd46b176 GcpClient: remove unused BASE_URL 2021-02-26 00:49:57 +00:00
J
1c0d8e524e interface: thread gcp through props
Basically just a grep for 's3', and I added gcp wherever it looked like
I ought to.
2021-02-26 00:38:01 +00:00
J
11a58115b0 interface: implement useStorage and withStorage
useS3 and withS3 are now gone. Storage should work with both GCP and S3,
preferring GCP if available and falling back.
2021-02-26 00:07:15 +00:00
J
4814d61c48 interface: unnecessary const 2021-02-25 23:08:41 +00:00
J
a6d4c3a431 interface: proof-of-concept GCP upload
As of this commit, the Links app uploads files to GCP storage.

(Note that it no longer uploads to S3. Still need to support both.)
2021-02-25 22:52:18 +00:00
matildepark
c63ffbdb73
Revert "landscape: allow most patp punctation in tokenize" 2021-02-25 13:24:05 -05:00
Liam Fitzgerald
355c22b564
virtualscroller: teleport scroll manipulation 2021-02-25 11:05:40 +10:00
J
9fa086e0d3 interface: extract GcpManager
Now the API is just an API. (I did still have it produce an expiry time,
since it makes the refresh loop easier to do.)

Not yet storing the token now.
2021-02-25 00:31:39 +00:00
Liam Fitzgerald
3147625d6d
Merge remote-tracking branch 'origin/release/next-js' into lf/settings 2021-02-23 13:52:18 +10:00
Liam Fitzgerald
13f0ea755b
settings: sidebar layout 2021-02-23 13:32:41 +10:00
Liam Fitzgerald
02ec8159a6
settings: add leap config 2021-02-22 16:58:52 +10:00
Liam Fitzgerald
b6fb575ebc
settings: CalmEngine on settings-store 2021-02-22 15:37:03 +10:00
Matilde Park
8f63b5dcf1 Merge branch 'release/next-js' into lf/tutorial-revive 2021-02-19 17:53:04 -05:00
Liam Fitzgerald
a67abe44cb
tutorial: sort tutorial group first 2021-02-19 14:27:58 +10:00
Liam Fitzgerald
a373559626
tutorial: revive in omnibox 2021-02-19 14:23:39 +10:00
Liam Fitzgerald
2ac9919f41
tutorial: dynamic height 2021-02-19 13:22:39 +10:00
Liam Fitzgerald
a58c2a143e
leap: add category blacklist 2021-02-17 16:48:05 +10:00
Tyler Brown Cifu Shuster
1b19a95fea interface: cleaning up imports 2021-02-14 14:11:27 -08:00
Liam Fitzgerald
cefa80cee5
Omnibox: Add Messages to results 2021-02-12 11:00:24 +10:00
Liam Fitzgerald
a8f560f952
Tutorial: disable 2021-02-12 08:04:22 +10:00
Matilde Park
1961b606f3 Merge branch 'release/next-userspace' into lf/tutorial-fixes 2021-02-11 12:17:22 -05:00
Liam Fitzgerald
8c3a9a2546
ViewProfile: left align pinned groups
Fixes urbit/landscape#394
Fixes urbit/landscape#388
2021-02-11 18:08:13 +10:00
Liam Fitzgerald
1f251667cb
Omnibox: conditionally show channel create on permissions
Fixes urbit/landscape#386
2021-02-11 16:22:02 +10:00
Liam Fitzgerald
fe22d33696
Tutorial: bring into line with designs 2021-02-11 16:13:59 +10:00
Liam Fitzgerald
76de225b4a
interface: untangle event propagation in modals 2021-02-11 16:08:40 +10:00
Liam Fitzgerald
7568ecc2b4
tutorial: launch from omnibox 2021-02-11 10:42:11 +10:00
Liam Fitzgerald
0995019ef9
interface: correct modal stacking behaviour 2021-02-10 17:17:14 +10:00
Liam Fitzgerald
303dc6b3bd
chat-fe: pretty group joining link 2021-02-10 16:27:49 +10:00
Liam Fitzgerald
548f2143f8
Merge pull request #4388 from urbit/lf/tutorial
interface: add overlay tutorial
2021-02-09 13:31:06 +10:00
matildepark
05c1f286a3
Merge pull request #4399 from urbit/lf/profile-tweaks
Profile: tweak sigil size
2021-02-08 21:43:56 -05:00
Liam Fitzgerald
a2cd566dd2
sigil: turn padded into padding and take number 2021-02-09 12:24:28 +10:00
Liam Fitzgerald
ab470960eb
tutorial: adjust for mobile 2021-02-09 12:10:06 +10:00
Liam Fitzgerald
a07b8cc0b5
Merge remote-tracking branch 'origin/release/next-userspace' into lf/hark-loading 2021-02-09 11:25:51 +10:00
Liam Fitzgerald
003738f95a
Inbox: make useLazyScroll account for archived notifications
useLazyScroll was not accounting for the case where a notification would
be archived. This would mean that archiving a lot of notifications
without scrolling would erroneously not load more. Accounts for this
case by passing a count argument to useLazyScroll, which is then
compared against its previous value. If the previous value is greater
than the new value, (i.e. a notification was archived) then check if we
should load more.
2021-02-08 14:04:55 +10:00
Liam Fitzgerald
71ae452132
interface: add usePreviousValue hook 2021-02-08 14:04:43 +10:00
Liam Fitzgerald
07518e5cff
interface: inject location of tutorial group at compile tim 2021-02-08 11:02:52 +10:00
Liam Fitzgerald
2a7ee29dc5
interface: display tutorial interface 2021-02-08 10:32:45 +10:00
Liam Fitzgerald
cca47cc3e7
interface: sketch out tutorial state 2021-02-08 10:29:47 +10:00
matildepark
45cadff09f
Merge pull request #4382 from urbit/lf/fe-fixes
interface: all assigned QA bugs
2021-02-04 19:28:36 -05:00
Liam Fitzgerald
d9ab3c9fba
interface: stop propagation reshowing modal 2021-02-05 09:23:18 +10:00
Logan Allen
fb7db5244b interface: fix Profile and Settings link in omnibox 2021-02-04 15:12:41 -06:00
Matilde Park
1dd08d8504 Merge branch 'release/next-js' into release/next-userspace 2021-02-03 19:08:08 -05:00
Matilde Park
67f7ebbf8a links, publish: use tokenizeMessage for comments
Fixes urbit/landscape#271.
2021-02-03 18:13:03 -05:00
Logan Allen
ea2d740d1c interface: fix group joining and display of share profile view 2021-02-03 13:09:39 -06:00
Liam Fitzgerald
60b53ccbd5
Omnibox: rewrite in hooks, add direct ship jump 2021-02-03 16:30:28 +10:00
Matilde Park
f0033ab02f landscape: add "messages" workspace and logic 2021-02-02 18:45:40 -05:00
Matilde Park
378ad0690f landscape: "DMs + Drafts" -> "My Channels" 2021-02-02 15:38:12 -05:00
Liam Fitzgerald
c16f2365bf
Merge remote-tracking branch 'origin/release/next-userspace' into lf/graph-permissioning 2021-02-02 10:40:40 +10:00
Matilde Park
b726ee2066 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 18:33:53 -05:00
Matilde Park
876e90106e Merge branch 'release/next-js' into release/next-userspace 2021-01-29 18:18:38 -05:00
Matilde Park
54b9bb25c9 landscape: "contacts" -> "groups" in associations 2021-01-29 17:28:48 -05:00
Logan Allen
72e036bae3 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 14:48:39 -06:00
James Acklin
ab1f415552 profile: return background color for comet sigils
Fixes urbit/landscape#316
2021-01-28 18:45:37 -05:00
Liam Fitzgerald
514f6cfbf0
interface: refactor modal components 2021-01-28 10:35:46 +10:00
Liam Fitzgerald
a100ac99bb
interface: update state management for permissions 2021-01-28 10:34:23 +10:00
James Acklin
512da2d7ff hark: simplify hook
Fixes urbit/landscape#265
2021-01-27 17:23:51 -05:00
James Acklin
71a4fffb76 hark: persist hovering control
Fixes urbit/landscape#265
2021-01-27 15:52:28 -05:00
Matilde Park
d852140403 leap: add contacts searching 2021-01-26 18:42:54 -05:00
Liam Fitzgerald
ffb7e404f4
notifications: acknowledge end of notifications 2021-01-25 11:57:49 +10:00
Liam Fitzgerald
14579c642f
notifications: fix lazy loading 2021-01-25 11:32:12 +10:00
Liam Fitzgerald
4cb8339bf1
metadata: surface icon and show interstitial on invite 2021-01-22 14:12:09 +10:00
Liam Fitzgerald
42e7746b9c
group-settings: update to match new designs 2021-01-21 15:05:01 +10:00
Liam Fitzgerald
92a4dcabdb
Merge remote-tracking branch 'origin/release/next-js' into lf/md-modernize 2021-01-21 12:48:37 +10:00
Liam Fitzgerald
ab1ad4e51f
JoinGroup: add group preview 2021-01-15 15:48:58 +10:00
Liam Fitzgerald
5d9955c0ce
Merge remote-tracking branch 'origin/release/next-js' into lf/md-modernize 2021-01-15 14:53:10 +10:00
Matilde Park
2180fd65c3 hark: use pat-da for dates 2021-01-14 19:19:52 -05:00
Tyler Brown Cifu Shuster
7be1d8d313 interface: add useHovering hook 2021-01-13 18:50:14 -08:00
Liam Fitzgerald
2384b902b0
metadata: update JS 2021-01-13 15:40:48 +10:00
Matilde Park
40473bf833 landscape/useS3: restore behaviour on ios 2021-01-07 13:28:21 -05:00
matildepark
bb48d8b3c7
Merge pull request #4224 from urbit/mp/landscape/patp-punctuation
landscape: allow most patp punctation in tokenize
2021-01-06 13:06:10 -05:00
Tyler Brown Cifu Shuster
dbc452ff44 interface: fixes bug where profile overlay would crash due to hook use 2021-01-05 19:04:15 -08:00
Matilde Park
746fa57d15 landscape: allow most patp punctation in tokenize
Fixes #4183.
2021-01-05 21:14:41 -05:00
Tyler Brown Cifu Shuster
380a7b30af interface: convert local state to hooks 2020-12-17 12:29:56 -08:00
Matilde Park
b95c3e5b76 Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-10 17:41:17 -05:00
Tyler Brown Cifu Shuster
489a3351c4 s3: fixes #4039 2020-12-10 10:32:37 -08:00
Tyler Brown Cifu Shuster
e5ea163bfa s3: unifies upload component
Fixes https://github.com/urbit/landscape/issues/191
2020-12-03 19:51:24 -08:00
Tyler Brown Cifu Shuster
f71cd55486 publish: allow drag-and-drop uploading of images
Fixes https://github.com/urbit/landscape/issues/183
2020-12-03 19:51:24 -08:00
Tyler Brown Cifu Shuster
1eb6c47c83 s3: improves drag-and-drop behavior
Fixes #3992

...to the extent possible. Adds handlers for better releasing drag state
2020-12-03 19:51:24 -08:00
Liam Fitzgerald
3d21dcd19f
Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-02 13:42:02 +10:00
Liam Fitzgerald
54c469ecfa
graph-store: make JSON conversion invertible 2020-12-02 13:17:49 +10:00
Matilde Park
49fbdc9236 publish: snippets allow image previews 2020-11-25 00:19:17 -05:00
Matilde Park
059b52ea23 publish: amend snippets 2020-11-25 00:05:05 -05:00
Liam Fitzgerald
b7b4000986
hark: separate unread tracking from notifications 2020-11-24 15:40:03 +10:00
Liam Fitzgerald
403ef0a275
chat-fe: MVP graphification 2020-11-23 15:57:43 +10:00
Liam Fitzgerald
a1cf88faba
chat-fe: convert virtualscroller to bigInt 2020-11-23 13:48:36 +10:00
Liam Fitzgerald
474e769839
Merge remote-tracking branch 'origin/master' into release/next-userspace 2020-11-19 10:46:20 +10:00
L
c3c9218083
Merge pull request #3927 from urbit/la/revisions
graph-store: amend %publish and %link validators to allow editing comments
2020-11-18 18:01:13 -06:00
Tyler Brown Cifu Shuster
7d295cb007 landscape: preclude dropdown duplicates on exact match
Fixes #3954
2020-11-18 14:38:50 -08:00
Philip Monk
eadc63938c
Merge remote-tracking branch 'origin/release/next-dill' into release/next-sys 2020-11-17 21:54:50 -08:00
Matilde Park
0f0a93c79c landscape: fix initial contact color input
The rewrite of hexToUx in TypeScript returned a function script instead
of the expected string.

The previous write is put in its place, and instead of assuming "0x"
is always in the color input's initial value, we selectively remove it,
alleviating another bug where we would display a different color than we
submitted due to substringing the first 2 characters
of a value without "0x".

Fixes #3875.
2020-11-17 23:09:39 -05:00
Logan Allen
5fb9d1f0fe publish interface: back up to old parity 2020-11-17 13:59:43 -06:00
fang
1c01c7dc6c
webterm: update bel and move into lib 2020-11-10 21:11:58 +01:00
Liam Fitzgerald
39caa57308
hark: update FE for per-index granularity 2020-11-10 12:15:16 +10:00
fang
fbda1de612
webterm: dojo -> term
Includes updating the tile data in launch.
2020-11-09 20:29:36 +01:00
Matilde Park
5eb1aa4327 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-06 08:59:53 -05:00
matildepark
f949307e61
Merge pull request #3884 from urbit/ga/qa-fixes
Ga/qa fixes
2020-11-05 20:31:58 -05:00
Liam Fitzgerald
118f153dc7
landscape: refactor dropdown searches 2020-11-05 11:53:36 +10:00
Gavin Atkinson
f6e0f5b7d0 More changes to alter Home to DMs + Drafts 2020-11-03 17:16:28 -08:00
Matilde Park
ed2f88b218 lib/sigil: prevent moon sigil shrink 2020-11-03 16:01:38 -05:00
Matilde Park
3a1c3117c0 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-03 12:31:10 -05:00
matildepark
7bb8d42ca8
Merge pull request #3860 from tylershuster/publish-spinner
publish: fixes #3859, fixes #3844
2020-11-03 12:17:39 -05:00
Tyler Brown Cifu Shuster
c4cdf415c9 publish: return JS number revision
fixes #3859, fixes #3844
2020-11-03 06:49:27 -08:00
Liam Fitzgerald
94f787d120 interface: build in mentions FE support 2020-11-03 16:12:34 +10:00
Liam Fitzgerald
04c1ad6653 hark: add publish support 2020-11-03 14:55:32 +10:00
Liam Fitzgerald
e9d9bb839f Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-03 10:58:52 +10:00
Tyler Brown Cifu Shuster
7017b3d9cb groups: prevent accidental group deletion
Fixes https://github.com/urbit/landscape/issues/68
2020-11-02 10:32:37 -08:00
Tyler Brown Cifu Shuster
61442c4c2e publish: prevent leaving note with unsaved changes
Fixes #3838
2020-11-02 08:41:52 -08:00
Liam Fitzgerald
b5a9ea15d7 NewPost: fix bignum handling 2020-10-30 13:01:19 +10:00
Liam Fitzgerald
b768cd3dd0 graph-store: normalize @da in indices
As links is the only application currently using graph-store, we migrate
all indices to @da instead of a @da or a unix timestamp. Rolls over
current graphs and update log to rectify this. Additionally, applies the
link validator mark to graphs, as this was missing. Fixes a latent bug
in graph-store where the removal of a graph that triggered a mark build
would prevent the mark from being rebuilt. Fixes mark input and index
formatting from the frontend as well.
2020-10-29 14:11:55 +10:00
Liam Fitzgerald
c6dc485d24 graph-js: useBigIntOrderedMap 2020-10-29 12:52:13 +10:00
Liam Fitzgerald
e86a870868 lib/util: remove _.chain 2020-10-29 09:21:54 +10:00
Liam Fitzgerald
39d538f9bc Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-28 16:40:02 +10:00
Liam Fitzgerald
2de45c53ef Merge branch 'release/next-userspace' into lf/hark-redux 2020-10-28 16:34:55 +10:00
Liam Fitzgerald
d09d42b269 hark-fe: enable omnibox support 2020-10-28 15:58:59 +10:00
Liam Fitzgerald
ec5804bb3c hark-fe: integrate hooks into state 2020-10-28 15:56:03 +10:00
Liam Fitzgerald
d89ccffb62 interface: convert lib/util to TS 2020-10-27 15:32:56 +10:00
Liam Fitzgerald
1d65e52351 hark-fe: add store, api logic 2020-10-27 15:32:26 +10:00
Liam Fitzgerald
373c44301f NewChannel: redirect on successful creation 2020-10-22 10:43:14 +10:00
matildepark
092dbe21af
Merge pull request #3734 from urbit/mp/interface/sigil-icons
interface: use icon sigils for <16px renders
2020-10-20 16:42:29 -04:00
Matilde Park
b7c7cb9a1c interface: icon sigils have borderradius 2020-10-19 21:07:24 -04:00
Matilde Park
d52753513f interface: use icon sigils for <16px renders 2020-10-19 21:04:51 -04:00
Liam Fitzgerald
b610153b24 publish: address comments 2020-10-19 15:39:36 +10:00
Liam Fitzgerald
b94941f0a2 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-19 13:18:25 +10:00
Liam Fitzgerald
4551e16976 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-13 14:51:14 +10:00
Liam Fitzgerald
6794a930b5 interface: rewrite lodash imports with babel
Due to lodash's packaging mechanism, it is unable to treeshake unless
you always import from it in a certain fashion. This commit adds a babel
plugin to rewrite these imports for us.
2020-10-13 11:52:14 +10:00
Matilde Park
a2fbf8c51c leap: restore app index, remove from default 2020-10-08 18:35:19 -04:00
Matilde Park
54fcd38e3d leap: index unmanaged reosurces to '/home' path 2020-10-08 16:18:29 -04:00
Matilde Park
0625c6f500 leap: add 'home' to leap index, default results 2020-10-08 14:31:23 -04:00
Liam Fitzgerald
a20c43d93b launch: more design fixes 2020-10-07 16:53:32 +10:00
Liam Fitzgerald
60cf95f3da interface: fix iOS scrolling 2020-10-07 15:47:18 +10:00
Liam Fitzgerald
897905d638 groups: set color in settings 2020-10-07 10:22:40 +10:00
Matilde Park
e750c080a3 interface: update sigils library 2020-10-06 17:19:32 -04:00
Matilde Park
c67a75c56a leap: amend for new group paths 2020-10-06 16:53:50 -04:00
Logan Allen
65db566fc7 interface: fixed variable name 2020-10-06 15:28:38 -05:00
Logan Allen
53c1ddfa94 interface: fixes omnibox and profile overlay redirects 2020-10-06 15:27:16 -05:00
Logan Allen
c15fb64629 interface: remove unused Type declarations and permission reducers 2020-10-06 13:16:56 -05:00
Logan Allen
7c3a43984c interface: cleaned up util file 2020-10-06 13:14:12 -05:00
Logan Allen
97e1fa12a9 interface: removed unused links files 2020-10-06 13:04:17 -05:00
Liam Fitzgerald
bda2770320 Merge branch 'release/next-userspace' into lf/global-skeleton-links 2020-10-05 15:47:45 +10:00
Liam Fitzgerald
fc2868abe7 graph-js: create lib/post and refactor 2020-10-05 15:32:17 +10:00
Liam Fitzgerald
fdbf225c66 graph-store: restore @ud encoding 2020-10-05 15:27:26 +10:00
Matilde Park
3bf3ce1d71 interface: remove all popout logic 2020-10-02 18:09:29 -04:00
Tyler Brown Cifu Shuster
02d74a4b19 leap: error trapping, fixes icon bug 2020-10-02 09:58:40 -07:00
Liam Fitzgerald
bddd1557b8 leap: update for new groups routing 2020-10-02 16:55:50 +10:00
Liam Fitzgerald
cc49b6cee3 chat: address design critique 2020-10-02 16:31:05 +10:00
Liam Fitzgerald
ef7bb37f8f Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-01 09:43:34 +10:00
Liam Fitzgerald
74cac94c34 publish: further refactor for groups changes 2020-09-30 23:48:06 +10:00