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
f0d702002a
Merge pull request #2708 from urbit/m/link-opt-in
...
link: require explicit opt-in for new collections
2020-04-09 15:54:41 -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
Isaac Visintainer
1fdf8a9789
Merge branch 'gall-hack-new-deal'
2020-04-09 15:39:49 -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
Logan Allen
a5d6403f39
gall: updated to soft properly
2020-04-09 14:53:12 -04:00
Matilde Park
9881fb2a2b
chat: add unique ID to grouped chat paths
2020-04-09 14:37:21 -04:00
Fang
05e651970e
link: require explicit opt-in for new collections
...
Instead of auto-watching a new collection when it gets added to group
associations, require that the user explicitly choose to view it.
Of course, creation counts as opting in, so watch the collections we
create by default.
2020-04-09 19:01:58 +02:00
nijynot
6536054b91
interface: add eslint and update contrib docs
2020-04-09 12:08:23 +02:00
Logan Allen
7edc183ded
gall: soft cast chat-action, and remove the chat-update hack
2020-04-09 02:09:51 -04: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
lukechampine
cb4cae01c8
ford: print source line on syntax error
2020-04-08 21:11:15 -04:00
Fang
c570def06a
Merge pull request #2680 from mhartl/master
...
Fix spelling of "existent"
2020-04-09 00:32:34 +02: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
Fang
9f47cbd568
dbug: document "all subscriptions" option in gen
2020-04-07 11:21:17 +02:00
Logan Allen
7a41f2dcab
chat-js: resubscribe on error, not just on quit
2020-04-06 23:24:13 -04:00
Logan Allen
4d8e0cf26b
gall: added hack to reduce processing time for chat messages by 30%
2020-04-06 22:58:06 -04:00
Matilde Park
00ed295d48
invite search: populate group index from contacts
2020-04-06 19:45:40 -04:00
Aaron Sikes
eb0ce2daba
Change at:dejs-soft:format to reject too-long json arrays
...
`at` is for when you expect an array of a certain exact structure. If it
has extra elements, that indicates you were mistaken about the strucutre,
so it should fail to match.
2020-04-06 14:05:35 -04:00
Aaron Sikes
ecc8d0ee29
Add unit tests for json de/serialization.
...
This tests enjs:format, dejs:format, dejs-soft:format,
en-json:html, and de-json:html.
2020-04-06 13:35:21 -04:00
Michael Hartl
3e203634e3
Fix spelling of "existent"
2020-04-06 08:18:22 -07:00
ixv
482e87f8fc
Merge pull request #2662 from urbit/la-app-hints
...
apps: added hints to the top of many networked apps
2020-04-03 10:22:23 -07: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
ixv
118c20856d
Merge pull request #2666 from urbit/mp/publish-build
...
publish: add rollupReplace to gulpfile
2020-04-02 19:50:25 -07: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
b5b19adb8c
launch: handle change in url parsing
2020-04-02 19:01:36 -07:00
Fang
f494854dc0
Merge pull request #2641 from urbit/m/eth-watcher-timeout
...
eth-watcher: separate timeout from refresh-rate
2020-04-03 02:00:07 +02:00
Isaac Visintainer
5faaa6c710
release: urbit-os-v1.0.10
2020-04-02 15:54:24 -07:00
Isaac Visintainer
2ad8264c52
Merge branch 'philip/gall-clear'
2020-04-02 15:32:43 -07:00
ixv
35fa913113
Merge pull request #2661 from urbit/ed/groups-add-channel-icons
...
groups: add channel type icons
2020-04-02 15:30:13 -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
édouard
4cd7c77ad3
groups: add channel type icons
...
Adding three new icons for group channels (as seen in the groups view)
2020-04-02 18:15:51 -04:00
Logan Allen
99878eb65d
apps: added hints to the top of many networked apps
2020-04-02 17:49:46 -04:00
Logan Allen
717b02ad6f
chat: added jet hints
2020-04-02 17:43:03 -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
Fang
0578dc5643
Merge pull request #2658 from urbit/mp/invite-search-lenience
...
invite search: avoid crashing with no associations
2020-04-02 21:25:09 +02: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
Fang
ca4a5af4e3
Merge pull request #2656 from urbit/m/url-segments
...
zuse: allow empty segments in de-purl url parsing
2020-04-02 20:47:30 +02: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
Isaac Visintainer
0eebd0a579
undo js build
2020-04-02 07:21:46 -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
ixv
d1a440fab9
Merge pull request #2636 from liam-fitzgerald/lf/dojo-gen-autocomplete
...
dojo: add autocomplete for various dojo syntaxes
2020-04-02 07:17:02 -07:00
ixv
e2022ed3a6
Merge pull request #2619 from liam-fitzgerald/lf/who-endpoint
...
/who JSON endpoint
2020-04-02 07:16:50 -07:00
Fang
d1894cdbe6
zuse: allow empty segments in de-purl url parsing
...
RFC 2396 specifies that segments must be zero or more pchars.[1] We were
deviating from this by requiring at least one pchar per segment.
With this change, we support /some//path, and no longer lose the
trailing slash in /some/path/.
[1]: https://tools.ietf.org/html/rfc2396#section-3.3
2020-04-02 14:44:45 +02: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
Liam Fitzgerald
0115177eea
launch: create new state-version for %serve
2020-04-02 09:12:39 +10:00
Liam Fitzgerald
ed7d9fb164
launch: move %serve card to types core
2020-04-02 08:52:59 +10:00
Liam Fitzgerald
eeebfc0114
launch: address review comments for /who endpoint
2020-04-02 08:50:01 +10:00
Matilde Park
e5c7539106
chat: sort DMs by most recent, sort grouped by alphabetical
2020-04-01 18:18:56 -04:00
Liam Fitzgerald
253187001b
launch: add CORS headers to /who endpoint
...
Necessary to allow bridge to make a cross-origin request via
javascript.
2020-04-02 08:16:10 +10:00
Liam Fitzgerald
e16c999c76
launch: add /who endpoint
...
The /who endpoint responds with the name of the ship in JSON
2020-04-02 08:16:08 +10:00
Fang
809befb6fc
clock: ensure launch is listening correctly
...
In the wild, ships that were live pre-OS1 still had launch subscriptions
open to the clock on the /tile path, instead of the currently-used
/clocktile path. Additionally, launch state for the clock tile seemed
incomplete.
Here, we simply re-%add the clock to launch.
Note that launch currently does not clean up old subscriptions on
path change. For the pre-OS1 case, the old path is no longer in use,
rendering the subscription harmless. For cases where the correct
subscription was already in place, it'll print a %watch-wire-not-unique,
but doesn't do any harm besides that.
2020-04-01 23:13:57 +02:00
Fang
b62105cce4
clock: add dbug
2020-04-01 22:26:07 +02:00