Commit Graph

145 Commits

Author SHA1 Message Date
Matilde Park
99875b2f45 various: set sigil foreground based on contrast 2020-04-17 19:27:37 -04:00
Liam Fitzgerald
536e3121b6 link-js: fix pages disappearing on small screens
The rightPanelHide prop was being improperly set on the home, settings
and members screens, causing them to be blank on small screen sizes

Fixes #2727
2020-04-15 14:27:29 +10:00
Liam Fitzgerald
e5634a913d invite-search: always add search query if valid patp 2020-04-11 10:17:49 +10:00
Liam Fitzgerald
e7887b34c3 invite-search: handle suggestions for short searches
Triggers invitee suggestions after one character of input. To
compensate for the potential explosion of suggestions, we
tighten our group searching criteria and truncate the
ship suggestions on short searches. Also addresses a bug where names of
groups were not being downcased before search.

Fixes #2635
2020-04-10 19:57:50 +10:00
ixv
a41096153d
Merge pull request #2694 from liam-fitzgerald/lf/invite-search-arrow-keys
invite-search: allow keyboard nav + selection
2020-04-09 15:52:36 -07:00
ixv
77933e992a
Merge pull request #2693 from urbit/mp/re-alphabetise
various: alphabetise associations accesses the object
2020-04-09 15:52:18 -07:00
ixv
43484d613c
Merge pull request #2683 from urbit/mp/invite-search/associations
invite search: populate group index from contacts
2020-04-09 15:37:56 -07:00
ixv
8d32d49daf
Merge pull request #2668 from urbit/mp/link/dib-ing
link: line up link info on same line height
2020-04-09 15:37:38 -07:00
Liam Fitzgerald
3801056d3c invite-search: allow keyboard nav + selection
Allows the user to navigate potential invitees with the arrow keys and
with shift+tab and tab. Enter adds the currently selected invitee.
2020-04-09 08:03:21 +10:00
Matilde Park
839f9090bb various: alphabetise associations accesses obj
Previously we were checking for a title for the association by accessing
a non-existent property of the key we were using to iterate through
the object. What we want to do is access the iterated object to find
that title, and so this commit does that.
2020-04-07 17:35:02 -04:00
Fang
e9233b1a50
link fe: fix "mark all as read" button
This wasn't bound, nor calling, correctly.
2020-04-07 20:45:27 +02:00
Matilde Park
00ed295d48 invite search: populate group index from contacts 2020-04-06 19:45:40 -04:00
Matilde Park
e2cc01445b link: line up link info on same line height 2020-04-02 23:09:10 -04:00
Matilde Park
e358c1dbfb Merge branch 'master' into mp/invites-to-group-filter 2020-04-02 18:25:59 -04:00
Matilde Park
e51bd46224 link: fix meta key propagation for comment posting 2020-04-02 18:20:15 -04:00
Matilde Park
1bc973c520 link: reimplement spinner as component 2020-04-02 18:18:10 -04:00
Matilde Park
ef69ad6853 link: fix api call to change description
When changing description, some pre-metadata refactors were resulting in
permanently broken calls to the API. This accesses our resource object
correctly.
2020-04-02 18:17:12 -04:00
Matilde Park
6e0a29b79d links: move 'mark all as seen' to settings 2020-04-02 18:17:11 -04:00
Matilde Park
93587dd84d links: show pending comments 2020-04-02 18:17:11 -04:00
Matilde Park
c91ec10e78 link: fix skeleton border css class 2020-04-02 16:46:21 -04:00
Matilde Park
06cf5a0ce6 group filter: enumerate and show invites correctly 2020-04-02 16:36:50 -04:00
Matilde Park
8a43f7fc44 link: pass "/contacts" to group-filter 2020-04-02 16:36:50 -04:00
Matilde Park
65f8991ac8 invite search: avoid crashing with no associations
By using an array, not a set, we stop deduplicating our group index,
pushing redundant information instead. When searching, this prevents a
component fail state where it cannot search a non-existent index for
matches.
2020-04-02 14:50:29 -04:00
ixv
75922dd017
Merge pull request #2654 from urbit/mp/ctrl-enter
link, publish: submit comment on ctrl+enter
2020-04-02 07:34:47 -07:00
ixv
d61c2831e8
Merge pull request #2637 from urbit/mp/new-ui-dark-header
os1: add dark mode style for app name in headers
2020-04-02 07:25:35 -07:00
Matilde Park
8bafdea10c links: submit comment on ctrl+enter 2020-04-01 22:36:11 -04:00
Matilde Park
922318e072 os1: skeleton uses b--gray4, not b--gray2 2020-04-01 12:06:36 -04:00
Matilde Park
0c87c2c186 link, publish: fix sidebar for multi-item groups
A syntax typo led the array for nested notebooks to not have paths
pushed into it. Only the last item in the group would be pushed into the
array. This commit fixes that typo.
2020-04-01 00:53:49 -04:00
Matilde Park
bfeb481b80 os1: add dark mode style for app name in headers 2020-03-31 22:01:08 -04:00
ixv
e76fe83ea1
Merge pull request #2615 from urbit/mp/grouping-take-2
os1: reintegrating groups into all Landscape applications
2020-03-31 15:17:57 -07:00
édouard
9851b58d1c os1: numerous cross-module padding changes
Across every OS1 module (including the launch/home screen context) I edited some padding/margin/sizing for navigational elements for consistency across paging.
2020-03-31 17:18:09 -04:00
Liam Fitzgerald
81efbd1357 various: bump urbit-ob version
The new version of urbit-ob includes stricter isValidPatp checks.

