Commit Graph

811 Commits

Author SHA1 Message Date
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
Anthony Arroyo
2733e10311
Merge pull request #2223 from urbit/publish-join-screen
basic join screen
2020-02-04 10:16:23 -08:00
A Arroyo
af1573725f don't allow spurious newline in input 2020-02-04 10:15:22 -08:00
A Arroyo
670563d1a0 include notebooks in sidebar 2020-02-03 17:28:13 -08:00
A Arroyo
5912ba0c0c improve validation 2020-02-03 17:27:53 -08:00
Logan
41d5b28195
Merge pull request #2224 from urbit/mp/os1/links-new-comment-bug
links: fix comments reducer to post new comment locally
2020-02-03 16:58:17 -08:00
Logan
90d6fa4727
Merge pull request #2225 from urbit/ga/clock
Ga/clock
2020-02-03 16:55:53 -08:00
Gavin Atkinson
f648f57605 cleanup 2020-02-03 16:48:54 -08:00
Gavin Atkinson
728ef7fc16 clock 2020-02-03 16:48:54 -08:00
Logan
a90fc46fb1
Merge branch 'os1-rc' into mp/os1/chat-new-component 2020-02-03 16:44:40 -08:00
Matilde Park
fb9c775649 links: amend reducer to add new comments locally 2020-02-03 17:52:39 -05:00
Matilde Park
a158e1c651 chat: refactor invite search component functions 2020-02-03 17:24:42 -05:00
A Arroyo
e3af0bcde9 basic join screen 2020-02-03 13:11:49 -08:00
Isaac Visintainer
fd300aa025 made fetching more robust on notebook page
added infinite scroll and fetching to note page
2020-02-01 12:54:37 -08:00
Isaac Visintainer
919db6a3be pass snippet and about field from backend
wire up routing for notebook page
add infinite scroll and note fetching logic to notebook page
2020-01-31 15:04:24 -08:00
Jimmy
fe44b25f92 about and settings page 2020-01-31 15:04:24 -08:00
Jimmy
5b1999347a subscribers style 2020-01-31 15:04:24 -08:00
Jimmy
a345395951 notebook-item styling on notebook-list 2020-01-31 15:04:24 -08:00
Isaac Visintainer
06cdbb68b9 initial work on posts page 2020-01-31 15:04:10 -08:00
ixv
3a1a23e3d8
Merge pull request #2202 from urbit/post-view
Publish Post View
2020-01-31 14:38:41 -08:00
Logan
b9ebb97ad1
Merge pull request #2216 from urbit/mp/os1/contacts-chrome
contacts: add os1 chrome
2020-01-31 13:23:32 -08:00
Matilde Park
761d71cfee chat: add group and peer search, new.js rework 2020-01-31 01:34:53 -05:00
Matilde Park
be448ec54c contacts: add os1 chrome 2020-01-30 20:13:07 -05:00
Logan Allen
61709260a8 chat-js: added contacts metadata to chat 2020-01-30 13:37:52 -08:00
Jimmy
2be41fc3fe url and note nav logic 2020-01-29 17:35:35 -08:00
Logan
a9434743a0
Merge pull request #2201 from urbit/mp/os1/soto-chrome
soto: os1 updates
2020-01-29 16:50:33 -08:00
Logan
c23146dd14
Merge pull request #2210 from urbit/contact-delete-os1
Contact delete os1
2020-01-29 16:49:22 -08:00
Matilde Park
9a67d24d11 soto: style fix
Refactoring long class string.
2020-01-29 19:48:58 -05:00
Logan Allen
1279019cdd contacts: delete groups/contacts properly and mirror to foreign 2020-01-29 16:48:58 -08:00
Logan
8055ff5472
Merge pull request #2205 from urbit/mp/os1/chat-chrome
chat: os1 chrome and styling updates
2020-01-29 16:46:11 -08:00
Matilde Park
15bc1da3ba chat: style fix -- collapse ternary operators 2020-01-29 19:34:37 -05:00
Jimmy
4521ba0895 adding comment functionality and post date,author,and title 2020-01-29 16:31:31 -08:00
Jimmy
9e7ff7d68d moving comment box into comments.js and user comment into comment-item.js 2020-01-29 16:30:47 -08:00
Jimmy
f2c839986a adding comments 2020-01-29 16:30:47 -08:00
Jimmy
a6d7550f1b fixed overflow in skeleton.js 2020-01-29 16:30:47 -08:00
Jimmy
3f67d4f0a7 add comment box 2020-01-29 16:30:47 -08:00
Jimmy
65b65d75f3 basic style and layout of post view, missing comments 2020-01-29 16:30:47 -08:00
Jimmy
70fcbf9e70 creating scaffold of post view 2020-01-29 16:30:46 -08:00
Isaac Visintainer
12730ad0e7 adds publish new post page 2020-01-29 11:50:59 -08:00
Logan Allen
77f702b38c contacts: working on remove from group behavior 2020-01-29 10:42:33 -08:00
Matilde Park
9eca995eeb chat: add os1 styles, window borders 2020-01-28 22:58:06 -05:00
Matilde Park
82462c9007 soto: add os1 chrome and styles, popout 2020-01-28 17:11:06 -05:00
Jared Tobin
87581ba5f8
Merge branch 'bug/image-border' (#2188)
* origin/bug/image-border:
  chat: remove black border on images

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:40:08 +04:00
Matilde Park
0ef3d9f7fa chat: smoothen dark theme
Lowers contrast in dark theme; raises the opacity of images in chat.

In general, creates a smoother dark variant of our default Chat look.
2020-01-27 20:33:15 -05:00
Matilde Park
e7035ebc4c publish: add ship, notebook params, update routes 2020-01-27 19:32:57 -05:00
Matilde Park
45f9adc10c Merge branch 'publish-remix-fe-encore' into os1-rc 2020-01-27 16:24:21 -05:00
Matilde Park
389def3479 chat: [embed] link doesn't break word on mobile
It's a UI, not a word -- it should be treated like a button.

This commit preserves it as its own block and pushes it
to the next line when it's overflowing.
2020-01-27 14:16:38 -05:00
Matilde Park
35aab5c8ab chat: youtube embeds responsively expand
The declaration was being stomped out in all viewports because
it wasn't being declared in the initial element.

This adds the XL's padding-bottom to the element's declarations, which
scales it accordingly.
2020-01-27 14:09:18 -05:00
Jimmy
f49aa3b053 chat: remove black border on images 2020-01-27 11:08:26 -08:00
Matilde Park
3d901df3be chat: links use white border in dark mode 2020-01-27 14:07:04 -05:00
Matilde Park
cbbbc65acb chat: sidebar switcher retains with on -m
Sidebar switcher was squishing and losing aspect ratio on medium viewport.
It now retains its proper size.
2020-01-27 13:48:01 -05:00
Matilde Park
6630357873 publish: add new-post scaffold + todo 2020-01-27 12:26:47 -05:00
Matilde Park
f0c4a63f99 publish: add scaffolding for all expected components with todos 2020-01-27 12:26:47 -05:00
Matilde Park
df5d6c76d1 publish: pass active prop to sidebar 2020-01-27 12:26:47 -05:00
Matilde Park
02d2378796 publish: sidebar hides mobile-specific header 2020-01-27 12:26:47 -05:00
Matilde Park
0d732e4092 publish: initial fe scaffold 2020-01-27 12:26:47 -05:00
Jared Tobin
cc12ff835e
Merge branch 'pkova/master' (#2178)
* pkova/master:
  chat: fix wrong font-size on certain pre-elements

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:13:23 +04:00
A Arroyo
757b4ffcbe merged links fe into os-rc 2020-01-24 16:21:25 -08:00
Logan Allen
bb4acfc1e8 contacts: color edits transmit properly 2020-01-23 13:15:17 -08:00
Logan Allen
aac3bd9678 contacts: adding yourself to group works 2020-01-23 13:15:17 -08:00
Logan Allen
8de18e4d4c contact hook / group hook is hooked up to ui 2020-01-23 13:15:17 -08:00
Logan Allen
0db2663587 contacts: add member interface works 2020-01-23 13:14:44 -08:00
Logan Allen
8b03fd90c6 Share sheet renders properly in group 2020-01-23 13:14:44 -08:00
Logan Allen
78b829186d display entities in groups even when they haven't shared contact yet 2020-01-23 13:14:44 -08:00
Logan Allen
de7cd1389d style fixes, relative to absolute paths, renames, additional contact view features 2020-01-23 13:14:44 -08:00
Logan Allen
41c05dac6e contact-js: code styling and defensiveness 2020-01-23 13:13:53 -08:00
Logan Allen
ed0ddfb97e contact card: code style 2020-01-23 13:13:52 -08:00
Matilde Park
9ea67c20c9 card display, edit (all fields) 2020-01-23 13:13:52 -08:00
Matilde Park
a10ac18e67 clean up some leftover TODO comments 2020-01-23 13:13:52 -08:00
Matilde Park
b57fdccd23 add nickname editing, display, remove contact ... 2020-01-23 13:13:52 -08:00
Matilde Park
ec33a4a4f8 edit your sigil color now functional 2020-01-23 13:13:52 -08:00
Matilde Park
b5e9162657 add TODO markers for next-up features 2020-01-23 13:13:52 -08:00
Matilde Park
8ec9031be3 add / edit card.js toggle 2020-01-23 13:13:52 -08:00
Matilde Park
9e4a192fa5 responsive additions 2020-01-23 13:13:52 -08:00
Matilde Park
ce62533a11 add contact to group functionality 2020-01-23 13:13:52 -08:00
Matilde Park
761ea7cc9c create group functionality 2020-01-23 13:13:52 -08:00
Matilde Park
c8020691f8 beginning of contact card 2020-01-23 13:13:51 -08:00
Matilde Park
1faf3828e3 high contrast, don't return null as class 2020-01-23 13:13:51 -08:00
Matilde Park
aadeab65b4 responsive contacts drawer 2020-01-23 13:13:51 -08:00
Matilde Park
27201cc2f4 add contact list for group, member count 2020-01-23 13:13:51 -08:00
Matilde Park
c59f222443 basic responsive drawer stuff 2020-01-23 13:13:51 -08:00
Matilde Park
92e1970651 /me, /group views, render sigil, render root ident 2020-01-23 13:13:51 -08:00
Matilde Park
c17bec49af prepping contact add 2020-01-23 13:13:51 -08:00
Logan Allen
ed481d89a5 contacts: end to end tested apis with working reducers 2020-01-23 13:13:51 -08:00
Matilde Park
082a44a7f8 iterate all groups with relative links 2020-01-23 13:13:51 -08:00
Matilde Park
74c17a3851 passing props, scrolling long layouts
(figuring out data manipulation)
2020-01-23 13:13:50 -08:00
Logan Allen
924d9996ab finished hooking up initial data setup to contacts store and view to front-end. still need to do updates and reducer 2020-01-23 13:13:50 -08:00
Matilde Park
df4c07d67e new.js -> padding and search icon 2020-01-23 13:12:27 -08:00
Matilde Park
1ea0e59e64 root -> new navigation 2020-01-23 13:12:27 -08:00
Matilde Park
23858fc6d7 mannequin newScreen entry fields 2020-01-23 13:12:26 -08:00
Matilde Park
99a73e981c newscreen scaffold 2020-01-23 13:12:26 -08:00
Matilde Park
462b14bf58 subscribe to contact-store, fill groups headers 2020-01-23 13:12:26 -08:00
Matilde Park
2aefc02112 checkpoint (removing chat api calls, adding contacts) 2020-01-23 13:12:26 -08:00
Matilde Park
cc50ca3668 left panel, responsively 2020-01-23 13:12:26 -08:00
Matilde Park
8de846c60d removing chat cruft, adding header + libs 2020-01-23 13:12:26 -08:00
Matilde Park
1299e26940 tachyons -> indigo-static 2020-01-23 13:12:26 -08:00
Matilde Park
7dfe151f15 contacts: tile graphic, fixing mount point 2020-01-23 13:12:26 -08:00
Logan Allen
47c1745074 contacts: added store, view, marks, ui 2020-01-23 13:12:26 -08:00
Matilde Park
22f1a52e08 link: amend "channels" copy on landing
It should be "collections," as per OS1 discussions.
2020-01-22 22:20:14 -05:00
Matilde Park
d3f57fbf9d interface: add links FE source code 2020-01-22 18:16:44 -05:00
Jared Tobin
267081424b
Merge branch 'yt-preview' (#2055)
* origin/yt-preview:
  chat: add expandable youtube embed messages

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 15:14:37 +04:00