Commit Graph

201 Commits

Author SHA1 Message Date
Matilde Park
48c9bdc702 publish: componentise spinner as part of layout
This commit pulls the spinner out of the header bar -- and
reincorporates it as a component that hooks into local state when
awaiting a new prop, or disabling an input.
2020-04-02 18:17:11 -04:00
Matilde Park
a21294f02e publish: atomically refresh our settings inputs
Before, when we got new props for the metadata of the notebook, all the
fields would flash blank or to previous inputs. This rewrites the
update function to be more atomic with how it edits state,
which seems to correct the behaviour to avoid blank fields and disable fields
correctly.
2020-04-02 18:17:11 -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
ixv
42f9fa4f8b
Merge pull request #2642 from urbit/mp/new-borders
os1: skeleton uses b--gray4, not b--gray2
2020-04-02 07:17:50 -07:00
Matilde Park
7a796549bd publish: submit comment on ctrl+enter 2020-04-01 22:33:56 -04:00
Logan
0ce28806a9
Merge branch 'master' into matilde/interface-prod 2020-04-01 22:24:33 -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
ixv
e5c06f2549
Merge pull request #2632 from liam-fitzgerald/lf/patp-validate
various: bump urbit-ob version
2020-03-31 14:18:10 -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
34528ff3d8 publish: dark mode syntax css 2020-03-30 18:31:58 -04:00
Matilde Park
57d3f5327d os1: store.selected -> store.selectedGroups 2020-03-30 16:45:34 -04:00
Matilde Park
1c45d4c46c publish: handle 'no notebooks' case 2020-03-27 16:44:15 -04:00
Matilde Park
21c989fee1 publish: incorporate group filter component 2020-03-27 15:09:27 -04:00
Matilde Park
e7a29dc628 publish: sidebar redesign with grouped notebooks 2020-03-27 12:45:49 -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
ixv
024b0717e0
Merge pull request #2601 from urbit/mp/publish/delete-note
publish: delete notes
2020-03-25 09:52:32 -07:00
Matilde Park
d2ac232a20 publish: pending comments use our ship, not owner 2020-03-24 21:20:35 -04:00
Matilde Park
cdc4fb5da0 various: graphic tweaks to welcome as per design 2020-03-24 19:27:34 -04:00
Matilde Park
fe341d7d8e publish: line up mobile navigation for 'all books'
This mobile navigation was being padded into the middle to fit the
layout; this just excludes it from that inner layout.
2020-03-24 18:39:34 -04:00
Matilde Park
a474d134c3 publish: add delete note front-end for note author 2020-03-24 18:36:43 -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
c1ed7a4841 publish: links open in _blank targets 2020-03-23 21:26:43 -04:00
Matilde Park
4395b130dd publish: add flex-auto to skeleton
-m viewports had overflow out of parent containers;
this uses flex-auto to ensure the skeleton stays within its flex
container.
2020-03-23 21:24:06 -04:00
Matilde Park
41f95e231f publish: pending comments get correct timestamp 2020-03-20 17:46:00 -04:00
Matilde Park
812ab41a81 publish: abundant safety checks in comments update 2020-03-20 17:36:25 -04:00
Matilde Park
b16a64ae03 publish: add startup content 2020-03-20 17:16:08 -04:00
Matilde Park
0246bea613 publish: add pending state for comments 2020-03-20 13:23:47 -04:00
Matilde Park
e9c2f47729 publish: sort inclusive of accented characters
Alphabetical and reverse alphabetical sort in the sidebar
now uses localeCompare instead of Unicode point comparison.
2020-03-19 12:12:58 -04:00
Jared Tobin
14ce3177aa
Merge branch 'mp/publish/new-button' (#2549)
* origin/mp/publish/new-button:
  publish: prevent submission of empty notes
  publish: add responsive width for new post button

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:36:25 +04:00
Jared Tobin
7a7fe45677
Merge branch 'm/chat-groupify-extra' (#2546)
* origin/m/chat-groupify-extra:
  chat-view: %delete even without association
  frontend: apply ec6c2ed69 to link, publish, groups
  chat fe: clarify copy
  chat fe: support adding chat to existing group
  chat fe: invite search with/out ships
  chat-view: allow %groupify into existing group
  chat-view: add docs for %create action

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:35:59 +04:00
Fang
cc1c28fdec
frontend: apply ec6c2ed69 to link, publish, groups 2020-03-19 00:00:02 +01:00
Matilde Park
b86d6006a0 publish: prevent submission of empty notes
The onclick would fire regardless of disabled attr.
This commit adds a conditional check to the onclick's function.
2020-03-18 18:42:42 -04:00
Matilde Park
45b61f90e1 publish: add responsive width for new post button 2020-03-18 18:34:18 -04:00
Isaac Visintainer
fddee190b3 publish: fix post textarea overflowing container in firefox 2020-03-18 14:04:22 -07:00
Isaac Visintainer
a23c5a7ebe publish: fix onScroll fetching bug 2020-03-17 15:19:14 -07:00
Isaac Visintainer
9c495aa38a release: urbit-os-v1.0.2 2020-03-16 17:55:56 -07:00
Jared Tobin
1dd2b77222
release: urbit-os-v1.0.1 2020-03-16 15:10:58 +04:00
Matilde Park
fa3cbdf68e publish: fix join typo 2020-03-13 01:00:02 -04:00
ixv
b01f0dc260
Merge pull request #2443 from urbit/mp/os1/short-patp
os1: truncate comet/moon patps in all applications
2020-03-11 17:00:06 -07:00
Matilde Park
727c585059 publish: add back nav for mobile on new-post 2020-03-11 18:45:48 -04:00
Matilde Park
1b4b327489 publish: overflow-scroll only in parent container
Moves the scrollbar out of the body.
2020-03-11 18:45:32 -04:00
Matilde Park
f8ef9a7a55 various: settings submit on blur
Previously when you changed a name, description, etc.
we used a 'save' button -- now it happens when you leave the field.
2020-03-11 18:40:50 -04:00
Matilde Park
1ed1eb36fd publish: shorten comet / moon patps 2020-03-11 16:58:16 -04:00
Matilde Park
7c0a4a35ae various: pass classes to blank sigil component
Previously, we only passed classes as properties to actual sigils.
When we were using passed classes to line up sigils,
having a blank sigil would also turn the display askew.
2020-03-11 16:58:16 -04:00