Fixes #2556
2020-04-01 03:32:57 +10:00
Matilde Park
57d3f5327d os1: store.selected -> store.selectedGroups 2020-03-30 16:45:34 -04:00
matildepark
2f3d681975
launch, link: apply @Fang- suggestions to #2615 review
Co-Authored-By: Fang <git@fang.io>
2020-03-30 15:50:16 -04:00
Matilde Park
9cb90405c1 link: incorporate group filter component 2020-03-27 14:57:25 -04:00
Matilde Park
744dc47be9 link: sidebar redesign with grouped collections 2020-03-27 12:45:51 -04:00
ixv
755fbb7d14
Merge pull request #2583 from urbit/mp/os1/welcome
os1: add startup content
2020-03-25 16:26:01 -07:00
Fang
f39cdbb26f
link fe: split remove & delete logic
Deletion retains its old behavior: can only be done by group owner, and
propagates.

Removing can now always be done by anyone, and works using
link-listen-hook: removing the collections from the set of ones we're
interested in, no longer syncing or showing up in the sidebar.
2020-03-25 22:48:59 +01:00
Fang
e028d6eacf
link fe: base sidebar on link-listen-hook
Instead of on associations, which may contain collections we're no
longer interested in.
2020-03-25 22:47:05 +01:00
Matilde Park
19ee376aa9 links: prevent duplicate link submissions
Adds a disabled check during link submission to prevent duplicates.

Also fixes an unmarked bug where 'linkValid' was not being reset to
false on submission, allowing for submitting blank links after one
correct link has been submitted.
2020-03-24 20:00:10 -04:00
Matilde Park
cdc4fb5da0 various: graphic tweaks to welcome as per design 2020-03-24 19:27:34 -04:00
Matilde Park
4c26419ff2 various: post-review adjustments for #2583
This commit introduces some refactoring of localStorage logic, copy
changes and a rearrangement of the launch welcome message to the top
of the screen.
2020-03-24 15:34:40 -04:00
Matilde Park
d68b2e44d8 links: add startup content 2020-03-20 17:08:59 -04:00
Matilde Park
7f8fcbe528 link: adjust sigil size to 38 2020-03-19 17:48:38 -04:00
Fang
23e3399c05
Merge pull request #2543 from urbit/mp/link/contrib-count
link: restore contributor counts in sidebar
2020-03-19 13:59:27 +01:00
Fang
cc1c28fdec
frontend: apply ec6c2ed69 to link, publish, groups 2020-03-19 00:00:02 +01:00
Matilde Park
73379df54b link: restore contributor counts in sidebar
During the metadata restructure I didn't adjust
this property pass and it passed through an
empty "group" prop and processed it as 0.
2020-03-18 14:20:27 -04:00
Fang
1fe7ef8617
Merge pull request #2529 from urbit/mp/link/soundcloud
links: add soundcloud embeds
2020-03-17 18:28:45 +01:00
Matilde Park
9ee62d2e0d links: check for soundcloud url on mount 2020-03-17 12:43:31 -04:00
Matilde Park
116bfac640 links: add soundcloud embeds 2020-03-16 21:25:15 -04:00