Fang
2f1f9b9c56
link fe: remove unused link-initial logic
...
Also includes up-to-date index.js.
2020-02-06 17:33:34 +01:00
Fang
ecf9dacbc0
link fe: factor out "page"+i indexing, use plain numbers
2020-02-06 17:31:13 +01:00
Fang
2b4667eb86
link fe: fix page loading behavior
...
Previously, receiving new items could "locally create" pages,
half-filled with whatever items were pushed down into them. Frontend
would see the existence of the page and assume all was well. However,
the page may have contained more items (on the backend) than just what
we pushed down.
This adds a per-page flag, "local", to indicate such pages. When display
logic sees it's set, it will send a request for the full page,
regardless of currently available data, loading in the canonical full
page as a result.
2020-02-06 17:23:32 +01:00
Fang
438d502c89
link fe: remove unused comment loading logic
...
This never triggers anymore, comments loading always happens in onMount.
2020-02-06 17:06:05 +01:00
Fang
375755f106
link fe: ensure state is initialized where used
2020-02-06 16:56:04 +01:00
Fang
9b9692e7f1
link fe: fully account for the "number as string" case
...
The Number() usage is sane, but should be scoped around the variable by
itself. Previously a string of "3" would lead to a Number("31") call,
which is not the intended behavior here.
Also stops passing a {} in if the actual number is unknown.
2020-02-06 16:55:32 +01:00
Fang
e74ec92c4c
link fe: more correct totals updating logic
2020-02-06 16:52:40 +01:00
Fang
50695fe78a
link fe: use correct time attribute
2020-02-06 15:32:14 +01:00
Fang
182d2c3a07
link fe: refactor link-view subscriptions api
2020-02-06 15:25:07 +01:00
Fang
4222ebbfb3
link fe: always render up-to-date comment counts
2020-02-06 15:04:47 +01:00
Fang
ab21f67ba6
link: support loading individual submissions
...
On the frontend, updates the route path to include the (base64-encoded)
url. Uses that and the load-single functionality to support loading
directly into a submission page, which fetches just the requested
submission.
Also ensures we don't open duplicate comment subscriptions.
2020-02-06 14:50:39 +01:00
Matilde Park
052fbc34de
launch: rebuilt all apps, add mobile flexbox
2020-02-05 23:34:17 -05:00
Matilde Park
4281077dcc
Merge branch 'os1-rc' into mp/os1/launch
2020-02-05 23:06:28 -05:00
Gavin Atkinson
c93d026a70
get geolocation from weather app, revise clock appearance to match new
...
launch page
2020-02-05 18:08:22 -08:00
Matilde Park
6b06367cc4
publish: sidebar defensive checks and style fixes
2020-02-05 20:53:17 -05:00
Anthony Arroyo
bce40c2d52
Merge pull request #2234 from urbit/mp/os1/chat-filter-empty-groups
...
chat: filter empty groups from peer search
2020-02-05 17:42:57 -08:00
A Arroyo
e2c053766a
update new chat validation
2020-02-05 17:35:19 -08:00
A Arroyo
dc673e4bb4
Merge branch 'os1-rc' into contacts-group-validate
2020-02-05 17:31:45 -08:00
A Arroyo
671d3ad7e8
Joe gripes
2020-02-05 17:23:40 -08:00
A Arroyo
260ad31468
validate to @tas insted of @tas
2020-02-05 17:12:50 -08:00
matildepark
89619b6666
Merge pull request #2237 from urbit/jy/markdown-note
...
Jy/markdown note
2020-02-05 19:03:59 -05:00
Jimmy
e045177031
give some small padding on image to make it vertical spacing more even
2020-02-05 15:47:54 -08:00
Jimmy
d97951b499
add pointer hover state
2020-02-05 15:41:51 -08:00
Jimmy
980b3be8bb
markdown spacing
2020-02-05 15:35:20 -08:00
Matilde Park
21f6be96a1
launch, various: new tiles and launch (but clock)
2020-02-05 18:16:56 -05:00
matildepark
9727fab259
Merge pull request #2233 from urbit/m/uplink-os1
...
link: subscriptions for the frontend
2020-02-05 15:30:53 -05:00
Matilde Park
ae007f7b96
links-fe: rebuild link.js
2020-02-05 15:30:34 -05:00
Fang
3bbff696b5
link frontend: fix loading into submission page
2020-02-05 21:17:47 +01:00
Fang
469f7e04d1
link-view: launch tile on-boot
...
Also fills out the eyre %connect wire for clarity.
2020-02-05 20:48:48 +01:00
ixv
b223b261fe
Merge pull request #2229 from urbit/la-chat-os1
...
chat: integrate chat with contacts/groups
2020-02-05 11:02:32 -08:00
Matilde Park
bb7061b591
chat: filter empty groups from peer search
2020-02-05 13:52:01 -05:00
Fang
37c943d34d
link-view: serve png files
2020-02-05 18:43:28 +01:00
Fang
26116ee990
link-view: handle eyre bind acks
2020-02-05 18:43:27 +01:00
Fang
83ed16fcb7
link: remove /app/link-server-hook
...
Use link-view instead.
2020-02-05 18:43:27 +01:00
Fang
e26d2537c7
link: remove trailing whitespace
2020-02-05 18:43:27 +01:00
Fang
4e4f005689
link: update frontend ui logic to match api changes
...
Updates the frontend display & data fetching logic to match the changes
made in e7eef19d7.
2020-02-05 18:43:20 +01:00
Fang
31b6333ef9
link: update frontend api & reducer functions for link-view
...
Replaces .json requests with channel.js subscriptions. Rewrites reducers
to match, now being more careful about paginated data, and storing
comments in their own structure, at [group][url] indices, rather than
the non-static [page][index] ones used previously.
Note that this requires some changes to the frontend UI code also.
See next commit.
2020-02-05 18:20:50 +01:00
Fang
717e2310be
eyre: remove potentially noisy printf
...
It's perfectly sane for gall (apps) to send quits to subscriptions
incoming from the web.
2020-02-05 18:20:43 +01:00
Fang
bda077862e
link: prepare marks
...
Also renames an object attribute to closer match the hoon code.
2020-02-05 17:46:47 +01:00
Fang
e3a4de4d31
link: encode urls in paths using +wood (vs base64)
...
Base64 encoding isn't actually @ta-safe, since it contains capitals and
=. +wood escapes all such characters explicitly. The result is more
readable and more hoon-native paths, but does mean clients will have to
re-implement +wood locally.
2020-02-05 17:39:08 +01:00
Fang
23db1d3be1
link: implement link-view
2020-02-05 17:35:24 +01:00
Matilde Park
bc4dd57896
publish: sortable sidebar
2020-02-04 21:14:44 -05:00
A Arroyo
8c82f1bbff
validate group names
2020-02-04 17:30:22 -08:00
Logan Allen
a7f9e98f85
js: rebuilt chat and contacts
2020-02-04 15:36:49 -08:00
Logan Allen
b51ae958ec
chat: fix issues with [ship path] to path change and support contacts
2020-02-04 15:31:06 -08:00
Logan Allen
543420b68e
chat: cleanup to change api to accept path instead of ship, path
2020-02-04 15:30:02 -08:00
A Arroyo
ff4db6786d
change fe to create full group path
2020-02-04 15:28:44 -08:00
A Arroyo
6fb731b5c1
remove ship-based path building
2020-02-04 15:28:44 -08:00
A Arroyo
c8f72996b4
only create group if doesn't exist
2020-02-04 15:28:44 -08:00
A Arroyo
5c8a53dcaa
remove /read and /write dual group usage
2020-02-04 15:28:44 -08:00