Commit Graph

811 Commits

Author SHA1 Message Date
Matilde Park
7ec75dcd62 link: rewrite metadata structure for consistency 2020-03-05 20:26:03 -05:00
Matilde Park
12cae5dda8 groups: sidebars polish, lining up vertically 2020-03-05 19:54:55 -05:00
Matilde Park
b539c3e24e groups: nav back to group details page from card 2020-03-05 19:54:37 -05:00
Matilde Park
3f95084eb5 groups: new buttons made consistent, dark mode 2020-03-05 19:54:12 -05:00
Matilde Park
9127b17b5c Merge branch 'master' into mp/os1/metadata-restructure 2020-03-05 19:16:37 -05:00
Matilde Park
9f45554047 chat: surface chat title in header 2020-03-05 19:15:49 -05:00
Matilde Park
1dd78ef413 chat: associations data structure -> nested object
Before this, it was a Map. But because we want to store multiple app
metadata stores -- and because maps are specialised objects -- this
commit restructures the store, reducers, and rewrites behaviour first.
2020-03-05 18:39:06 -05:00
ixv
3c039bce39
Merge pull request #2378 from urbit/m/link-meta
link: metadata integration
2020-03-05 15:09:59 -08:00
Fang
fd9c6cee5d
link fe: various ui/ux fixes based on feedback
Also sneaks in a grammar correction for link-listen-hook documentation.
2020-03-05 22:42:02 +01:00
ixv
a16e40228d
Merge pull request #2399 from urbit/publish-metadata
publish: integration with metadata
2020-03-05 11:56:03 -08:00
Fang
9a3f1be1b3
link fe: fix various display issues 2020-03-05 16:05:05 +01:00
Fang
6966aa0df3
link fe: support empty unmanaged groups 2020-03-05 15:53:44 +01:00
Fang
c71e5315e9
link fe: implement members & settings pages 2020-03-05 15:52:44 +01:00
Jared Tobin
2bf46d7d26
Merge branch 'mp/os1/metadata-remove' (#2401)
* origin/mp/os1/metadata-remove:
  groups: reduce metadata updates, removal
  chat: reducer handles metadata removal

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-05 14:35:01 +04:00
Matilde Park
01c4909393 groups: reduce metadata updates, removal 2020-03-04 19:58:46 -05:00
Matilde Park
56d1630888 chat: reducer handles metadata removal 2020-03-04 19:45:02 -05:00
Matilde Park
ef386302bf invite search: proper padding, blending of group name 2020-03-04 18:57:31 -05:00
Logan Allen
3ace135c18 publish: integration with metadata 2020-03-04 15:56:48 -08:00
Matilde Park
cf7c7fd852 groups: exclude group metadata from channels list 2020-03-04 18:26:00 -05:00
Matilde Park
76c2f49054 groups: set and surface group name metadata 2020-03-04 18:20:32 -05:00
Matilde Park
061deb94a8 groups: remove dummy 'share' flow, 'default' group 2020-03-04 16:13:19 -05:00
Matilde Park
aee2496588 contacts: rename, migrate '~contacts' to '~groups' 2020-03-04 16:13:12 -05:00
Fang
396d13ee1a
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta 2020-03-04 18:55:29 +01:00
Logan
f457c0e568
Merge pull request #2394 from urbit/mp/os1/chat/contact-polling
chat: pull room contacts from associated group
2020-03-03 18:33:20 -08:00
Matilde Park
92dbc4805e chat: pull room contacts from associated group 2020-03-03 21:02:45 -05:00
Matilde Park
2426343566 chat: spell 'permanent' correctly 2020-03-03 20:19:33 -05:00
Matilde Park
2a9d570b6c chat: settings inputs add borders on focus 2020-03-03 17:13:39 -05:00
Fang
9816ed69b3
link fe: remove unused "active" prop 2020-03-03 22:08:00 +01:00
Fang
8568ecff9d
link fe: refactor route paths
We change route paths back to their more-sane ordering, giving up
support for /longer/resource/paths.

The makeRoutePath utility constructs a route path for the given resource,
that optionally points to a specific page, or item, etc.

Also removes unused uuid utility.
2020-03-03 21:35:40 +01:00
Fang
10842ecd92
link fe: remove references to chat & security 2020-03-03 18:31:08 +01:00
Fang
316cacf73b
link fe: support /join route 2020-03-03 16:44:28 +01:00
Fang
a72c74d74d
link fe: navigate to collection post-create 2020-03-03 16:26:42 +01:00
Logan
ba76de8e7b
Merge pull request #2388 from urbit/mp/os1/chat/settings
chat: settings — edit channel metadata, shortcode copying
2020-03-02 20:31:05 -08:00
Matilde Park
92e8bba2c9 chat: remove console.log from metadataAction 2020-03-02 23:30:44 -05:00
Matilde Park
869f19c8f8 chat: style fixes during review, use metadata-hook 2020-03-02 23:27:07 -05:00
Matilde Park
e3e7c9e80c chat: edit description, color settings 2020-03-02 22:30:32 -05:00
Matilde Park
88b34c2ba7 chat: add update-metadata to metadata reducer 2020-03-02 22:30:32 -05:00
Matilde Park
4637587afd chat: revise api.js to match data structures 2020-03-02 22:30:32 -05:00
Matilde Park
eb2d914b23 chat: construct settings page for metadata 2020-03-02 22:30:26 -05:00
Matilde Park
ec089b4648 chat: correct bottom border on join links 2020-03-02 22:30:04 -05:00
Matilde Park
71d6937848 chat: copy shortcodes 2020-03-02 22:29:58 -05:00
Matilde Park
6464dc89ce chat: linkify unmanaged chats 2020-03-02 20:37:31 -05:00
Matilde Park
6dd84b467e contacts: add bg-gray0 to root page 2020-03-02 18:38:30 -05:00
Fang
a382f7d41b
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta 2020-03-03 00:16:41 +01:00
Fang
111333ec93
link: can create managed groups for new collections
Just defers to contact-view for managed group creation.
2020-03-03 00:12:05 +01:00
Logan
057d5996d1
Merge pull request #2379 from urbit/la-managed-chat-integration
chat + contacts: integrate managed groups with metadata
2020-03-02 11:27:59 -08:00
Logan
f29bc2389d
Merge pull request #2381 from urbit/ed/qa-contacts-buttonfix
contacts: changed color + copy of "add to group" button
2020-03-02 10:10:02 -08:00
édouard
ebaecc3fd1 contacts: changed color + copy of "add to group" button
I changed the copy and appearance (color only) of the "Invite" button previously located in Contacts, as it looked like a non-interactive label.
2020-03-02 12:57:54 -05:00
Logan Allen
8b2398b3e2 contact-js: removed console.log 2020-03-01 15:49:31 -08:00
Logan Allen
bb0f56f17a chat + contacts: integrate managed groups with metadata 2020-03-01 15:40:49 -08:00
Fang
0539f3ca1f
link fe: metadata integration
- finds resources & displays details using metadata-store
- supports creating new collections for groups
- supports creating new collections with new unmanaged group
- supports receiving invites for new (unmanaged) collections
2020-03-01 02:10:35 +01:00
Logan
3e235146ee
Merge pull request #2371 from litpub/bug/scroll-to-bottom-on-new-chat
chat: Fixes #2347 pushes chat to bottom on <Chat> mount
2020-02-29 16:35:38 -08:00
Logan
4ade3884bd
Merge pull request #2370 from urbit/mp/os1/dark
os1: dark mode pass
2020-02-29 16:34:44 -08:00
Matilde Park
7535dd2e03 chat: display metadata titles in sidebar 2020-02-28 23:26:17 -05:00
Matilde Park
26ba8d3181 chat: initiate associations in store 2020-02-28 23:26:00 -05:00
Matilde Park
c3d14daff3 chat: add metadata-update reducer 2020-02-28 23:25:48 -05:00
~litpub
701f83bc21 Fixes #2347 pushes chat to bottom on <Chat> mount 2020-02-28 13:02:31 -08:00
Logan
1cfd176434
Merge pull request #2369 from urbit/unmanaged-chats-rc
Unmanaged Chats Work Properly and Support Metadata Syncing
2020-02-28 11:52:54 -08:00
Logan Allen
c960075a11 chat: set metadata properly and incorporate fixes 2020-02-28 11:52:17 -08:00
Matilde Park
bc072790ec publish: add dark mode 2020-02-28 01:26:01 -05:00
Matilde Park
909a2ebf05 invite search: adjust dark mode hover background 2020-02-28 01:03:05 -05:00
Matilde Park
c91b67028b contacts: dark mode pass 2020-02-28 00:47:02 -05:00
Matilde Park
cf6460c5b5 invite search: blend names, filter empty nicknames 2020-02-28 00:46:06 -05:00
Matilde Park
94c90f640e link: add dark mode bottom border to sidebar 2020-02-28 00:19:11 -05:00
Matilde Park
2c301c0b80 chat: integrate invite search on members page 2020-02-28 00:15:55 -05:00
Logan Allen
2b15010e66 chat: removed extraneous prints 2020-02-27 16:16:38 -08:00
Logan Allen
14b28a3d82 chat: unmanaged chats can be joined, have their title/description set, and send invites properly 2020-02-27 16:14:07 -08:00
édouard
f8bb003243
Merge branch 'os1-rc' into ed/qa-header-spacing-fixes 2020-02-27 19:06:33 -05:00
édouard
6bc4f489d4 links: edit/update sidebar styling to match chat
Using existing styling classes found in chat, I've edited the Links module to retain an appearance/sizing that is more uniform with our Chat module interfaces
2020-02-27 18:58:28 -05:00
Matilde Park
82d4cdea47 contacts: fix routing of details view, sidebars 2020-02-27 18:03:08 -05:00
édouard
afcb46caaa chat, links: add 'lh-solid' to header text
This commit fixes a text and icon alignment issue noted by @matildepark. I've simply appended a class of `lh-solid` to items in module tab bars, and removed one case of v-top.
2020-02-27 17:54:53 -05:00
édouard
e8fdf3713d chat, contacts, dojo, links, publish: edited existing padding/margins/color/font-size of tab/header components
Basically, this PR includes a collection of edits made to the headers across each of our OS1 modules.
I flattened the font sizing, fixed edge margins/padding, and fixed some button copy in the case of the Contacts app.
2020-02-27 17:54:13 -05:00
Logan Allen
7abb371a20 chat: unmanaged chats are cleaned up and sync down metadata properly 2020-02-27 14:54:03 -08:00
édouard
308ebea599 publish: add vertical padding to comment-field component
Prior to this commit, the commmenting component had a styling value of `mt9`, which spaced it properly away from the bottom of the post text, but rendered it with zero spacing from the bottom of the viewport in the case of no comments, and pushed right up against new comments or page navigation in an unsightly manner. This value has been edited to `mv9`, to give the comments component proper breathing room from other components.
2020-02-27 17:48:15 -05:00
Matilde Park
6ae5143cf0 contacts: style fixes and empty catch for channels 2020-02-27 17:29:49 -05:00
Matilde Park
55fe08ed55 contacts: mobile pass on group detail 2020-02-27 00:25:45 -05:00
Matilde Park
6caa1d1467 contacts: add group detail view 2020-02-27 00:11:39 -05:00
Matilde Park
ad678c5799 contacts: add metadata to store, subscription 2020-02-27 00:11:23 -05:00
Matilde Park
76c66a9a2f contacts: add metadata reducer 2020-02-27 00:10:37 -05:00
Matilde Park
3fc4826da1 contacts: add mh4 to 'delete'
The delete button was flush against the margin,
which looked messy; this gives some horizontal
space while retaining the distance from
the other options.
2020-02-26 22:43:18 -05:00
matildepark
9efa2290fe
Merge pull request #2360 from urbit/mp/os1/invite-search-contacts
invite search: fuzzy search ships by nicknames, show ship nicknames
2020-02-26 18:16:05 -05:00
Matilde Park
db0fc609d8 various: dedupe invites to ships in search 2020-02-26 18:13:03 -05:00
Matilde Park
dca7f6f8a7 publish: fuzzy search contacts in invite search 2020-02-26 18:08:23 -05:00
Matilde Park
b976abdca5 contacts: fuzzy search contacts in invite search 2020-02-26 18:05:08 -05:00
Matilde Park
ab926af427 chat: invite search style fix 2020-02-26 18:04:49 -05:00
Logan
c5f1f0f7d2
Merge pull request #2356 from urbit/os1-chat-integration
apps: main backend integration between metadata and chat
2020-02-26 14:51:36 -08:00
Matilde Park
6536def638 chat: search, show contacts info in invite search 2020-02-26 17:33:22 -05:00
Logan Allen
eada785c2c chat-js + view: updated new page to work properly with group creation / selection 2020-02-26 14:21:20 -08:00
matildepark
a1b9e34290
Merge pull request #2353 from urbit/mp/os1/publish/edit
publish: add 'edit note' functionality
2020-02-26 16:29:48 -05:00
Matilde Park
41ebaad86b publish: only original author can edit notes 2020-02-26 16:10:29 -05:00
Matilde Park
6a08262b90 publish: blend stranger sigils
If a user is a member of a group, but not a contact,
blend their sigil, unstyled, into the background.
2020-02-26 01:25:08 -05:00
Matilde Park
f59b8dd494 link-fe: blend stranger sigils
If a user is a member, but not a contact, their sigil is unstyled,
blending with the background.
2020-02-26 01:20:30 -05:00
Matilde Park
69f0fff800 link-fe: fix responsive truncate for short titles
If titles were shorter, they would still take up full-width.
I used too many "flex-autos", clearly, and this commit seems to create
the desired behaviour for both title lengths.
2020-02-26 01:19:40 -05:00
Matilde Park
e6b38a1b47 publish: allow direct join from URL 2020-02-25 21:07:06 -05:00
Matilde Park
6ac641899c publish: join.js proper catch and UI transition 2020-02-25 20:51:03 -05:00
Matilde Park
30022e84cc publish: join.js style changes and button polish 2020-02-25 20:50:20 -05:00
Matilde Park
c8fe63dddc publish: catch duplicate note titles 2020-02-25 18:31:50 -05:00
Matilde Park
ec15d2dccb publish: add conditional "edit" link in note.js 2020-02-25 18:05:39 -05:00
Matilde Park
e3e63ff337 publish: inline style -> class changes 2020-02-25 17:51:36 -05:00
Matilde Park
b0e05d912e publish: add edit post component 2020-02-25 17:50:12 -05:00
Matilde Park
c3c73990df publish: remove spinner console.log 2020-02-25 17:49:56 -05:00
matildepark
1c87e329d3
Merge pull request #2345 from urbit/jy/copy
Copy changes to publish and contacts
2020-02-25 13:14:31 -05:00
Jimmy
36f53f9eea contact-card: removing border on buttons 2020-02-25 10:10:58 -08:00
Jimmy
e5be10dcc9 publish: sidebar dropdown copy change
update copy on contact

sidebarjs: sort dropdown copy change
2020-02-24 11:57:46 -08:00
~litpub
3f3a0b42e5 Firefox scroll support for chat 2020-02-24 11:40:14 -08:00
matildepark
f8dd807ae8
Merge pull request #2340 from urbit/mp/os1/soto/spinner
soto: add light/dark mode, spinner, prevent overflow
2020-02-24 13:58:39 -05:00
matildepark
96c4b30587
Merge pull request #2339 from urbit/mp/os1/publish/truncate-titles
publish: wrap or truncate title / snippet overflow
2020-02-24 13:26:13 -05:00
Logan
204ad1420d
Merge pull request #2342 from urbit/mp/os1/launch/dark
launch: dark mode
2020-02-21 19:14:30 -08:00
Logan
170003789a
Merge pull request #2316 from litpub/fixes-dom-nesting
chat: Fixes dom nesting warning on <Message>
2020-02-21 19:02:52 -08:00
Matilde Park
be19135a02 weather: add dark mode styles to tile 2020-02-21 21:58:40 -05:00
Matilde Park
fa5e8ecdab soto: add dark mode styles to tile 2020-02-21 21:58:29 -05:00
Matilde Park
ab0ad9f7d0 publish: add dark mode styles to tile 2020-02-21 21:58:22 -05:00
Matilde Park
395bec28a8 link: add dark mode styles to tile 2020-02-21 21:58:12 -05:00
Matilde Park
d75b1d3023 contacts: add dark mode styles to tile 2020-02-21 21:58:02 -05:00
Matilde Park
71ca2ec419 clock: add dark mode event listener, hex colors 2020-02-21 21:57:46 -05:00
Matilde Park
05d820fcba chat: add dark mode style to tile 2020-02-21 21:57:27 -05:00
Matilde Park
2aa49589f8 launch: add dark mode classes 2020-02-21 21:57:05 -05:00
Matilde Park
931821d2d5 publish: inputs have black border on focus 2020-02-21 20:44:01 -05:00
Matilde Park
20e58eea82 link-fe: inputs have black border on focus 2020-02-21 20:35:48 -05:00
Matilde Park
ea84da77ab contacts: inputs have black border on focus 2020-02-21 20:25:39 -05:00
Matilde Park
82fa934c37 chat: inputs have black border on focus 2020-02-21 20:21:39 -05:00
matildepark
0578abfbc0
Merge pull request #2337 from urbit/mp/os1/truncate-titles
link-fe: truncate titles properly
2020-02-21 19:57:55 -05:00
Matilde Park
79ad3fa12c soto: add spinner, fix overflow case 2020-02-21 19:52:01 -05:00
Matilde Park
08e511db87 soto: add light theme 2020-02-21 19:32:08 -05:00
Matilde Park
5b2d58bd22 publish: wrap or truncate title / snippet overflow 2020-02-21 19:03:38 -05:00
Matilde Park
382a4da4b1 chat: remove spinner.css from index.css 2020-02-21 18:42:16 -05:00
Matilde Park
657dc5b408 link-fe: truncate titles properly 2020-02-21 18:33:55 -05:00
Logan
75644a2c38
Merge pull request #2329 from urbit/mp/os1/contacts/share-with-group-redirect
contacts: redirecting share view, sigil color fix
2020-02-21 13:26:07 -08:00
Matilde Park
366c4e671a link-fe: remove header-bar from index.js 2020-02-21 15:32:02 -05:00
matildepark
910f19c21d
Merge pull request #2328 from urbit/mp/os1/link/spinner
link-fe: add spinner, behaviour
2020-02-21 09:42:35 -05:00
Matilde Park
4770d78198 contacts: pass "#" prefix to sigil colour 2020-02-20 21:39:46 -05:00
Matilde Park
61e26c8fc2 contacts: redirect from 'share' option correctly 2020-02-20 21:39:31 -05:00
matildepark
2c39e70cc0
Merge pull request #2327 from urbit/mp/os1/contacts/invite-polish
contacts: add spinner, invite-search, and blend unknown sigils
2020-02-20 21:09:03 -05:00
Matilde Park
14d2275054 link-fe: remove spinner.css from index.css 2020-02-20 20:50:39 -05:00
Matilde Park
805a7c444d contacts: remove spinner.css from index.css 2020-02-20 20:49:55 -05:00
Matilde Park
2e1ff70fb0 link-fe: add spinner, behaviour
Also refactors the header bar back into the skeleton to pass the
spinner.
2020-02-20 20:11:12 -05:00
Matilde Park
748a9059e1 contacts: use invite-search for adding contacts 2020-02-20 18:56:30 -05:00
Matilde Park
b2404d0cdc chat: add groupResults prop, fix peer set 2020-02-20 18:56:30 -05:00
Matilde Park
f2434f288c publish: add groupResults prop, fix peer set 2020-02-20 18:56:30 -05:00
Matilde Park
ca9bc45511 contacts: use invite-search for new.js 2020-02-20 18:56:25 -05:00
Matilde Park
18846d4c7c contacts: blend unknown contact sigils 2020-02-20 17:37:36 -05:00
Matilde Park
9ff2864f9c contacts: add spinner and behaviour 2020-02-20 17:19:33 -05:00
Logan
a0b9e84ae5
Merge pull request #2318 from urbit/mp/os1/chat/spinner
chat: add new spinner, behaviours
2020-02-20 13:40:45 -08:00
Logan
d203c684e7
Merge pull request #2319 from urbit/mp/os1/chat/blended-sigil
chat: blend uncustomised sigils
2020-02-20 13:38:47 -08:00
matildepark
f78f53525a
Merge pull request #2317 from urbit/mp/os1/publish-progress
publish: add spinner, transition behaviours
2020-02-20 15:05:13 -05:00
Matilde Park
a960a7778a publish: remove header-bar render from index.js 2020-02-20 14:40:43 -05:00
Matilde Park
09d2057284 chat: blend uncustomised sigils 2020-02-20 01:37:16 -05:00
Matilde Park
075de2cf3b chat: add spinner behaviours 2020-02-20 01:18:19 -05:00
Matilde Park
45af92c173 publish: sidebar and note -m, -l viewport fixes 2020-02-20 00:28:16 -05:00
Matilde Park
68f38dbf5b publish: spinner on post comment, proper disabling 2020-02-20 00:11:15 -05:00
Matilde Park
a0c06dbdf0 publish: new-post.js uses spinner 2020-02-20 00:11:00 -05:00
Matilde Park
86a0993975 publish: new.js uses spinner and disables button 2020-02-20 00:10:41 -05:00
Matilde Park
108f3d9e4a publish: move header into skeleton, add spinner 2020-02-20 00:10:18 -05:00
Matilde Park
ccde2a6a76 publish: proper sidebar height, overflow behaviour 2020-02-20 00:08:35 -05:00
~litpub
ea6d0a0502 Fixes DOM nesting error on <Message> 2020-02-19 17:49:53 -08:00
Isaac Visintainer
00a9eb9eab Merge branch 'master' into os1-rc 2020-02-19 16:04:21 -08:00
matildepark
7d4f9bc6b2
Merge pull request #2315 from urbit/mp/os1/weather/hotfix-border
weather: add border to manual entry
2020-02-19 16:41:41 -07:00
Matilde Park
9de5ee87af publish: dropdown component as sidebar sort
also adds 'align' to dropdown component as prop
2020-02-19 17:55:11 -05:00
Logan
11d8953873
Merge pull request #2310 from urbit/mp/os1/invite-search-ship
chat, publish: invite-search surfaces valid ship name as result
2020-02-19 13:48:43 -08:00
Logan
1e05f47d91
Merge branch 'os1-rc' into support-line-breaks 2020-02-19 13:48:14 -08:00
Matilde Park
c3f0743053 publish: new post has same width as other views 2020-02-19 16:24:36 -05:00
Matilde Park
eec6713338 weather: add border to manual entry 2020-02-19 15:43:05 -05:00
matildepark
76576003be
Merge pull request #2308 from urbit/mp/os1/weather/colors
weather: add blurred color gradient, changes based on weather
2020-02-19 13:05:46 -07:00
Matilde Park
1638c62406 weather: style fixes 2020-02-19 15:01:21 -05:00
Logan
820e14757a
Merge branch 'os1-rc' into la-group-create 2020-02-19 11:23:05 -08:00
Matilde Park
3d0f1ff898 weather: increase blur 2020-02-19 13:20:52 -05:00
~litpub
b96df813aa Supports translating /n into new <p> tags 2020-02-18 23:07:41 -08:00
~litpub
e687b8988b Adds autoresize functionality to chat input 2020-02-18 22:26:05 -08:00
Matilde Park
c4bba73833 publish: invite-search shows valid ship in results 2020-02-18 23:32:21 -05:00
Matilde Park
7aeb593fb4 chat: invite-search shows valid ship in results 2020-02-18 23:32:11 -05:00
Matilde Park
069df98edd weather: colors change based on weather 2020-02-18 21:22:19 -05:00
Logan Allen
688f9c33a1 chat-js: fixed group creation 2020-02-18 18:05:12 -08:00
Fang
199f7e6279
link fe: ensure items remain sorted by timestamp
So that they're always displayed in post-order, and our index of them
stays consistent with the data on the backend.
2020-02-18 16:31:47 +01:00
Logan
bf789b987c
Merge pull request #2297 from pkova/os1-rc
chat: fix station string format
2020-02-16 19:28:10 -08:00
pkova
b850fc0a0d chat: fix station string format 2020-02-16 14:21:33 +02:00
Matilde Park
bf87ee3daf link: correct unread color class 2020-02-15 16:42:43 -07:00
ixv
d49987bcc7
Merge pull request #2286 from urbit/ixv/publish-members-settings
OS1: added members and settings page to publish
2020-02-14 14:34:43 -08:00
Isaac Visintainer
ac620baadb dont send invite on unban
split dropdown component out from api actions in subscribers
2020-02-14 13:55:55 -08:00
Logan
c71bc22bbc
Merge pull request #2221 from pkova/chat-bugfix
chat: fix double message bug
2020-02-14 11:03:53 -08:00
Logan
9410b3ad1e
Merge pull request #2292 from urbit/mp/os1/contacts/notes-design-updates
contacts: resizable "notes" field, sidebar scroll tweak, os1 nav buttons
2020-02-14 10:58:38 -08:00
Fang
5d01b4750b
Merge pull request #2289 from urbit/m/link-tile
link: properly support the launch tile
2020-02-14 12:50:26 +01:00
Matilde Park
0cb03b0461 contacts: sidebar scrollbar automatic, os1 buttons 2020-02-14 00:29:03 -07:00
Fang
c86b1c9944
link fe: render unseen count in the launch tile 2020-02-14 02:03:19 +01:00
Isaac Visintainer
56807dd52f added members and settings page 2020-02-13 14:00:55 -08:00
Logan Allen
a9231fd5f9 chat-js: one line fix to create chat screen to enable managed group creation 2020-02-13 13:11:22 -08:00
Matilde Park
ced119271f contacts: add resizable "notes" field 2020-02-13 12:27:27 -07:00
Logan
f316d0f118
Merge pull request #2282 from urbit/fix-remove
contacts: improve remove from group experience in UI and terminal log
2020-02-13 11:08:12 -08:00
Matilde Park
914d312f06 publish: refine "all notebooks" on mobile 2020-02-12 20:59:49 -05:00
Matilde Park
231ead27df publish: add mobile back nav to notebook.js 2020-02-12 20:57:48 -05:00
Matilde Park
60c496ccf8 publish: sidebar switch + popout to note.js 2020-02-12 20:50:58 -05:00
Matilde Park
778ba9849d publish: sidebar switch + popout to notebook.js 2020-02-12 20:17:13 -05:00
Matilde Park
213ab1e0a9 publish: add popout/sidebar switch to new-post.js 2020-02-12 19:51:27 -05:00
Matilde Park
0075668065 publish: remove scrolling overflow from skeleton 2020-02-12 19:51:06 -05:00
Matilde Park
6c6e33f5a7 publish: add sidebar switcher and popout logic
The scaffold and reducer work thus far had some bugs and shims. This commit
adds the parameters, API calls and fixes the reducers for the two
features.
2020-02-12 19:08:13 -05:00
Logan
b1b141faa8
Merge pull request #2281 from urbit/m/link-fe-uxtohex
link fe: make uxToHex more safe
2020-02-12 14:57:50 -08:00
Logan Allen
ef8aa94171 contact-js: change text to 'delete group' when removing yourself as a member when you own the group 2020-02-12 14:33:07 -08:00
Logan Allen
fb0ef50f43 contacts-js: fix case where default contact can be removed 2020-02-12 14:09:04 -08:00
matildepark
a6133e44b2
Merge pull request #2278 from urbit/mp/os1/publish-comments-contact
publish: add nicknames and sigils to interface
2020-02-12 15:34:34 -05:00
Fang
a675e5442b
link fe: make uxToHex more safe
Matching implementation from contacts' lib/util.js.
2020-02-12 21:03:04 +01:00
Matilde Park
e59b783337 publish: add nicknames and sigils to interface 2020-02-11 17:49:35 -05:00
Logan
33f7d62186
Merge pull request #2273 from urbit/mp/os1/weather-error
weather: concise error, input layout placement
2020-02-11 13:13:43 -08:00
Logan
0ec32f0606
Merge pull request #2270 from urbit/mp/os1/contact-design-tweaking
contacts: design tweaks for share sheet
2020-02-11 13:11:48 -08:00
Jimmy
e10b6784ae chat-js: slightly cleaner sig string 2020-02-11 13:09:03 -08:00
Jimmy
8b8472f231 removing console log 2020-02-11 13:06:42 -08:00
Jimmy
a5301251c3 patp name now has sigil, and nickname now renders inter 2020-02-11 13:06:42 -08:00
Logan
5bb0f5d59f
Merge pull request #2277 from urbit/chat-os1-fixes
chat-js: fix ui regression for new and join (always create /~/ groups)
2020-02-11 13:04:36 -08:00
Logan Allen
ebab101213 chat-js: fix ui regression for new and join (always create /~/ groups) 2020-02-11 12:59:10 -08:00
matildepark
ffff42d371
Merge pull request #2274 from urbit/m/link-fe-previews
link fe: properly downscale wide images to fit screen
2020-02-11 15:49:55 -05:00
Logan
d5c94a4421
Merge pull request #2265 from urbit/chat-disable-name-on-group
chat-js: on selecting a group from search, set id of chat to that nam…
2020-02-11 11:17:13 -08:00
Fang
4d78808075
link fe: properly downscale wide images to fit screen
We no longer downscale to 500px wide, but rather however wide fits
within the container, and doesn't exceed 500px in height.
2020-02-11 19:17:07 +01:00
Matilde Park
5c06d1b464 weather: concise error, input layout placement
This lines up the input with the "Set location" button,
and makes the latitude/longitude setting error
more concise, in order to fit within the tile without overflow.

This commit also removes some Tachyons-specific CSS classes.
2020-02-11 13:05:52 -05:00
Fang
9a29e72560
link fe: prefix ship names in comments with sig 2020-02-11 17:41:32 +01:00
Fang
8d7d1af3aa
link fe: rename members -> contacts and refactor
Renames the somewhat ambiguous "members" property into "contacts", to
more clearly indicate the source/nature of the data within. (Avoid
confusion with "members of a group", which is contained in groups
instead.)

Also refactors the retrieving of appropriately-defaulted contact values
into a utility function.
2020-02-11 17:39:03 +01:00
Fang
e801316368
link fe: display correct member counts
We were passing in a contacts object, which may not always contain all
group members. We now pass in a groups object (set of ships) instead,
and derive contributor count from that.
2020-02-11 17:17:33 +01:00
Fang
94feb5bf2e
link fe: ensure item and page counts
Getting updates for things we hadn't gotten initial data on would leave
us without any counters. This defaults them to zero, if we don't have
any yet.
2020-02-11 16:50:42 +01:00
Fang
5caf5fa00d
link fe: display unread counts for public channels
Was previously only displaying for the private channel.
2020-02-11 16:47:00 +01:00
Matilde Park
415553f13a contacts: comment out invert class 2020-02-10 21:18:57 -05:00
Matilde Park
5312638a90 contacts: amend share sheet font / padding 2020-02-10 21:17:56 -05:00
Logan Allen
2cae31783e chat-js: on selecting a group from search, set id of chat to that name and disable form 2020-02-10 16:24:05 -08:00
Isaac Visintainer
b59eb4e8ee make sure notes page has access to subscribers/writers path 2020-02-10 15:57:45 -08:00
Matilde Park
33c825b131 publish: hide overflow in sidebar 2020-02-10 17:25:28 -05:00
Fang
5eab689d0a
Merge pull request #2259 from urbit/m/link-unreader
link: unread counters in sidebar
2020-02-10 20:53:07 +01:00
Fang
9c9b1fcaec
link fe: display unseen link counts in sidebar 2020-02-10 20:52:47 +01:00
Logan Allen
c38641c182 chat: gray out and disable the security toggle when create group is selected 2020-02-07 17:27:01 -08:00
Logan
86893ab645
Merge pull request #2253 from urbit/chat-auto-add
chat: auto-invite on addition to group
2020-02-07 16:18:36 -08:00
Logan Allen
3e94033196 chat: auto-invite on addition to group 2020-02-07 15:52:55 -08:00
ixv
fbe9882888
Merge pull request #2252 from urbit/ixv/publish-multiple-fixes
OS1: publish, multiple fixes
2020-02-07 15:23:14 -08:00
Fang
789d9719a4
Merge pull request #2246 from urbit/mp/os1/link-previews
links: link previews for images and youtube
2020-02-08 00:22:35 +01:00
Fang
7a5b79b020
link fe: ensure we don't visually truncate titles 2020-02-08 00:21:49 +01:00
Fang
8fee37be56
link fe: indicate unseen status on links 2020-02-07 23:11:13 +01:00
Isaac Visintainer
769075e5d5 make comment box clear on submit, and disable submit button when textbox is empty 2020-02-07 14:06:19 -08:00
Isaac Visintainer
aa61831d5a added create group toggle to new notebook page 2020-02-07 14:06:19 -08:00
Isaac Visintainer
7a64615cf7 added new post button for all members of the notebook writers group 2020-02-07 14:06:19 -08:00
Fang
475bbe0d39
link fe: make image previews clickable 2020-02-07 22:57:41 +01:00
Fang
0abbac2457
link fe: fix image preview sizing
Image should retain its own width if it's smaller than the bound, but
not go beyond them.

Height bounding wasn't being inherited properly through the "100%", so
we're moving the max-height into the embed itself instead.
(Making its container div always contain it rather than overflow also
prevents bleeding the preview down the page in case of sizing error.)
2020-02-07 22:30:13 +01:00
Fang
fec2f51273
link fe: pass time into detail head instead of all data 2020-02-07 22:16:08 +01:00
Matilde Park
f4faef2b6c link: link previews for images and youtube 2020-02-06 20:48:30 -05:00
Matilde Park
112326a939 link: front matter to preview component, imgs 2020-02-06 20:35:47 -05:00
pkova
e090b6b8b8 chat: fix double message bug 2020-02-07 03:01:19 +02:00
Matilde Park
83a7e45e74 link: add "groupPath" to link-submit.js 2020-02-06 19:42:26 -05:00
matildepark
140e1b4d9d
Merge pull request #2243 from urbit/la-chat-sig-path
chat + contacts: finished integration for managed groups
2020-02-06 19:29:18 -05:00
matildepark
6f65a65d85
Merge pull request #2244 from urbit/m/link-fe-path
link fe: use base64url
2020-02-06 19:20:02 -05:00
Fang
5443a3ec7b
link fe: be consistent about groupPath (vs path)
Prefer "groupPath" name over just "path" consistently to avoid
ambiguity.
2020-02-07 01:07:36 +01:00
Logan Allen
ea93dd3af8 chat + contacts: finished integration for managed groups
Specifically, this commit removes the add action from the contact-view
and replaces it with a listener within contact-hook for additions
to groups. This means that when a ship is added to a group that the
contact-hook is watching, the ship is automatically sent an invite to
join that "managed group" from the contacts application. This also
includes the UI integration work on the management screen and settings
screen for working with the new group / permission structure.
2020-02-06 16:02:45 -08:00
Fang
e5337c99c7
link fe: use base64url for encoding URLs
base64 is not actually url-safe, since it includes / (and +). This
includes a simple hand-rolled base64url implementation, and uses that
instead.
2020-02-07 00:18:52 +01:00
Fang
b0759ad8bc
link fe: move @ta encoding into lib 2020-02-07 00:14:54 +01:00
Isaac Visintainer
93b9c6d5d9 added invites to sidebar in publish 2020-02-06 14:31:51 -08:00
Fang
1490e415c4
Merge branch 'os1-rc' into m/link-fe 2020-02-06 21:38:11 +01:00
Fang
ea70307f29
link fe: copy in contact-update reducer 2020-02-06 21:33:18 +01:00
Fang
f6bbd98200
link fe: make popout links match new route path style
These really should be made based on the current route path instead of
manually reconstructed, but that's slightly less trivial.
2020-02-06 21:22:16 +01:00
Isaac Visintainer
45b82e04f0 updated notebook creation logic to be in line with groups/contacts
added invite reducer
fixed page transition on new notebook creation
2020-02-06 11:42:48 -08:00
Matilde Park
ccdb4b0259 publish: new.js, contact-view + group-store 2020-02-06 11:42:46 -08:00
Fang
06a33929b4
link fe: consistently use "linkIndex"
As opposed to sometimes using just "link", when referring to literal
index numbers.
2020-02-06 20:38:53 +01:00
Fang
e6fc59f3df
link fe: ensure LinkDetails always uses sane timestamp 2020-02-06 20:37:52 +01:00
Logan Allen
69fbf7f13f Merge branch 'mp/os1/publish-sidebar' into os1-rc 2020-02-06 11:37:50 -08:00
Logan
31e9505c76
Merge pull request #2238 from urbit/mp/os1/launch
launch: os1 home screen
2020-02-06 11:26:43 -08:00
Logan
757354db16
Merge pull request #2230 from urbit/contacts-group-validate
Validate group names
2020-02-06 11:25:11 -08:00
Fang
d9f0d44e0c
link fe: make check less confusing
The only thing we care about is whether or not we have (any & all) data
about the submission. Using URL here is confusing because it conflates
with the prop, and checking the prop in the first place always gives the
same result.
2020-02-06 20:15:22 +01:00
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
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
Fang
3bbff696b5
link frontend: fix loading into submission page 2020-02-05 21:17:47 +01:00
Matilde Park
bb7061b591 chat: filter empty groups from peer search 2020-02-05 13:52:01 -05: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
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
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
Logan
f4b3dc501f
Merge pull request #2226 from urbit/mp/os1/chat-create-new
chat: add create group toggle to new.js
2020-02-04 15:18:11 -08:00
A Arroyo
737887bb8f removed image upload button 2020-02-04 15:14:17 -08:00
A Arroyo
edab2a5d26 Revert "removed image upload button"
Accidentally pushed to os1-rc, mea culpa

This reverts commit 4e578ae788.
2020-02-04 15:13:14 -08:00
A Arroyo
4e578ae788 removed image upload button 2020-02-04 15:11:23 -08:00
ixv
05480fa2e5
Merge pull request #2227 from urbit/ixv/publish-group-paths
publish group paths
2020-02-04 13:50:25 -08:00
Isaac Visintainer
63bea15f58 fixed wrong name for ship 2020-02-04 12:59:49 -08:00
Matilde Park
df30a777a8 chat: add create group toggle to new.js 2020-02-04 14:06:54 -05:00