Liam Fitzgerald
f10bf3c894
chat-fe: add unread and day indicators
2020-04-19 02:23:32 +10:00
Liam Fitzgerald
95edde5d27
groups-js: seperate user's ship from rest of contacts
2020-04-18 21:17:47 +10:00
Liam Fitzgerald
4d118ce6c4
chat-js: revive # prefix for code messages
2020-04-18 15:10:19 +10:00
Matilde Park
99875b2f45
various: set sigil foreground based on contrast
2020-04-17 19:27:37 -04:00
Liam Fitzgerald
535cace962
chat-js: toggle code editor on icon click
...
Toggles a code editor, to enable sending of 'code' type messages. 'me'
type messages are now sent by beginning a message with /me.
2020-04-17 21:46:17 +10:00
Liam Fitzgerald
11e69b7bd0
chat-js: disabled block level elements in messages
2020-04-17 21:13:58 +10:00
Liam Fitzgerald
63fc6ed513
various-fe: add unread counts to title
2020-04-17 16:51:51 +10:00
Liam Fitzgerald
5fbe955874
chat-fe: more FF scrollback fixes
2020-04-17 15:17:52 +10:00
Liam Fitzgerald
1b90328f39
chat-fe: fix index issue with pending messages
...
To produce message elements we iterate over pendingMessage ++ messages,
but to check whether they're adjacent to a message by the same author,
we index back into messages, which produces incorrect results when
pendingMessages is nonEmpty
2020-04-17 14:20:28 +10:00
Liam Fitzgerald
41be649764
Merge branch 'master' into mp/chat/firefox-take-2
2020-04-17 12:06:34 +10:00
Jared Tobin
e7984324be
Merge branch 'fix-pending' ( #2751 )
...
* origin/fix-pending:
chat-js: fix chat ordering and pending messages
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:54:12 +04:00
Jared Tobin
6ef155b82b
Merge branch 'fix-chat-autojoin' ( #2749 )
...
* origin/fix-chat-autojoin:
chat-js: fix auto-join and a chatSynced error
chat-js: fix issue with autojoining
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:53:59 +04:00
Jared Tobin
b655105a38
Merge branch 'liam-fitzgerald/lf/link-ios-crash' ( #2742 )
...
* liam-fitzgerald/lf/link-ios-crash:
link-js: fix pages disappearing on small screens
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:53:36 +04:00
Liam Fitzgerald
945fb3fca6
chat-js: render markdown in messages
...
Renders markdown in text messages but not url or code messages.
2020-04-16 20:21:29 +10:00
Liam Fitzgerald
9574765de6
chat-js: use CodeMirror for chat input
...
swaps out the textarea for a CodeMirror in markdown mode. Resolves an
issue related to the input shrinking with the content.
2020-04-16 20:21:29 +10:00
Liam Fitzgerald
a424312d12
chat-js: add CodeMirror dependency
...
Adds CodeMirror dependency and related css
2020-04-16 20:21:27 +10:00
Logan Allen
e98605c1bb
chat-js: fix chat ordering and pending messages
2020-04-15 16:48:33 -04:00
Logan Allen
c497d5a6a6
chat-js: fix auto-join and a chatSynced error
2020-04-15 15:58:03 -04:00
Logan Allen
f035070387
chat-js: fix issue with autojoining
2020-04-15 15:04:54 -04:00
Jared Tobin
65cad93b1b
Merge branch 'liam-fitzgerald/lf/chat-input-line-height' ( #2743 )
...
* liam-fitzgerald/lf/chat-input-line-height:
chat-js: adjust line height in chat input
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-15 20:18:14 +04:00
Liam Fitzgerald
8b48f3fa0f
chat-js: adjust line height in chat input
...
Set the line height of the input to be the same as a sent message.
Additionally fixes an issue that would cause unnecessary scrollbars to
be shown.
2020-04-15 15:08:42 +10: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
50dca97b07
publish: increase legibility for code in dark mode
...
Makes the rules that set both a background and foreground color come
last in the CSS, increasing their specificity. Changes the highlight to a
lighter grey, to better stand out. Correctly aligns highlights with code
block backgrounds.
Fixes #2684
2020-04-15 13:45:22 +10:00
Liam Fitzgerald
ba18737b5e
chat-fe: move cancel button below comment edit
2020-04-15 10:59:56 +10:00
Liam Fitzgerald
b538cfd3ea
chat-fe: address review comments
2020-04-15 10:48:46 +10:00
Liam Fitzgerald
963d04831d
Merge branch 'master' into lf/publish-del-edit
2020-04-15 10:07:29 +10:00
Liam Fitzgerald
595acd17ff
publish-js: lift editing state to comment list
2020-04-15 09:57:43 +10:00
Logan Allen
0145981542
contact-js: made channel handle onChannelError
2020-04-14 18:16:44 -04:00
Logan Allen
bfcaf6468e
contact-hook: tested it, got /synced path working, and subscriptions loading
2020-04-14 18:05:32 -04:00
Logan Allen
b6e4566e61
contacts: fix group deletion and do some quality of life fixes
2020-04-14 21:33:01 +00:00
ixv
5bb9776b70
Merge pull request #2730 from liam-fitzgerald/lf/chat-synced-fix
...
chat-fe: resubscribe message iff chatSynced is populated
2020-04-14 11:40:45 -07:00
ixv
e5cf4fb813
Merge pull request #2720 from urbit/la-channel-err
...
channel.js: added way to handle event source errors more smoothly, and implemented in chat
2020-04-14 11:40:02 -07:00
Liam Fitzgerald
a3fed45af1
publish-js: avoid unnecessary scrollbars on note view
...
the root container had height: 100% but also a margin-top set on it. This
caused unnecessary scrollbars to appear when the content did not
actually overflow the container.
2020-04-14 20:38:35 +10:00
Liam Fitzgerald
d63cc0d7de
publish-js: allow deletion and editing of comments
...
Adds interface affordances for the addition and removal of comments.
2020-04-14 20:20:59 +10:00
Liam Fitzgerald
9ddf06d2a1
chat-fe: correct FF scroll behaviour
...
Firefox treats the reflow in the scroll container weirdly so for the
scrollback case, we save the position to restore later, when the backlog
messages come in. For the 'locked at bottom' case we add a new state
variable and rescroll based on that.
2020-04-14 16:34:10 +10:00
Liam Fitzgerald
a6c5e96902
chat-fe: don't redirect if creating group
2020-04-14 11:50:47 +10:00
Liam Fitzgerald
786f2518e7
chat-fe: resubscribe message iff chatSynced is populated
...
Previously, if a room was navigated to directly, the resubscribe message
would show before the chatSynced state was loaded. Initialises
chatSynced as null and checks it is not null before showing the
resubscribe message.
2020-04-14 11:41:38 +10:00
Matilde Park
a4d37c0313
Merge branch 'master' into mp/chat/firefox-take-2
2020-04-13 21:38:27 -04:00
Liam Fitzgerald
1d81107d72
Merge branch 'master' into lf/profile-overlay
2020-04-14 11:04:52 +10:00
Liam Fitzgerald
a2998bdc41
chat-fe: redirect to DMs on trivial new group case
...
Create or view a DM upon trying to create an invite-only group with one invitee.
2020-04-14 11:01:31 +10:00
ixv
a7f20c37c1
Merge pull request #2700 from liam-fitzgerald/lf/invite-search-short
...
invite-search: handle suggestions for short searches
2020-04-13 16:56:26 -07:00
ixv
2d30886b65
Merge pull request #2724 from urbit/ixv/install-mousetrap
...
publish: install mousetrap before we use it....
2020-04-13 16:55:40 -07:00
ixv
228bee42e4
Merge pull request #2707 from urbit/ixv/cache-posts
...
publish: eagerly store your own changes
2020-04-13 16:54:41 -07:00
ixv
3526cfa4e6
Merge pull request #2618 from urbit/chat-reverse-messages
...
chat: reversed order that messages are stored in for faster performance
2020-04-13 16:54:16 -07:00
Fang
7aebcad25b
link fe: refactor message display into component
2020-04-13 21:54:50 +02:00
Fang
0d73b391b4
link fe: more informative "empty list" display
...
Displays "Loading..." if the links haven't loaded yet. If there are no
links, tells the user they can save one.
2020-04-13 21:37:42 +02:00
Fang
8f3d174c94
link: minimal initial view result
...
On initial load, instead of getting the first 25 links for every
collection, only get their totals and unread counts. This drastically
reduces the pageload time.
Updates the frontend to match:
- Handle initial results without link content.
- Dynamically load in collection's links, even for page 0.
2020-04-13 21:26:09 +02:00
Isaac Visintainer
277bc8d465
publish: make reducers able to handle duplicate updates now that we send updates both pre and post confirmation
2020-04-12 23:21:43 -07:00
Isaac Visintainer
20d3c4105d
publish: install mousetrap before we use it....
2020-04-12 23:05:32 -07:00
Liam Fitzgerald
2c870cdfc0
chat-fe: resuscitate scrollback
...
If the initial 20 messages doesn't cause the messages container to
overflow then the backlog will never be requested, making scrollback
impossible. This is due to making the container have position:relative
in order to display an overlay inside it. Fixed by unconditionally
requesting the first page of backlog on load.
2020-04-11 20:07:01 +10:00
Liam Fitzgerald
d2d9158ea3
chat-fe: hide profile overlay on click outside
...
Hides the profile overlay when the users clicks outside the overlay.
2020-04-11 19:34:11 +10:00
Liam Fitzgerald
966155088c
chat-fe: move new DMs to ship select popover
...
Refactored the patp autocomplete into a reusable component, and then
used that to add the DM popover interface. Also introduces some
performance improvements for the popover.
2020-04-11 17:47:11 +10:00
Liam Fitzgerald
803c7b4816
chat-fe: edit group identity if own profile overlay
...
Shows an "Edit Group Identity" button instead of "Send Message" if the
profile overlay being shown is the user's own.
2020-04-11 10:44:57 +10:00
Liam Fitzgerald
e5634a913d
invite-search: always add search query if valid patp
2020-04-11 10:17:49 +10:00
Logan Allen
fb3111e88a
channel.js: added way to handle event source errors more smoothly, and implemented in chat
2020-04-10 19:38:13 -04:00
Logan Allen
98f4df14a4
chat-js: made scrollback work for new message indexing
2020-04-10 22:22:14 +00:00
Logan Allen
6d1efde884
chat-js: fixed scrollback for reverse message chatrooms
2020-04-10 17:29:23 -04:00
Matilde Park
948dbe85e7
chat: scrollToBottom on mount for FF
2020-04-10 16:55:23 -04:00
Matilde Park
a212a5dc69
Merge branch 'master' into mp/chat/firefox-take-2
2020-04-10 16:44:15 -04:00
Matilde Park
1ddbc77157
chat: only scrolltobottom if first backlog grab
2020-04-10 16:42:05 -04:00
Matilde Park
3dc6a0bc9a
chat: add firefox-specific chat window
2020-04-10 16:34:27 -04:00
ixv
e253ec1860
Merge pull request #2562 from nijynot/chore/interface-lint
...
interface: add eslint to interface and lint `launch` and `chat`
2020-04-10 13:04:58 -07:00
Logan Allen
ecc8942eaf
chat: reversed order that messages are stored in for faster performance
2020-04-10 15:25:58 -04: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
Liam Fitzgerald
c162f0f212
chat-fe: add DMs and related screens
...
Adds DMs, which are just unmanaged chats whose last path component
starts with dm-- followed by the patp of the other user.
2020-04-10 19:45:25 +10:00
Liam Fitzgerald
1bca495d8a
chat-fe: reflow profile overlay near edges of screen
...
Polls for the distance between the top of the container and reflows the
overlay accordingly.
2020-04-10 17:59:04 +10:00
Liam Fitzgerald
188a1e8dcf
chat-fe: hide/show profile overlay on sigil click
...
Hide and shows profile overlay on sigil click. Shows the overlay for 2
seconds after click. If the user moves their mouse into the overlay then
it will remain open as long as the mouse is inside the overlay.
2020-04-10 17:59:04 +10:00
Liam Fitzgerald
f3c21fae36
chat-fe: add profile overlay
...
Adds a profile overlay to display information about the user on hover.
Also adds the svgClass prop to the sigil component, to allow setting
classes directly on the sigil svg.
2020-04-10 17:58:46 +10:00
ixv
b43f4d9d39
Merge pull request #2709 from urbit/mp/chat/namespace-group-chats
...
chat: add unique ID to grouped chat paths
2020-04-09 15:54:53 -07:00
ixv
c65b896a2c
Merge pull request #2705 from liam-fitzgerald/lf/publish-loading-fix
...
publish-fe: improve UX of loading spinner on new note
2020-04-09 15:54:04 -07:00
ixv
d376fd6998
Merge pull request #2704 from liam-fitzgerald/lf/chat-padding-sidebar
...
chat-fe: filter empty groups in sidebar
2020-04-09 15:53:55 -07:00
ixv
8e480b611d
Merge pull request #2703 from liam-fitzgerald/lf/chat-patp-copy
...
chat-fe: copy patp to clipboard on author name click
2020-04-09 15:53:46 -07:00
ixv
c5eb540c71
Merge pull request #2702 from liam-fitzgerald/lf/chat-join-spinner
...
chat-fe: show spinner on join
2020-04-09 15:53:35 -07:00
ixv
bc5358c0fd
Merge pull request #2695 from liam-fitzgerald/lf/sanitise-md-publish
...
publish: sanitise markdown snippets in preview
2020-04-09 15:52:52 -07: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
5fe16a7f47
Merge pull request #2687 from urbit/la-resub-on-err
...
chat-js: resubscribe on error, not just on quit
2020-04-09 15:52:03 -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
Matilde Park
9881fb2a2b
chat: add unique ID to grouped chat paths
2020-04-09 14:37:21 -04:00
nijynot
6536054b91
interface: add eslint and update contrib docs
2020-04-09 12:08:23 +02:00
Liam Fitzgerald
0c062104a5
publish-fe: improve UX of loading spinner on new note
...
Improve the UX of the loading spinner that shows when you have a new
note, by displaying it until we receive the new note in the
subscription, instead of until the poke succeeds.
2020-04-09 16:06:10 +10:00
Liam Fitzgerald
6586aa98e3
chat-fe: filter empty groups in sidebar
...
Empty groups caused the padding on the first group to be too large.
Filter the groups before we map over them so that we can set padding
properly.
Fixes #2674
2020-04-09 15:08:06 +10:00
Liam Fitzgerald
e2f8be20de
chat-fe: make copy status text inter
2020-04-09 14:13:23 +10:00
Liam Fitzgerald
648eced4ff
chat-fe: copy patp to clipboard on author name click
2020-04-09 13:12:48 +10:00
Liam Fitzgerald
b4fb8d5163
chat-fe: show spinner on join
...
Shows the spinner whilst joining a channel, both manually and from a
url. Also fixes an issue where a newly joined channel may be navigated
away from automatically.
2020-04-09 12:48:55 +10: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
Liam Fitzgerald
ff70a2be89
publish: sanitise markdown snippets in preview
...
Runs the snippet through ReactMarkdown instead of rendering it as text.
We restrict the allowed nodes in the render to pure text, so the snippet is not
overly visually heavy.
2020-04-09 07:56:44 +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
Logan Allen
7a41f2dcab
chat-js: resubscribe on error, not just on quit
2020-04-06 23:24:13 -04:00
Matilde Park
00ed295d48
invite search: populate group index from contacts
2020-04-06 19:45:40 -04:00
édouard
6ed7520444
contributing.md: removed interface dev instructions from root-level doc, integrated into existing interface-specific doc
...
I've moved the slightly edited interface development instructions from the root controbuting.md doc, over to the one located in pkg/interface. I've made sure to ensure any precvious information in the interface contributing doc has been matched or expanded upon in the new writing, which is a incrementally more thorough, and assumes a lower level of build-tooling knowledge.
2020-04-03 15:37:42 -04:00
ixv
58b7f94e86
Merge pull request #2667 from urbit/la-chat-loading
...
chat-js: transition to new chat upon chatSynced changing in join or new chat screen
2020-04-03 10:21:36 -07:00
Matilde Park
e2cc01445b
link: line up link info on same line height
2020-04-02 23:09:10 -04:00
Logan Allen
7eb499abda
chat-js: transition to new chat upon chatSynced changing in join or new chat screen
2020-04-02 23:03:28 -04:00
Matilde Park
d943ed353e
publish: add rollup-plugin-json to production imports
2020-04-02 22:46:12 -04:00
Matilde Park
f4c3b73346
publish: add rollupReplace to gulpfile
2020-04-02 22:33:04 -04:00
Isaac Visintainer
5faaa6c710
release: urbit-os-v1.0.10
2020-04-02 15:54:24 -07:00
Matilde Park
e358c1dbfb
Merge branch 'master' into mp/invites-to-group-filter
2020-04-02 18:25:59 -04:00
Matilde Park
e2c36cda0b
publish: propagate meta key for comment posting
2020-04-02 18:20:20 -04:00
Matilde Park
e51bd46224
link: fix meta key propagation for comment posting
2020-04-02 18:20:15 -04:00
Matilde Park
d03dcd8289
groups: preload spinner asset
2020-04-02 18:19:50 -04:00
Matilde Park
c873c4d01b
chat: add spinner component and behaviours
2020-04-02 18:19:50 -04:00
Matilde Park
afec74cb2e
groups: add componentised spinner and behaviours
2020-04-02 18:19:48 -04:00
Matilde Park
48e65499e2
groups: set sigil color on blur, not automatically
2020-04-02 18:18:42 -04:00
Matilde Park
7dbd2a09f0
soto: fix purple back arrows
2020-04-02 18:18:40 -04:00
Matilde Park
d49ace002d
soto: add componentised spinner
2020-04-02 18:18:14 -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
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
c91ec10e78
link: fix skeleton border css class
2020-04-02 16:46:21 -04:00
Matilde Park
7cde503f80
groups: fix skeleton css
2020-04-02 16:43:33 -04:00
Matilde Park
06cf5a0ce6
group filter: enumerate and show invites correctly
2020-04-02 16:36:50 -04:00
Matilde Park
d8fbd75dbf
launch: pass invites correctly to group filter
2020-04-02 16:36:50 -04:00
Matilde Park
f4c63b25c6
publish: pass invites to group filter
2020-04-02 16:36:50 -04:00
Matilde Park
0aff179e71
groups: pass invites to group filter
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
a500038bed
chat: pass full invites object
2020-04-02 16:36:41 -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
1d59ca7a16
Merge pull request #2640 from urbit/mp/groupify-2-dms-below
...
chat: DMs repositioned below grouped chats
2020-04-02 10:48:25 -07: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
275b0e65c5
Merge pull request #2652 from urbit/scrollback-fix-2
...
chat-js: fix scrollback for small chat channels
2020-04-02 07:23:59 -07:00
ixv
f6954e6a55
Merge pull request #2644 from urbit/mp/group-typing
...
groups: show tile icon, not full color; alphabetically sort group channels
2020-04-02 07:18:05 -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
8bafdea10c
links: submit comment on ctrl+enter
2020-04-01 22:36:11 -04: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
Logan Allen
72fbe18aff
chat-js: fix scrollback for small chat channels
2020-04-01 22:14:33 -04:00
Matilde Park
8c7898786e
groups: add slight background overlay to channel tiles
2020-04-01 21:08:00 -04:00
Matilde Park
e5c7539106
chat: sort DMs by most recent, sort grouped by alphabetical
2020-04-01 18:18:56 -04:00
Matilde Park
e70643b44d
groups: default to coloured tile if unknown app
2020-04-01 15:46:59 -04:00
Matilde Park
e1af036f1c
groups: show tile icon, not full color
2020-04-01 15:26:47 -04:00
Matilde Park
922318e072
os1: skeleton uses b--gray4, not b--gray2
2020-04-01 12:06:36 -04:00
Matilde Park
04b3a2a8cf
chat: DMs repositioned below grouped chats
2020-04-01 01:07:32 -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
5791f8b86d
Merge pull request #2630 from urbit/mp/chat/fix-settings-invitesearch
...
chat: settings pass 'groups' prop from permissions
2020-03-31 14:18:25 -07:00
édouard
d40ce1a233
Merge branch 'mp/grouping-take-2' of https://github.com/urbit/urbit into mp/grouping-take-2
2020-03-31 17:18:22 -04: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
Matilde Park
25e279ed82
chat, launch: style fixes post-#2615 code review
2020-03-31 14:03:12 -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
23ca02dd38
chat: settings pass 'groups' prop from permissions
2020-03-31 11:50:37 -04:00
ixv
c0b4de176a
Merge pull request #2627 from urbit/mp/publish/dark-syntax
...
publish: dark mode syntax css
2020-03-30 19:39:43 -07:00
Matilde Park
34528ff3d8
publish: dark mode syntax css
2020-03-30 18:31:58 -04:00
Logan Allen
49476aac66
chat-js: refactored subscriptions to auto-resubscribe
2020-03-30 18:07:33 -04:00
Logan Allen
c2070dbcc6
chat-js: pass in groups property, convert from permissions
2020-03-30 17:59:52 -04:00
Matilde Park
57d3f5327d
os1: store.selected -> store.selectedGroups
2020-03-30 16:45:34 -04:00
Matilde Park
660cabf074
launch: link color unsetting agnostically
2020-03-30 15:57:09 -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
1c45d4c46c
publish: handle 'no notebooks' case
2020-03-27 16:44:15 -04:00
Matilde Park
952ea831d9
chat: handle 'no chats' case
2020-03-27 16:42:29 -04:00
Matilde Park
5b6902e065
soto: update header bar
2020-03-27 16:30:17 -04:00
Matilde Park
21c989fee1
publish: incorporate group filter component
2020-03-27 15:09:27 -04:00
Matilde Park
9cb90405c1
link: incorporate group filter component
2020-03-27 14:57:25 -04:00
Matilde Park
8335ae059c
groups: incorporate group filter component
2020-03-27 14:39:01 -04:00
Matilde Park
612a88272f
chat: incorporate group filter component
2020-03-27 14:26:23 -04:00
Matilde Park
891018159a
launch: add group filter dropdown, header redesign
2020-03-27 12:45:51 -04:00
Matilde Park
09eec6ea65
launch: prevent dismissed welcome affecting mobile
...
Flexbox would provide the empty <div> some space in our mobile layout.
This replaces the div with null.
2020-03-27 12:45:51 -04:00
Matilde Park
744dc47be9
link: sidebar redesign with grouped collections
2020-03-27 12:45:51 -04:00
Matilde Park
e7a29dc628
publish: sidebar redesign with grouped notebooks
2020-03-27 12:45:49 -04:00
Matilde Park
afa38b1d2d
chat: sidebar redesign, sorted by group
2020-03-27 12:45:27 -04:00
Matilde Park
f5e9b2d171
groups: alphabetise sidebar items
2020-03-27 12:44:49 -04:00
Logan Allen
221238c0fa
chat-js: improve subscription speed by doing two rounds of subscriptions and no longer subscribing to groups
2020-03-26 17:41:11 -04:00
ixv
b8a222ea75
Merge pull request #2606 from urbit/la-scrollback
...
Scrollback fixed and tested in Brave, Safari, and Chrome
2020-03-26 09:02:24 -07:00
Logan Allen
2719a24dcc
chat: decreased message limit to 20, now asking for more messages upon navigating to a chat channel when we have < 100 messages for that channel
2020-03-25 19:48:35 -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
Logan Allen
a787eceae9
chat-js: turned off perf testing
2020-03-25 17:36:51 -04:00
Logan Allen
eb51ff693c
chat: changed initial scrollback to 50 because 25 short messages wouldn't trigger any scrollbar at all, and fixed scrollback condition
2020-03-25 17:35:51 -04:00
Logan Allen
8d64d9d253
chat: fixed indentation
...
logging for scrollback
2020-03-25 17:34:59 -04: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
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
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
ixv
fd52384445
Merge pull request #2596 from urbit/mp/publish/publish-m-flexauto
...
publish: flexbox sizing in skeleton, links open in _blank
2020-03-24 15:19:34 -07:00
ixv
a5ed4e15e2
Merge pull request #2593 from urbit/mp/soto/empty-backspace
...
soto: ignore backspace at cursor position 0
2020-03-24 15:02:49 -07:00
ixv
a88ced01af
Merge pull request #2564 from urbit/mp/link-sigil-size
...
links: adjust sigil size to 38
2020-03-24 15:01:12 -07: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
Jared Tobin
cd9f23d6db
Merge branch 'liam-fitzgerald/lf/chat-patp-autocomplete' ( #2571 )
...
* liam-fitzgerald/lf/chat-patp-autocomplete:
chat-fe: fix incorrect property in css
chat-fe: improve name legibility in autocomplete
chat-fe: match autocomplete to designs
chat-fe: autocomplete nicknames in message input
chat-fe: ignore comets in autocomplete
chat-fe: correct light mode autocomplete styling
chat-fe: add patp autocomplete to message input
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-24 17:37:51 +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
Liam Fitzgerald
ca8f436fd0
chat-fe: fix incorrect property in css
2020-03-24 11:01:46 +10:00
Liam Fitzgerald
302c3dc4cc
chat-fe: improve name legibility in autocomplete
2020-03-24 10:50:53 +10:00
Matilde Park
c1a4aeb60e
soto: ignore backspace at cursor position 0
...
If you entered the web dojo and hit Backspace immediately,
it would still process it as a valid key but pass the whole key forward.
This adds a conditional to ignore the key in those cases.
2020-03-23 11:25:36 -04:00
Liam Fitzgerald
6c403f5135
chat-fe: match autocomplete to designs
2020-03-21 13:52:41 +10:00
Liam Fitzgerald
9c759a7e68
chat-fe: autocomplete nicknames in message input
2020-03-21 13:49:57 +10:00
ixv
fed93b1fe5
Merge pull request #2565 from urbit/groups/leave-group-text
...
groups: two contact card changes
2020-03-20 16:17:33 -07:00
ixv
3ba00c3623
Merge pull request #2580 from urbit/mp/publish/pending
...
publish: add pending state for comments
2020-03-20 16:16:51 -07: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
29c432408c
groups: add startup content
2020-03-20 17:16:15 -04:00
Matilde Park
b16a64ae03
publish: add startup content
2020-03-20 17:16:08 -04:00
Matilde Park
d68b2e44d8
links: add startup content
2020-03-20 17:08:59 -04:00
Matilde Park
0d9a604ecd
chat: add startup content
2020-03-20 17:05:15 -04:00
Matilde Park
9114d1e858
launch: add startup content
2020-03-20 16:30:20 -04:00
Fang
2db5f7bb59
Revert "chat fe: disable advanced groupify"
2020-03-20 18:45:22 +01:00
Matilde Park
0246bea613
publish: add pending state for comments
2020-03-20 13:23:47 -04:00
Liam Fitzgerald
14399777e0
chat-fe: ignore comets in autocomplete
2020-03-20 15:30:04 +10:00
Liam Fitzgerald
2f97099e94
chat-fe: correct light mode autocomplete styling
2020-03-20 15:28:46 +10:00
Liam Fitzgerald
19b97040f2
chat-fe: add patp autocomplete to message input
2020-03-20 15:28:46 +10:00
Matilde Park
3b2bd32130
groups: remove - mh2 -> mh3
...
Design tweak.
2020-03-19 20:28:44 -04:00
Matilde Park
7cc5c9c6b5
groups: permission remove button for group members
...
Adds 'adminOpt' to the remove button for group members
who have not yet shared metadata.
2020-03-19 20:26:54 -04:00
Fang
3bf402bc6e
chat fe: update copy to match lesser functionality
...
Co-Authored-By: ixv <isaacv@tlon.io>
2020-03-20 00:25:43 +01:00
Fang
6182d61420
chat fe: disable advanced groupify
...
Introduced in #2546 , the new functionality seems able to induce weird
behavior causing messages to be processed twice. Disabling this
functionality on the frontend until that has been fixed.
2020-03-20 00:13:16 +01:00
Matilde Park
b2b6c05992
groups: fix "remove from" / "leave group" text
...
When you were looking at your own card in another group,
it would say "Remove from" group. This is from an arbitrarily strict
ternary check that adminOpt catches
for us, so we just check if the ship is us.
2020-03-19 18:16:22 -04:00
Matilde Park
d1b73f7ae3
groups: strengthen the admin check on cards
...
Before we saw if window.ship was in the path of the group.
If you're a star or higher, you'll match many group paths that you don't
own. This strengthens the check.
2020-03-19 18:15:36 -04:00
Matilde Park
7f8fcbe528
link: adjust sigil size to 38
2020-03-19 17:48:38 -04:00
ixv
b811506969
Merge pull request #2548 from urbit/mp/groups/delorted
...
groups: delete group members without shared metadata; delete groups
2020-03-19 10:54:42 -07:00
ixv
c410263c5b
Merge pull request #2559 from urbit/mp/publish/recompare
...
publish: sort inclusive of accented characters
2020-03-19 10:54:24 -07: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
Matilde Park
c5d790410e
chat: sidebar pulls nickname from associated group
...
We were looking for the box in our contacts object, not the associated
group, so if you had a group and chat with the same name,
you'd see nicknames, but in no other situations. This commit rectifies
that by safely polling for the associated group of the chat.
2020-03-19 11:46:47 -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
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
Fang
143bae6190
chat fe: clarify copy
...
Also clarifies a comment, and removes unnecessary console.log calls.
2020-03-18 23:28:35 +01:00
Matilde Park
803a4f6e86
groups: add ability to delete groups
2020-03-18 18:02:00 -04:00
Matilde Park
e82edd6e51
groups: delete group members without metadata
2020-03-18 17:30:47 -04:00
Fang
1ea4277988
chat fe: support adding chat to existing group
...
Using the updated chat-view %groupify action. Groupifying without
selecting a group creates a new group based off the chat. Selecting a
group first makes that the target of the group, and allows you to
specify whether to merge ships from the chat into the group.
2020-03-18 22:06:16 +01:00
Isaac Visintainer
fddee190b3
publish: fix post textarea overflowing container in firefox
2020-03-18 14:04:22 -07:00
Fang
ec6c2ed69a
chat fe: invite search with/out ships
...
This lets you specify whether or not you want to include ships in search
results for the InviteSearch component, as is already possible for
groups. This enables group-only searching, as will be used by the next
commit.
Also modifies the placeholder text based on what is included in the
search results.
2020-03-18 22:02:37 +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
ixv
6e6cd18699
Merge pull request #2528 from urbit/mp/groups/pad-bottom-card
...
groups: add bottom padding to contact card
2020-03-17 17:03:27 -07:00
ixv
0872419f5c
Merge pull request #2530 from urbit/mp/soto/cmdv
...
soto: cmd/ctrl+v pasting, whitelist keys
2020-03-17 17:03:16 -07:00
Isaac Visintainer
a23c5a7ebe
publish: fix onScroll fetching bug
2020-03-17 15:19:14 -07: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
dee0312784
soto: whitelist non-character keys
...
Inverting from an ongoing blacklist
to a whitelist of a few functional keys.
2020-03-16 21:47:29 -04:00
Matilde Park
3e1f3dca6e
soto: allow cmd/ctrl+v pasting
2020-03-16 21:36:45 -04:00
Matilde Park
116bfac640
links: add soundcloud embeds
2020-03-16 21:25:15 -04:00
Isaac Visintainer
9c495aa38a
release: urbit-os-v1.0.2
2020-03-16 17:55:56 -07:00
Matilde Park
1c14599ada
groups: add bottom padding to contact card
2020-03-16 20:34:35 -04:00
Fang
4b5a02fac8
Merge pull request #2480 from urbit/m/chat-groupify
...
chat: groupify
2020-03-16 18:37:29 +01:00
Jared Tobin
1dd2b77222
release: urbit-os-v1.0.1
2020-03-16 15:10:58 +04:00
Jared Tobin
7af1048224
Merge branch 'mp/os1/chat-simple-sigil' ( #2500 )
...
* origin/mp/os1/chat-simple-sigil:
chat: remove "#" from fallback sigil color
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:42 +04:00
Jared Tobin
4091f76d26
Merge branch 'mp/remove-invites-tile' ( #2492 )
...
* origin/mp/remove-invites-tile:
launch: don't render invites tile
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:20 +04:00
Jared Tobin
1f940cd327
Merge branch 'mp/soto-paste' ( #2490 )
...
* origin/mp/soto-paste:
soto: allow for right click pasting
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:42:55 +04:00
Jared Tobin
7d3eafa35c
Merge branch 'mp/soto-capslock' ( #2489 )
...
* origin/mp/soto-capslock:
soto: add 'capslock' to ignored keys
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:41:21 +04:00
Matilde Park
eff3c85973
chat: remove "#" from fallback sigil color
...
In the chat input we fall back to #000000 and blend it; but we also
prefix any color we send to the sigil component with a # for
uxToHex values, so we end up passing ##000000. This results
in simplified sigils -- when in doubt, ensure the hex formatting
is correct...
2020-03-13 22:51:20 -04:00
Matilde Park
f4610ba4a9
chat: use more precise regex
2020-03-13 20:55:54 -04:00
Matilde Park
f9a2aae085
launch: don't render invites tile
2020-03-13 20:32:55 -04:00
Matilde Park
07f6268509
soto: allow for right click pasting
2020-03-13 19:52:12 -04:00
Matilde Park
493784055f
soto: add 'capslock' to ignored keys
2020-03-13 19:23:26 -04:00
ixv
3bb8a7d13f
Merge pull request #2476 from urbit/mp/weather-dector
...
weather: redirect after autodetect submission
2020-03-13 13:47:37 -07:00
ixv
4b6271b151
Merge pull request #2471 from urbit/mp/launch-weather-crash
...
launch: stop passing 'invite' prop to tiles
2020-03-13 13:02:27 -07:00
ixv
229373924b
Merge pull request #2458 from urbit/mp/publish-typo
...
publish: fix join typo
2020-03-13 13:01:19 -07:00
ixv
144f7f3cba
Merge pull request #2455 from urbit/mp/color-picker-alignment
...
chat, link: preview for channel colour picker
2020-03-13 13:00:59 -07:00
Fang
acdf511f23
chat fe: improve groupify copy
2020-03-13 19:02:29 +01:00
Fang
32ae34a37a
chat fe: support groupify operation
2020-03-13 18:15:34 +01:00
Matilde Park
1123ae5c99
weather: redirect after autodetect submission
2020-03-13 11:04:57 -04:00
Matilde Park
d016199ed7
link: submit color on blur
2020-03-13 10:41:18 -04:00
Matilde Park
788f8013c7
chat: submit color on blur
2020-03-13 10:38:52 -04:00
Matilde Park
bca75a7b80
launch: stop passing 'invite' prop to tile
2020-03-13 10:21:00 -04:00
Matilde Park
fa3cbdf68e
publish: fix join typo
2020-03-13 01:00:02 -04:00
Matilde Park
d4e2369849
link: add preview box to channel color picker
2020-03-13 00:17:57 -04:00
Matilde Park
21a4c50376
chat: add preview box to channel color picker
2020-03-13 00:17:51 -04:00
Matilde Park
b503001609
chat: split and send mixed messages sequentially
...
Hot and cold in that order. This amends the behaviour of messages
with text and URLs to submit them in order of found URL,
instead of batching the URLs at the end.
2020-03-12 21:46:03 -04:00
ixv
33c422fca6
Merge pull request #2447 from urbit/la-unsubscribed-state
...
chat-hook: added ability to subscribe to chat-hook state from the front-end
2020-03-11 23:36:42 -07:00
Logan Allen
872c620c5a
chat-js: styled the resubscribe element
2020-03-11 20:33:01 -07: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
Logan Allen
64938e24e9
chat-hook: added ability to subscribe to chat-hook state from the frontend
2020-03-11 16:44:15 -07:00
Matilde Park
10f5078a3c
chat: skeleton takes full height on mobile
...
Previously it was a calc value that left a lot of
blank space at the bottom. Also adds a dark
mode style for the 'all chats' header.
2020-03-11 18:47:56 -04:00
Matilde Park
c391156781
groups: mobile adjustments, settings on blur
2020-03-11 18:47:25 -04:00
Matilde Park
2c0d323fa5
groups: conditional link when on /me
...
Previously, this removed the 'back' link if it was your
root identity. But on mobile, this removed that flow
entirely -- so this just conditionally sets the href
and keeps the back arrow showing in all cards.
2020-03-11 18:46:52 -04:00
Matilde Park
866a12e34a
link: pad link input lower
2020-03-11 18:46:04 -04: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
2d5e2b8901
link: hide root page on mobile
...
Flex was overwriting 'display: none'...
2020-03-11 18:44:07 -04:00
Matilde Park
7f2cadf830
chat, link: 'createGroup' set to false by default
2020-03-11 18:43:36 -04:00
Matilde Park
a454184ca7
chat, link: rearrange invite search above members
2020-03-11 18:42:55 -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
f8dc023aa7
soto: shorten comet/moon patp in prompt
2020-03-11 16:58:16 -04:00
Matilde Park
1ed1eb36fd
publish: shorten comet / moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
ffd95526e0
link: shorten comet/moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
b5af51f03e
groups: shorten comet and moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
a7b6ed4ef3
chat: shorten patps, add patp as title attr
...
No matter what, if you mouseover a name, you'll
now see its original patp. Comets and moons get
truncated accordingly.
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
Matilde Park
8d580b4533
launch: shorten patp in header
2020-03-11 16:58:16 -04:00
Matilde Park
81d88a0e79
various: add "cite" utility function
...
Replicating the arm in zuse that shortens
comet and moons.
2020-03-11 16:58:10 -04:00
Matilde Park
61dde23e9a
launch: left-align "home" in mobile layout
...
We don't want long patps to overlay the "Home"
title -- to do so without truncating planet names,
we just push "Home" out of the way here.
2020-03-11 15:14:29 -04:00
ixv
0dc65c1995
Merge pull request #2430 from urbit/mp/os1/bug-bashing-vol-1
...
os1: bug bashing, volume 1
2020-03-10 20:57:26 -07:00
ixv
74f5730f3e
Merge pull request #2435 from urbit/mp/os1/launch-notif-moval
...
launch: notification in header is relative to @p
2020-03-10 20:56:55 -07:00
ixv
ad58bcd35f
Merge pull request #2437 from urbit/mp/os1/chat/send-split
...
chat: splice, URL test and send mixed content messages
2020-03-10 20:56:19 -07:00
ixv
b375f44f5b
Merge pull request #2438 from urbit/mp/os1/firefox-reverts
...
chat: revert #2295 , #2371 — restores previous scroll implementation
2020-03-10 20:56:00 -07:00
Matilde Park
e9aacd5e01
publish: add -m, -l widths for edit post button
2020-03-10 23:30:17 -04:00
Matilde Park
e3b53f5eb2
publish: make dropdown arrow clickable
2020-03-10 23:12:22 -04:00
Matilde Park
e50e18ee40
Revert "Firefox scroll support for chat"
...
This reverts commit 3f3a0b42e5
.
2020-03-10 22:45:55 -04:00
Matilde Park
1a3b349c55
Revert "Fixes #2347 pushes chat to bottom on <Chat> mount"
...
This reverts commit 701f83bc21
.
2020-03-10 22:44:35 -04:00
Matilde Park
84a4afefed
chat: add left margin to [embed] link
...
For some reason they're squished right up side the metadata
in OS1 -- this gives them some space.
2020-03-10 22:33:08 -04:00
Matilde Park
9d91fb8d82
chat: splice, URL test and submit mixed messages
...
I don't know if he likes me or not. Just kidding, this just splices out
URLs into their own messages and sends them after the message.
2020-03-10 22:31:13 -04:00
Matilde Park
011902542b
publish: make 'edit post' button transparent
2020-03-10 21:37:30 -04:00
Matilde Park
90a7ff9c91
launch: notification in header is relative to @p
...
The notification could overlap long @ps. This amends the notification
to be relative to the @p block, pushed to the left of it.
2020-03-10 21:25:07 -04:00
Matilde Park
e946dc657f
chat, publish: add catch to util promise
2020-03-10 20:55:05 -04:00
Matilde Park
f58b3d6d0c
Revert "chat, publish: avoid race condition in writeText"
...
This reverts commit 7febf927fa
.
2020-03-10 19:44:23 -04:00
Isaac Visintainer
5114cebfd7
publish: stop adding newlines, and fix post snippet on edit
2020-03-10 15:08:56 -07:00
Isaac Visintainer
fd01162397
publish: handle read notifications properly
2020-03-10 15:08:48 -07:00
Matilde Park
ee887caced
link: additional safety checks in settings view
2020-03-10 17:10:41 -04:00
Matilde Park
7febf927fa
chat, publish: avoid race condition in writeText
2020-03-10 17:03:18 -04:00
ixv
9d0fe998c1
Merge pull request #2410 from urbit/mp/os1/invite-launch
...
launch: subscribe to invite-view, show group invite count in tile
2020-03-10 12:17:34 -07:00
Matilde Park
078991864c
chat: remove linking shortcodes to chatrooms
...
We use shortcodes for all channels now -- in general,
we don't want people to be joining them as chats.
2020-03-09 22:25:31 -04:00
Matilde Park
3f16359755
chat / publish: change clipboard API for safari
...
Safari doesn't support writeText(). I incorporate a PD polyfill
here to basically fill in the gap...
2020-03-09 22:23:24 -04:00
Matilde Park
ef9d5da931
publish: fix textarea padding on firefox
...
Firefox treats the padding as literal padding;
other browsers treat the padding as part of the writable
area. This sets it as an initial height.
2020-03-09 22:00:49 -04:00
Matilde Park
636d99b405
publish: fix note top matter on firefox
...
Firefox renders 'span' tags differently than other browsers.
This commit lines them up identically by making the spans inline-blocks.
2020-03-09 21:52:04 -04:00
Matilde Park
566ea49651
publish: prevent duplicates of new notes
...
Adds another disable catch and more elaborate
logic for preventing duplicate note submissions.
2020-03-09 21:39:09 -04:00
Matilde Park
d59d205af9
publish: resequence spinner for new.js
2020-03-09 21:38:09 -04:00
Matilde Park
49775f81e5
publish: add fallback values to note.js
2020-03-09 21:24:02 -04:00
Matilde Park
fb42bf4374
publish: dark mode border on invite items
2020-03-09 21:21:22 -04:00
Matilde Park
81899320d7
publish: dark mode dropdown buttons in subscribers
2020-03-09 21:17:07 -04:00
Matilde Park
c4948f1ed7
chat: leave button gets border in dark mode
2020-03-09 21:14:31 -04:00
Matilde Park
d274120fcc
link: line up title across views; dark mode button
...
(Settings had a button that had a border of the same colour as
the background, so this steps it up a shade.)
2020-03-09 21:06:27 -04:00
Matilde Park
b6b4f7cf5d
link: pass 'popout' to skeleton in settings view
...
(Otherwise, the OS1 chrome will stay showing.)
2020-03-09 21:05:35 -04:00
Matilde Park
e8b087ea87
clock: revert removal of initial media query check
...
This commit restores a small check for a match of the query,
so that when you load in dark mode, the clock loads in dark(ly).
Without this commit, it would only shift modes as part of a media query
change.
2020-03-09 20:57:13 -04:00
Matilde Park
f4a06589c0
clock: prevent canvas draw smears
...
Trying to use a transparent background revealed constant
redraws each second -- this commit returns a color
declaration to the background, changing with the media query.
2020-03-09 20:52:53 -04:00
Matilde Park
4275f7fc94
clock: use addListener for media query
...
Previously, we used addEventListener, which was returned by the
media query as an inheritance from the window object.
Safari doesn't support this, but it, and all browsers,
support an alias that uses function-based checks.
This commit uses that alias.
2020-03-09 20:51:20 -04:00
ixv
dc2d7fe64d
Merge pull request #2425 from urbit/mp/os1/groups/settings-truncation
...
groups: add max-width for group titles
2020-03-09 16:28:38 -07:00
ixv
cd2e57a9c2
Merge pull request #2426 from urbit/mp/os1/edit-publish
...
publish: edit notebook settings
2020-03-09 16:28:20 -07:00
Matilde Park
07b0652064
publish: add shortcode copying, API call for edits
...
Also adds 'comments' setting to the reducer for editing notebooks.
2020-03-09 17:21:54 -04:00
ixv
d60d9d2845
Merge pull request #2415 from urbit/mp/os1/invite-group-titles
...
invite search: surface group metadata in results
2020-03-09 14:10:32 -07:00
Matilde Park
0f2d4417da
groups: add max-width for group titles
2020-03-09 16:40:59 -04:00
Matilde Park
447be345ea
launch: place group invitations in header
2020-03-09 16:15:29 -04:00
Matilde Park
7fbe0c9318
various: amend invite copy on creation front-ends
2020-03-09 15:36:00 -04:00
Matilde Park
a889706758
groups: sidebar, additional check for safety
...
When accepting an invite, the sidebar would crash the application
because we were accessing 'metadata' of undefined -- accessing
too many nested property levels without enough safety.
This commit just adds a check for the intermediate property.
2020-03-09 00:28:42 -04:00
Matilde Park
d62712748a
publish: add front-end fields for editing notebook
2020-03-06 23:56:20 -05:00
Matilde Park
2afd0e63fe
publish: route group metadata to new screen
2020-03-06 23:10:23 -05:00
Matilde Park
15a8c4f115
link: route group metadata to new screen
2020-03-06 23:10:13 -05:00
Matilde Park
dd7e15b131
chat: route group metadata to new screen
2020-03-06 23:10:04 -05:00
Matilde Park
9176ff104b
invite search: surface group metadata
2020-03-06 23:09:49 -05:00
Matilde Park
114ca1e862
groups: invite items get white styling in dark mode
2020-03-06 22:08:12 -05:00
Matilde Park
ac5f266e75
groups: spell 'trumpeter' correctly
2020-03-06 22:01:59 -05:00
Matilde Park
067ebed56b
launch: reduce invites
2020-03-06 22:01:49 -05:00
Matilde Park
289a0ae61a
groups: add invite count to tile
2020-03-06 17:53:06 -05:00
Matilde Park
95acca9acb
launch: subscribe to invite-view, pass invite data
...
This commit adds a new subscription to launch and retain the current
tile data prop structure by initialising the data prop as an object
and always appending the invite information to it.
2020-03-06 17:38:49 -05:00
Matilde Park
b374ff790d
groups: hide back to channels mav on /me card
2020-03-06 17:03:06 -05:00
Matilde Park
60d853e895
groups: tweak contact card header
2020-03-06 16:59:46 -05:00
ixv
a219014949
Merge pull request #2405 from urbit/mp/os1/metadata-restructure
...
OS1: metadata restructuring across applications, group metadata editing
2020-03-06 13:14:27 -08:00
Matilde Park
48c636ab8e
chat: pending messages blend correctly
2020-03-06 16:08:13 -05:00
Matilde Park
ed9794817b
groups: fix details + settings routing overwrites
2020-03-06 16:08:06 -05:00
Matilde Park
07dde3efb2
groups: add contact - dark mode fixes
2020-03-06 16:07:32 -05:00
Matilde Park
a8c95a348d
publish: remove "pointer" if new button disabled
2020-03-06 15:51:51 -05:00
Matilde Park
f3cbfdbbbd
link: safety check in metadata reducer
2020-03-06 15:50:11 -05:00
Matilde Park
d46b271ba2
publish: safety check in metadata reducer
2020-03-06 15:50:03 -05:00
Matilde Park
8166115751
chat: style and safety fixes for nested objects
2020-03-06 15:48:21 -05:00
ixv
af98e6e6ca
Merge pull request #2406 from urbit/mp/os1/publish/join-disabler
...
publish: disable button after joining book
2020-03-06 12:31:59 -08:00
Jared Tobin
8b6710c360
Merge branch 'mp/os1/invite-search-blend' ( #2400 )
...
* origin/mp/os1/invite-search-blend:
invite search: proper padding, blending of group name
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:44:05 +04:00
Matilde Park
075dd3aa73
publish: disable button after joining book
2020-03-05 22:57:21 -05:00
Matilde Park
0014a48d74
publish: add groups metadata to store, reducers
2020-03-05 22:33:53 -05:00
Matilde Park
d73d60b73b
groups: add descriptions, group settings
2020-03-05 22:26:42 -05:00
Matilde Park
831b93dc4e
link: add 'lh-solid' to headers
2020-03-05 21:01:30 -05:00
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