Isaac Visintainer
93b9c6d5d9
added invites to sidebar in publish
2020-02-06 14:31:51 -08:00
Fang
1490e415c4
Merge branch 'os1-rc' into m/link-fe
2020-02-06 21:38:11 +01:00
Fang
ea70307f29
link fe: copy in contact-update reducer
2020-02-06 21:33:18 +01:00
Fang
f6bbd98200
link fe: make popout links match new route path style
...
These really should be made based on the current route path instead of
manually reconstructed, but that's slightly less trivial.
2020-02-06 21:22:16 +01:00
Isaac Visintainer
45b82e04f0
updated notebook creation logic to be in line with groups/contacts
...
added invite reducer
fixed page transition on new notebook creation
2020-02-06 11:42:48 -08:00
Matilde Park
ccdb4b0259
publish: new.js, contact-view + group-store
2020-02-06 11:42:46 -08:00
Fang
06a33929b4
link fe: consistently use "linkIndex"
...
As opposed to sometimes using just "link", when referring to literal
index numbers.
2020-02-06 20:38:53 +01:00
Fang
e6fc59f3df
link fe: ensure LinkDetails always uses sane timestamp
2020-02-06 20:37:52 +01:00
Logan Allen
69fbf7f13f
Merge branch 'mp/os1/publish-sidebar' into os1-rc
2020-02-06 11:37:50 -08:00
Logan
31e9505c76
Merge pull request #2238 from urbit/mp/os1/launch
...
launch: os1 home screen
2020-02-06 11:26:43 -08:00
Logan
757354db16
Merge pull request #2230 from urbit/contacts-group-validate
...
Validate group names
2020-02-06 11:25:11 -08:00
Fang
d9f0d44e0c
link fe: make check less confusing
...
The only thing we care about is whether or not we have (any & all) data
about the submission. Using URL here is confusing because it conflates
with the prop, and checking the prop in the first place always gives the
same result.
2020-02-06 20:15:22 +01:00
Fang
2f1f9b9c56
link fe: remove unused link-initial logic
...
Also includes up-to-date index.js.
2020-02-06 17:33:34 +01:00
Fang
ecf9dacbc0
link fe: factor out "page"+i indexing, use plain numbers
2020-02-06 17:31:13 +01:00
Fang
2b4667eb86
link fe: fix page loading behavior
...
Previously, receiving new items could "locally create" pages,
half-filled with whatever items were pushed down into them. Frontend
would see the existence of the page and assume all was well. However,
the page may have contained more items (on the backend) than just what
we pushed down.
This adds a per-page flag, "local", to indicate such pages. When display
logic sees it's set, it will send a request for the full page,
regardless of currently available data, loading in the canonical full
page as a result.
2020-02-06 17:23:32 +01:00
Fang
438d502c89
link fe: remove unused comment loading logic
...
This never triggers anymore, comments loading always happens in onMount.
2020-02-06 17:06:05 +01:00
Fang
375755f106
link fe: ensure state is initialized where used
2020-02-06 16:56:04 +01:00
Fang
9b9692e7f1
link fe: fully account for the "number as string" case
...
The Number() usage is sane, but should be scoped around the variable by
itself. Previously a string of "3" would lead to a Number("31") call,
which is not the intended behavior here.
Also stops passing a {} in if the actual number is unknown.
2020-02-06 16:55:32 +01:00
Fang
e74ec92c4c
link fe: more correct totals updating logic
2020-02-06 16:52:40 +01:00
Fang
50695fe78a
link fe: use correct time attribute
2020-02-06 15:32:14 +01:00
Fang
182d2c3a07
link fe: refactor link-view subscriptions api
2020-02-06 15:25:07 +01:00
Fang
4222ebbfb3
link fe: always render up-to-date comment counts
2020-02-06 15:04:47 +01:00
Fang
ab21f67ba6
link: support loading individual submissions
...
On the frontend, updates the route path to include the (base64-encoded)
url. Uses that and the load-single functionality to support loading
directly into a submission page, which fetches just the requested
submission.
Also ensures we don't open duplicate comment subscriptions.
2020-02-06 14:50:39 +01:00
Matilde Park
052fbc34de
launch: rebuilt all apps, add mobile flexbox
2020-02-05 23:34:17 -05:00
Matilde Park
4281077dcc
Merge branch 'os1-rc' into mp/os1/launch
2020-02-05 23:06:28 -05:00
Gavin Atkinson
c93d026a70
get geolocation from weather app, revise clock appearance to match new
...
launch page
2020-02-05 18:08:22 -08:00
Matilde Park
6b06367cc4
publish: sidebar defensive checks and style fixes
2020-02-05 20:53:17 -05:00
Anthony Arroyo
bce40c2d52
Merge pull request #2234 from urbit/mp/os1/chat-filter-empty-groups
...
chat: filter empty groups from peer search
2020-02-05 17:42:57 -08:00
A Arroyo
e2c053766a
update new chat validation
2020-02-05 17:35:19 -08:00
A Arroyo
dc673e4bb4
Merge branch 'os1-rc' into contacts-group-validate
2020-02-05 17:31:45 -08:00
A Arroyo
671d3ad7e8
Joe gripes
2020-02-05 17:23:40 -08:00
A Arroyo
260ad31468
validate to @tas insted of @tas
2020-02-05 17:12:50 -08:00
Jimmy
e045177031
give some small padding on image to make it vertical spacing more even
2020-02-05 15:47:54 -08:00
Jimmy
d97951b499
add pointer hover state
2020-02-05 15:41:51 -08:00
Jimmy
980b3be8bb
markdown spacing
2020-02-05 15:35:20 -08:00
Matilde Park
21f6be96a1
launch, various: new tiles and launch (but clock)
2020-02-05 18:16:56 -05:00
matildepark
9727fab259
Merge pull request #2233 from urbit/m/uplink-os1
...
link: subscriptions for the frontend
2020-02-05 15:30:53 -05:00
Fang
3bbff696b5
link frontend: fix loading into submission page
2020-02-05 21:17:47 +01:00
Matilde Park
bb7061b591
chat: filter empty groups from peer search
2020-02-05 13:52:01 -05:00
Fang
e26d2537c7
link: remove trailing whitespace
2020-02-05 18:43:27 +01:00
Fang
4e4f005689
link: update frontend ui logic to match api changes
...
Updates the frontend display & data fetching logic to match the changes
made in e7eef19d7.
2020-02-05 18:43:20 +01:00
Fang
31b6333ef9
link: update frontend api & reducer functions for link-view
...
Replaces .json requests with channel.js subscriptions. Rewrites reducers
to match, now being more careful about paginated data, and storing
comments in their own structure, at [group][url] indices, rather than
the non-static [page][index] ones used previously.
Note that this requires some changes to the frontend UI code also.
See next commit.
2020-02-05 18:20:50 +01:00
Matilde Park
bc4dd57896
publish: sortable sidebar
2020-02-04 21:14:44 -05:00
A Arroyo
8c82f1bbff
validate group names
2020-02-04 17:30:22 -08:00
Logan Allen
b51ae958ec
chat: fix issues with [ship path] to path change and support contacts
2020-02-04 15:31:06 -08:00
Logan Allen
543420b68e
chat: cleanup to change api to accept path instead of ship, path
2020-02-04 15:30:02 -08:00
A Arroyo
ff4db6786d
change fe to create full group path
2020-02-04 15:28:44 -08:00
Logan
f4b3dc501f
Merge pull request #2226 from urbit/mp/os1/chat-create-new
...
chat: add create group toggle to new.js
2020-02-04 15:18:11 -08:00
A Arroyo
737887bb8f
removed image upload button
2020-02-04 15:14:17 -08:00
A Arroyo
edab2a5d26
Revert "removed image upload button"
...
Accidentally pushed to os1-rc, mea culpa
This reverts commit 4e578ae788
.
2020-02-04 15:13:14 -08:00
A Arroyo
4e578ae788
removed image upload button
2020-02-04 15:11:23 -08:00
ixv
05480fa2e5
Merge pull request #2227 from urbit/ixv/publish-group-paths
...
publish group paths
2020-02-04 13:50:25 -08:00
Isaac Visintainer
63bea15f58
fixed wrong name for ship
2020-02-04 12:59:49 -08:00
Matilde Park
df30a777a8
chat: add create group toggle to new.js
2020-02-04 14:06:54 -05:00
Anthony Arroyo
2733e10311
Merge pull request #2223 from urbit/publish-join-screen
...
basic join screen
2020-02-04 10:16:23 -08:00
A Arroyo
af1573725f
don't allow spurious newline in input
2020-02-04 10:15:22 -08:00
A Arroyo
670563d1a0
include notebooks in sidebar
2020-02-03 17:28:13 -08:00
A Arroyo
5912ba0c0c
improve validation
2020-02-03 17:27:53 -08:00
Logan
41d5b28195
Merge pull request #2224 from urbit/mp/os1/links-new-comment-bug
...
links: fix comments reducer to post new comment locally
2020-02-03 16:58:17 -08:00
Logan
90d6fa4727
Merge pull request #2225 from urbit/ga/clock
...
Ga/clock
2020-02-03 16:55:53 -08:00
Gavin Atkinson
f648f57605
cleanup
2020-02-03 16:48:54 -08:00
Gavin Atkinson
728ef7fc16
clock
2020-02-03 16:48:54 -08:00
Logan
a90fc46fb1
Merge branch 'os1-rc' into mp/os1/chat-new-component
2020-02-03 16:44:40 -08:00
Matilde Park
fb9c775649
links: amend reducer to add new comments locally
2020-02-03 17:52:39 -05:00
Matilde Park
a158e1c651
chat: refactor invite search component functions
2020-02-03 17:24:42 -05:00
A Arroyo
e3af0bcde9
basic join screen
2020-02-03 13:11:49 -08:00
Isaac Visintainer
fd300aa025
made fetching more robust on notebook page
...
added infinite scroll and fetching to note page
2020-02-01 12:54:37 -08:00
Isaac Visintainer
919db6a3be
pass snippet and about field from backend
...
wire up routing for notebook page
add infinite scroll and note fetching logic to notebook page
2020-01-31 15:04:24 -08:00
Jimmy
fe44b25f92
about and settings page
2020-01-31 15:04:24 -08:00
Jimmy
5b1999347a
subscribers style
2020-01-31 15:04:24 -08:00
Jimmy
a345395951
notebook-item styling on notebook-list
2020-01-31 15:04:24 -08:00
Isaac Visintainer
06cdbb68b9
initial work on posts page
2020-01-31 15:04:10 -08:00
ixv
3a1a23e3d8
Merge pull request #2202 from urbit/post-view
...
Publish Post View
2020-01-31 14:38:41 -08:00
Logan
b9ebb97ad1
Merge pull request #2216 from urbit/mp/os1/contacts-chrome
...
contacts: add os1 chrome
2020-01-31 13:23:32 -08:00
Matilde Park
761d71cfee
chat: add group and peer search, new.js rework
2020-01-31 01:34:53 -05:00
Matilde Park
be448ec54c
contacts: add os1 chrome
2020-01-30 20:13:07 -05:00
Logan Allen
61709260a8
chat-js: added contacts metadata to chat
2020-01-30 13:37:52 -08:00
Jimmy
2be41fc3fe
url and note nav logic
2020-01-29 17:35:35 -08:00
Logan
a9434743a0
Merge pull request #2201 from urbit/mp/os1/soto-chrome
...
soto: os1 updates
2020-01-29 16:50:33 -08:00
Logan
c23146dd14
Merge pull request #2210 from urbit/contact-delete-os1
...
Contact delete os1
2020-01-29 16:49:22 -08:00
Matilde Park
9a67d24d11
soto: style fix
...
Refactoring long class string.
2020-01-29 19:48:58 -05:00
Logan Allen
1279019cdd
contacts: delete groups/contacts properly and mirror to foreign
2020-01-29 16:48:58 -08:00
Logan
8055ff5472
Merge pull request #2205 from urbit/mp/os1/chat-chrome
...
chat: os1 chrome and styling updates
2020-01-29 16:46:11 -08:00
Matilde Park
15bc1da3ba
chat: style fix -- collapse ternary operators
2020-01-29 19:34:37 -05:00
Jimmy
4521ba0895
adding comment functionality and post date,author,and title
2020-01-29 16:31:31 -08:00
Jimmy
9e7ff7d68d
moving comment box into comments.js and user comment into comment-item.js
2020-01-29 16:30:47 -08:00
Jimmy
f2c839986a
adding comments
2020-01-29 16:30:47 -08:00
Jimmy
a6d7550f1b
fixed overflow in skeleton.js
2020-01-29 16:30:47 -08:00
Jimmy
3f67d4f0a7
add comment box
2020-01-29 16:30:47 -08:00
Jimmy
65b65d75f3
basic style and layout of post view, missing comments
2020-01-29 16:30:47 -08:00
Jimmy
70fcbf9e70
creating scaffold of post view
2020-01-29 16:30:46 -08:00
Isaac Visintainer
12730ad0e7
adds publish new post page
2020-01-29 11:50:59 -08:00
Logan Allen
77f702b38c
contacts: working on remove from group behavior
2020-01-29 10:42:33 -08:00
Matilde Park
9eca995eeb
chat: add os1 styles, window borders
2020-01-28 22:58:06 -05:00
Matilde Park
82462c9007
soto: add os1 chrome and styles, popout
2020-01-28 17:11:06 -05:00
Jared Tobin
87581ba5f8
Merge branch 'bug/image-border' ( #2188 )
...
* origin/bug/image-border:
chat: remove black border on images
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:40:08 +04:00
Matilde Park
0ef3d9f7fa
chat: smoothen dark theme
...
Lowers contrast in dark theme; raises the opacity of images in chat.
In general, creates a smoother dark variant of our default Chat look.
2020-01-27 20:33:15 -05:00
Matilde Park
e7035ebc4c
publish: add ship, notebook params, update routes
2020-01-27 19:32:57 -05:00
Matilde Park
45f9adc10c
Merge branch 'publish-remix-fe-encore' into os1-rc
2020-01-27 16:24:21 -05:00
Matilde Park
389def3479
chat: [embed] link doesn't break word on mobile
...
It's a UI, not a word -- it should be treated like a button.
This commit preserves it as its own block and pushes it
to the next line when it's overflowing.
2020-01-27 14:16:38 -05:00
Matilde Park
35aab5c8ab
chat: youtube embeds responsively expand
...
The declaration was being stomped out in all viewports because
it wasn't being declared in the initial element.
This adds the XL's padding-bottom to the element's declarations, which
scales it accordingly.
2020-01-27 14:09:18 -05:00
Jimmy
f49aa3b053
chat: remove black border on images
2020-01-27 11:08:26 -08:00
Matilde Park
3d901df3be
chat: links use white border in dark mode
2020-01-27 14:07:04 -05:00
Matilde Park
cbbbc65acb
chat: sidebar switcher retains with on -m
...
Sidebar switcher was squishing and losing aspect ratio on medium viewport.
It now retains its proper size.
2020-01-27 13:48:01 -05:00
Matilde Park
6630357873
publish: add new-post scaffold + todo
2020-01-27 12:26:47 -05:00
Matilde Park
f0c4a63f99
publish: add scaffolding for all expected components with todos
2020-01-27 12:26:47 -05:00
Matilde Park
df5d6c76d1
publish: pass active prop to sidebar
2020-01-27 12:26:47 -05:00
Matilde Park
02d2378796
publish: sidebar hides mobile-specific header
2020-01-27 12:26:47 -05:00
Matilde Park
0d732e4092
publish: initial fe scaffold
2020-01-27 12:26:47 -05:00
Jared Tobin
cc12ff835e
Merge branch 'pkova/master' ( #2178 )
...
* pkova/master:
chat: fix wrong font-size on certain pre-elements
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:13:23 +04:00
A Arroyo
757b4ffcbe
merged links fe into os-rc
2020-01-24 16:21:25 -08:00
Logan Allen
bb4acfc1e8
contacts: color edits transmit properly
2020-01-23 13:15:17 -08:00
Logan Allen
aac3bd9678
contacts: adding yourself to group works
2020-01-23 13:15:17 -08:00
Logan Allen
8de18e4d4c
contact hook / group hook is hooked up to ui
2020-01-23 13:15:17 -08:00
Logan Allen
0db2663587
contacts: add member interface works
2020-01-23 13:14:44 -08:00
Logan Allen
8b03fd90c6
Share sheet renders properly in group
2020-01-23 13:14:44 -08:00
Logan Allen
78b829186d
display entities in groups even when they haven't shared contact yet
2020-01-23 13:14:44 -08:00
Logan Allen
de7cd1389d
style fixes, relative to absolute paths, renames, additional contact view features
2020-01-23 13:14:44 -08:00
Logan Allen
41c05dac6e
contact-js: code styling and defensiveness
2020-01-23 13:13:53 -08:00
Logan Allen
ed0ddfb97e
contact card: code style
2020-01-23 13:13:52 -08:00
Matilde Park
9ea67c20c9
card display, edit (all fields)
2020-01-23 13:13:52 -08:00
Matilde Park
a10ac18e67
clean up some leftover TODO comments
2020-01-23 13:13:52 -08:00
Matilde Park
b57fdccd23
add nickname editing, display, remove contact ...
2020-01-23 13:13:52 -08:00
Matilde Park
ec33a4a4f8
edit your sigil color now functional
2020-01-23 13:13:52 -08:00
Matilde Park
b5e9162657
add TODO markers for next-up features
2020-01-23 13:13:52 -08:00
Matilde Park
8ec9031be3
add / edit card.js toggle
2020-01-23 13:13:52 -08:00
Matilde Park
9e4a192fa5
responsive additions
2020-01-23 13:13:52 -08:00
Matilde Park
ce62533a11
add contact to group functionality
2020-01-23 13:13:52 -08:00
Matilde Park
761ea7cc9c
create group functionality
2020-01-23 13:13:52 -08:00
Matilde Park
c8020691f8
beginning of contact card
2020-01-23 13:13:51 -08:00
Matilde Park
1faf3828e3
high contrast, don't return null as class
2020-01-23 13:13:51 -08:00
Matilde Park
aadeab65b4
responsive contacts drawer
2020-01-23 13:13:51 -08:00
Matilde Park
27201cc2f4
add contact list for group, member count
2020-01-23 13:13:51 -08:00
Matilde Park
c59f222443
basic responsive drawer stuff
2020-01-23 13:13:51 -08:00
Matilde Park
92e1970651
/me, /group views, render sigil, render root ident
2020-01-23 13:13:51 -08:00
Matilde Park
c17bec49af
prepping contact add
2020-01-23 13:13:51 -08:00
Logan Allen
ed481d89a5
contacts: end to end tested apis with working reducers
2020-01-23 13:13:51 -08:00
Matilde Park
082a44a7f8
iterate all groups with relative links
2020-01-23 13:13:51 -08:00
Matilde Park
74c17a3851
passing props, scrolling long layouts
...
(figuring out data manipulation)
2020-01-23 13:13:50 -08:00
Logan Allen
924d9996ab
finished hooking up initial data setup to contacts store and view to front-end. still need to do updates and reducer
2020-01-23 13:13:50 -08:00
Matilde Park
df4c07d67e
new.js -> padding and search icon
2020-01-23 13:12:27 -08:00
Matilde Park
1ea0e59e64
root -> new navigation
2020-01-23 13:12:27 -08:00
Matilde Park
23858fc6d7
mannequin newScreen entry fields
2020-01-23 13:12:26 -08:00
Matilde Park
99a73e981c
newscreen scaffold
2020-01-23 13:12:26 -08:00
Matilde Park
462b14bf58
subscribe to contact-store, fill groups headers
2020-01-23 13:12:26 -08:00
Matilde Park
2aefc02112
checkpoint (removing chat api calls, adding contacts)
2020-01-23 13:12:26 -08:00
Matilde Park
cc50ca3668
left panel, responsively
2020-01-23 13:12:26 -08:00
Matilde Park
8de846c60d
removing chat cruft, adding header + libs
2020-01-23 13:12:26 -08:00
Matilde Park
1299e26940
tachyons -> indigo-static
2020-01-23 13:12:26 -08:00
Matilde Park
7dfe151f15
contacts: tile graphic, fixing mount point
2020-01-23 13:12:26 -08:00
Logan Allen
47c1745074
contacts: added store, view, marks, ui
2020-01-23 13:12:26 -08:00
Matilde Park
22f1a52e08
link: amend "channels" copy on landing
...
It should be "collections," as per OS1 discussions.
2020-01-22 22:20:14 -05:00
Matilde Park
d3f57fbf9d
interface: add links FE source code
2020-01-22 18:16:44 -05:00
Jared Tobin
267081424b
Merge branch 'yt-preview' ( #2055 )
...
* origin/yt-preview:
chat: add expandable youtube embed messages
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 15:14:37 +04:00
Anthony Arroyo
b96d6c5b5f
chat: add expandable youtube embed messages
...
YouTube links now have a [embed] link that expands an inline embed of
the video. Embeds don't load until clicked, so don't fear the tracker.
2020-01-22 15:01:01 +04:00
Isaac Visintainer
366772c559
store, update, send tile notification number
2020-01-21 10:49:35 -08:00
Isaac Visintainer
041900dc26
handle marking posts as read
2020-01-21 10:49:35 -08:00
Isaac Visintainer
97f820a2c6
fixed group and invite bugs
2020-01-21 10:49:35 -08:00
Isaac Visintainer
d4ae9dbcc8
added js reducers
2020-01-21 10:49:35 -08:00
pkova
ba866a837d
chat: fix wrong font-size on certain pre-elements
2020-01-21 16:32:30 +02:00
Jared Tobin
ce6f82a58d
chat: trim whitespace [ci skip]
2020-01-14 11:21:24 -08:00
Jared Tobin
a0cb74b658
Merge branch 'matilde/chat-dark-mode' ( #2144 )
...
* origin/matilde/chat-dark-mode:
chat: fade images on dark mode
chat: add dark mode
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 11:09:18 -08:00
Jared Tobin
754fba30e3
Merge branch 'matilde/meta-morgue' ( #2159 )
...
* origin/matilde/meta-morgue:
soto: add "dead" alt keys to ignored list
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:12:10 +08:00
Jared Tobin
795b811aca
Merge branch 'matilde/chat-timestamp' ( #2146 )
...
* origin/matilde/chat-timestamp:
chat: correct datestamp to match @da
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:11:33 +08:00
Matilde Park
a5e68f280d
soto: add "dead" alt keys to ignored list
...
alt+n produces a ~, on top of a key called "Dead". This ignores "dead"
to send the ~ and function as normal.
2020-01-07 20:14:39 -05:00
Matilde Park
4143b0060f
chat: fade images on dark mode
...
Adds 60% opacity to dim images within messages in dark mode.
2020-01-06 08:09:53 -05:00
Jared Tobin
cd9624e097
Merge branch 'm/whitespace' ( #2149 )
...
* origin/m/whitespace:
various: remove trailing whitespace
ci: reject trailing whitespace
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:55:13 +08:00
Jared Tobin
836142ad0d
Merge branch 'rcrdlbl/chat-sidebar-margin-fix' ( #2137 )
...
* rcrdlbl/chat-sidebar-margin-fix:
chat: add bottom padding to sidebar items
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:45:25 +08:00
Fang
fcf1846b6f
various: remove trailing whitespace
2020-01-03 22:06:42 +01:00
Matilde Park
271e594f61
chat: correct datestamp to match @da
...
The datestamp in webchat currently leftpads the month numeral.
This commit amends it so that the month numeral doesn't pad with zeroes.
2020-01-01 08:54:36 +01:00
Matilde Park
d45be05c26
chat: add dark mode
...
Adds custom classes and declarations for dark mode color scheme.
Uses prefers-color-scheme media query to check preference.
2019-12-27 12:15:03 +01:00
Matilde Park
b6120ac9fc
interface: use production build of react
2019-12-23 23:13:26 -05:00
Przemyslaw Dabrowski
f8c305b65b
chat: add bottom padding to sidebar items
...
Pretty simple really, fixes issue #2131 .
Decided to use padding instead of margin because the underflow is nice,
but not at the detriment of being able to see the last chat preview
2019-12-23 22:24:24 -05:00
Fang
b8a336c607
webchat: render "me" messages in italics
2019-12-23 23:11:04 +01:00
Matilde Park
e2cfcafc92
chat: validate chat names
...
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Fang
3a859ef585
link: add minimal link-server-hook and link-webext
...
link-server-hook exposes (parts of) the link-store over eyre, on the
condition that the client is authenticated as the host ship.
link-webext as committed is a very minimal web extension. When its
toolbar button is clicked, it saves the current webpage to /private
in the link-store.
In the future, this should support choosing a target to save to,
highlighting already-saved pages, and many other features.
2019-12-11 20:49:50 +01:00
Logan Allen
30264bbc93
chat-js: fix unread counts and indentation
2019-12-09 13:05:56 -08:00
Jared Tobin
dc45806e99
Merge branch 'mp/chat-design-tweak' ( #2049 )
...
* mp/chat-design-tweak:
chat: chat tab bar re-aligned and resized
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-07 16:55:29 +08:00
Jared Tobin
63bd7c62db
Merge branch 'mp/soto-catch-unidentified' ( #2018 )
...
* mp/soto-catch-unidentified:
soto: mutate cursor for tab complete inserts
soto: click sets cursor
soto: catch 'unidentified' key
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-07 16:51:52 +08:00
Matilde Park
f5faf6eb11
chat: chat tab bar re-aligned and resized
...
The placement of the buttons and chat title on Landscape were slightly
off-line with each other. This commit lines them up
and changes font size to f8 to match the mockup closely.
2019-12-06 16:44:45 -05:00
Matilde Park
d1def489cc
chat: Fix chat join link - %ask-history error
...
Without this third boolean argument, direct join links wouldn't work.
This commit adds it.
2019-12-05 01:08:16 -05:00
Matilde Park
8a2b3d1822
chat: join channel on enter
...
Adds quick keypress handler for joining chats.
2019-12-04 23:41:07 -05:00
Matilde Park
8d98348233
chat: wrap long links, join button uses pointer
...
What it says on the tin.
2019-12-04 22:37:12 -05:00
Matilde Park
3c541ca567
soto: mutate cursor for tab complete inserts
...
This changes sole.js to handle cursor behaviour for tabbing.
It does so by overriding the cursor position in transpose if it's greater
than it expects. This could produce errant results if other sole apps
use insert behind text, but that seems like an edge case. Flagged for
future with a comment.
2019-12-04 17:17:47 -05:00
Matilde Park
5e42e796e7
soto: click sets cursor
...
If you clicked in the input field, the cursor would stay where it was.
This adds the cursor as a way of controlling the component, fixing the behaviour.
2019-12-04 12:07:09 -05:00
Matilde Park
2a2126ad7a
soto: catch 'unidentified' key
...
Some Android devices have keys that register as, well,
"unidentified," so this just catches them in Soto.
2019-12-04 11:50:59 -05:00
Jared Tobin
d310cb68bd
release: v0.10.0.rc-1
...
* Remove testnet configuration from %zuse
* Bump URBIT_VERSION
* Update Landscape builds
* Update all pills
2019-12-04 19:41:43 +08:00
Matilde Park
318e38ffa3
chat: hotfixing a class name
...
This fixes a quick typo that completely breaks the medium viewport
layout.
2019-12-03 22:00:57 -05:00
Matilde Park
7188a3933a
chat: fix sidebar toggle on chat update
...
Creates a local reducer to mutate the state in one place.
Fixes an issue where chat updates would pop the sidebar open.
2019-12-03 21:48:44 -05:00
Philip Monk
689b829a1d
Merge remote-tracking branch 'origin/master' into rc
2019-11-30 21:54:36 -08:00
Philip Monk
c7c42225e2
Merge commit 'fbc81b59'; remote-tracking branch 'origin/mp-chat-redesign' into rc
2019-11-30 16:17:28 -08:00
Matilde Park
b8a2d06c5b
chat: style fixes
...
Changes to the structure stylistically during code review.
Using fake API calls instead of directly calling store;
fixing a 'delete' crash';
making common code a component;
autofocusing responsively.
2019-11-27 23:22:16 -05:00
Matilde Park
198a3afdd3
soto: catch full ansi layout keys
...
Adds "Insert", "Delete", "PageUp" and other function keys to the ignored
keys array of soto.
2019-11-25 23:11:23 -05:00
Matilde Park
be4b479660
soto: amend tab sole-effect json and handler
...
The behaviour of $tab sole-effects lacked a 'tab' key, so Soto wasn't
catching or writing them to the screen. This commit amends both the
handler and the sole-effect to fix that behaviour.
2019-11-25 19:38:07 -05:00
Matilde Park
4dd103c5e5
chat: tighten chatroom regex matching
...
This commit amends the join flow based upon
regular expression matching of chatroom names
to only match if the entire message is the chat.
2019-11-25 14:49:37 -05:00
Philip Monk
4d1457bbaa
Merge remote-tracking branch 'origin/master' into philip/mall-real
2019-11-24 00:01:04 -08:00
Jared Tobin
7db6f443e6
Merge branch 'matilde/soto-to-dojo'
...
* matilde/soto-to-dojo:
soto: mounts at ~dojo
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-23 20:03:12 +08:00
Matilde Park
cfc352e3c9
chat: add mobile web app icon
...
Adds a blank white placeholder icon, so that it looks better
than a blurry screencap on mobile devices.
2019-11-22 20:20:16 -05:00
Matilde Park
f90ae05bb0
chat: members and settings responsive layout match
...
Lining up the headers for these two panels on various viewports.
2019-11-22 20:20:16 -05:00
Matilde Park
8c38714cc6
chat: tweaking input and datestamp for 320px
...
Adding some very small viewport adjustments to keep the
layout tidy, disabling iOS autocorrect.
2019-11-22 20:11:15 -05:00
Isaac Visintainer
51d61e4d49
static gall: convert soto
2019-11-22 12:57:58 -08:00
Matilde Park
943ee0ede0
soto: ignores backspace at position 0
...
The keypress handler would check if backspace was past position 0
before deleting one character at that position. If you were at position
0, then it would drop down to the 'else' and send the key value as a
string, throwing off the state between front and back end. This commit
fixes the issue, ignoring Backspace at position 0.
2019-11-21 19:34:37 -05:00
Matilde Park
a6b4ed19b3
chat-view: redesign of chat interface
...
This commit redesigns the front-end of chat-view for
Landscape, adding a collapsable sidebar, popout chats,
a streamlined join flow, and a general refresh of the Indigo
interface.
2019-11-21 11:50:35 -05:00
Matilde Park
e8d34fe0ca
chat: add exports to gulpfile
...
Added exports so that indigo-react can
be integrated into our workflow without error.
2019-11-20 20:27:18 -05:00
Matilde Park
a33fffa6ce
soto: mounts at ~dojo
...
Since Soto is the name of the relay, its location in Landscape should be
the application it relays to: Dojo. This commit amends the mount paths
and source paths accordingly.
2019-11-20 09:41:28 -05:00
Jared Tobin
5258579ee2
Merge branch 'matilde/soto' ( #1952 )
...
* origin/matilde/soto:
soto: style changes
interface: add soto source code
drum: Boot with %soto
arvo: adds soto application
mar/sole: add %tab conversion
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-20 13:15:42 +08:00
Logan Allen
9dd949b8a1
chat: oust correctness fix and js style fix
2019-11-15 13:28:53 -08:00
Logan Allen
f9df1b6af4
chat: style fixes
2019-11-15 11:07:40 -08:00
Matilde Park
8fb13e4f99
soto: style changes
...
This commit amends the Soto application with style changes
requested during code review, including structuring the mark
conversion as a library.
2019-11-14 20:06:11 -05:00
Matilde Park
859954f5e1
interface: add soto source code
...
This adds the source code for Soto's Landscape interface to the
interface pkg directory, matching the build workflow for our other
Landscape applications as well as their dependencies.
2019-11-14 13:48:48 -05:00
Logan Allen
a97e36d6d6
chat-js: updated to support %messages events
2019-11-14 10:42:55 -08:00
Logan Allen
cb158310e3
chat-js: added invite functionality
2019-11-01 14:04:50 -07:00
Isaac Visintainer
16364de935
publish: correctly set title and body when navigating with next/prev
2019-10-25 15:29:51 -07:00
Logan Allen
e06acb87be
chat-ui: fix image previews from url types
2019-10-24 14:31:40 -07:00
Logan Allen
c8cca2f261
chat-js: make clicking a url message open in a new tab
2019-10-24 14:12:26 -07:00
Logan Allen
29fc32d11b
chat-js: fix chat sorting and selection in sidebar
2019-10-24 14:04:48 -07:00
Logan Allen
b12e305c9c
apps: added permission hook and chat-view %join action
2019-10-11 14:09:30 -07:00
Logan Allen
84e143574a
js: Improved join UI and added support for paths with multiple elements
2019-10-10 11:20:53 -07:00
Logan Allen
536dcdc4f4
chat: /primary path provides truncated initial as well as updates
2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2
chat: style fixes, removed some redirect bugs from chat
2019-10-08 10:11:18 -07:00
Logan Allen
79903ff9f5
chat: changed wire format and quitting subscription properly on ban
2019-10-07 17:35:48 -07:00
Logan Allen
39a5017254
chat: added old @ messages, now called %me messages
2019-10-03 13:33:07 -07:00
Logan Allen
8b74a674f3
chat-hook: updated to allow a simpler message send flow
2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d
chat: added new JS files, deleted old chat.hoon
2019-10-02 18:30:41 -07:00
Fang
7b21316694
weather: fix precipitation display
...
The `precipProbability` value ranges from 0 to 1, so to display
percentages we need to scale it up.
2019-09-27 17:08:50 +04:00
Logan Allen
1b87eb2c3c
chat: message processing time down to 60ms
2019-09-20 11:43:30 -02:30
Matilde Park
14b3cb1a89
Interface: Update urbit-ob dependency
...
Updates all Landscape applications to use the
latest version of urbit-ob, from 3.1.1 to 4.1.2.
Removes urbit-ob from applications that don't
use it (Clock, Launch, Weather).
Compiled JS for all the above included in this
commit.
2019-09-06 10:59:23 -04:00
Logan Allen
5560482897
chat: potential fix for #1692
2019-09-04 16:07:49 -07:00
Jared Tobin
07d9581934
Merge branch 'jt-contributing' ( #1673 )
...
* jt-contributing:
readme: update contributing info
contributing: use parentheses instead of commas
contributing / interface: 'confirm' -> 'apply'
contributing: s/urbit/Urbit
contributing: text fixup
contributing: remove labelling discussion
contributing: adds userspace information, links
contributing: add hoon style guide link
contributing: improve description.. description
contributing: add 'issues' section
contributing: add mailing list info to intro
contributing: update kernel & pills section
contributing: touch up code style section
contributing: add git/release info
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-03 12:46:02 -02:30
Matilde Park
a2357afbcd
Publish: Bring post editing UI to new post parity
...
Edit post's UI appearance looked quite different
from what creating a new post looked like.
This commit just brings the styling of post
editing UI a bit closer together with new posts.
2019-08-29 16:57:16 -04:00
Jared Tobin
123a523eeb
Merge branch 'mp-gulp-rename' ( #1675 )
...
* mp-gulp-rename:
Interface: Add "clean 'renamed' files" gulp task
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 18:52:33 -02:30
Jared Tobin
d5799e20fd
Merge pull request #1660 from pkova/master
...
Update sidebar most recent message timestamp every minute
2019-08-28 18:23:31 -02:30
Logan Allen
dafec48b36
Added another round of changes
2019-08-28 13:35:36 -07:00
pkova
1a64774011
chat: update sidebar timestamp every minute
2019-08-28 22:47:29 +03:00
Matilde Park
0643d600b6
contributing / interface: 'confirm' -> 'apply'
2019-08-28 14:05:07 -04:00
Matilde Park
52cccd4851
Interface: Add "clean 'renamed' files" gulp task
...
gulp.rename just copies files, leaving the original.
For minified files, this was navigated by not
tracking the -min.js files in git. However, when
deploying OTA, the -min.js files are still deployed
to all ships. This commit adds 'del' package,
and a task to clean up the -min files when done
for all current Landscape applications.
2019-08-28 13:39:42 -04:00
Jared Tobin
dd4dcb5f95
contributing: s/urbit/Urbit
...
'Urbit' refers to the project/product/platform, whereas 'urbit' refers
to an individual ship or instance. This corrects some old, incorrect
lower-case usage.
2019-08-28 13:40:50 -02:30
Matilde Park
d557c13dcd
contributing: adds userspace information, links
...
We had no information on contributing to Landscape.
Now we do. Tried to ensure it follows voice and
line break standards.
2019-08-28 12:00:04 -04:00
Jared Tobin
052903a4ee
Merge remote-tracking branch 'origin/mp-chat-leave' ( #1637 )
...
* origin/mp-chat-leave:
Leave copy + root route copy
2019-08-27 19:48:44 -02:30
Jared Tobin
de68c34ea5
Merge branch 'mp-chat-444sigil'
...
* mp-chat-444sigil:
Chat: Standardise sigil size and input line height
2019-08-24 08:50:09 -02:30
Matilde Park
7cb600dc6a
Chat: Fix join channel's route render
2019-08-23 15:42:10 -04:00
Jared Tobin
164bba60fa
Merge pull request #1635 from urbit/chat-pending
...
Chat: Display pending messages
2019-08-23 15:55:35 -02:30
Matilde Park
494aae7800
Chat: Standardise sigil size and input line height
...
Read-only chats had a slightly bigger sigil box, looking skewed to
the left. Its copy also had a different line height than the
chat input itself, which was vertically aligned slightly higher.
This commit standardises the sigil box to 32px across both
and brings both to the same, centered vertical alignment
for the chat input and read-only notice.
2019-08-22 17:44:52 -04:00
Matilde Park
62a81dec84
Publish: pubs/subs enforce alignment w/ title wrap
...
If your screen wasn't wide enough, the flex rules would destroy the gap
between columns, which destroyed the look of a table altogether.
By removing the 'one-line' class, and moving the margin-left from
the span element to the parent paragraph (for rows that aren't
the header rows), titles wrap onto another line, which enables
a responsive table and firm table margins.
2019-08-22 13:09:10 -04:00
Matilde Park
632359df7b
Leave copy + root route copy
...
Returning underline to buttons
2019-08-21 17:54:14 -04:00
Matilde Park
3219e18019
Chat: Add pending message container and display
...
Additional logic for reducer + array manips
Removing multi-array mutation and comments
Adding comments and working logic.
Fix sigil showing for pending from same aut
Pending messages persist upon circle change
Scaffolding message pending injection
Additional logic for reducer + array manips
Removing multi-array mutation and comments
Adding comments and working logic.
Fix sigil showing for pending from same aut
Pending messages persist upon circle change
Reworking pending boolean logic.
Data structure changed to Map
Checking correct scope of prop, removing dev TODO
Rebase mistake.
2019-08-21 17:48:13 -04:00
Matilde Park
0051449b13
CSS style polish for Firefox
2019-08-19 18:40:18 -04:00
Logan
da2879073b
Merge pull request #1601 from matildepark/landscape-spinner
...
Loading spinner moved to left alignment
2019-08-14 15:00:11 -07:00
Matilde Park
dc6e79f967
Hotfix for "set location"
2019-08-14 15:14:28 -04:00
Jared Tobin
e55c4c7731
Merge pull request #1611 from matildepark/weather-http
...
Weather tile inputs geolocation manually over HTTP, allows for location updating
2019-08-14 10:22:51 -07:00
Matilde Park
3748cc216d
Manual-first UX
2019-08-13 20:37:02 -04:00
Matilde Park
48403bd6fd
Fixed style nitpicks
2019-08-13 20:17:40 -04:00
Isaac Visintainer
5a2d0e62ca
fixed unread notification logic and added unread badges to post previews
2019-08-13 15:39:37 -07:00
Isaac Visintainer
ded8d0c823
fixed hr rendering
2019-08-13 11:49:43 -07:00
Isaac Visintainer
f8133d6533
fixed path state transition when clicking next/prev
2019-08-13 11:40:35 -07:00
Isaac Visintainer
d4592c5e6a
adjusted spacing on next/prev component
2019-08-13 11:28:55 -07:00
Isaac Visintainer
9517dabcc1
fixed auto-resizing of blog title input field
2019-08-13 10:56:45 -07:00
Isaac Visintainer
2f5d2bfb36
handle edge cases in blog/post naming
2019-08-13 10:39:56 -07:00
Matilde Park
c3d842a613
Add "update location" option
2019-08-13 12:35:45 -04:00
Matilde Park
a3179ddb0a
Allow latlong input on enter
2019-08-12 20:03:59 -04:00
Matilde Park
1d70e9f995
Notify on error
2019-08-12 19:55:28 -04:00
Matilde Park
a99977e462
Manual geolocation in HTTP
2019-08-12 19:42:41 -04:00
Jared Tobin
2030edfc30
Merge pull request #1609 from urbit/jt-fix-gulpcssimport
...
Update timer/package-lock.json.
2019-08-12 11:45:06 -07:00
Jared Tobin
92a9a3e7fe
Update timer/package-lock.json.
...
The version of gulp-cssimport that was included in the lockfile happened
to trigger one of GitHub's automated security warnings, so this just
updates the locked version to 7.0.0.
2019-08-12 07:43:20 -07:00
Matilde Park
eb1a2ff003
Merge upstream again
2019-08-12 09:51:12 -04:00
Matilde Park
5f4b7d136e
Merge upstream/master into comet-sizing
2019-08-12 09:43:01 -04:00
Fang
18928ff71f
Weather -> clock in clock tile's readme
2019-08-11 19:07:44 -07:00
Matilde Park
d14f8b1db7
Spinner is left-aligned
2019-08-09 18:50:20 -04:00
Jared Tobin
46422342e2
Merge pull request #1424 from jfranklin9000/master
...
make udon inline code match block code and enable inline code gaps in…
2019-08-09 06:49:28 -02:30
Matilde Park
11985ebb31
Comet sizing fixes
2019-08-08 18:10:57 -04:00
Fang
05950770f4
Merge branch 'master' into chat-message-types
2019-08-08 15:01:00 -07:00
John Franklin
032aa13f9d
make udon inline code match block code and enable inline code gaps in Publish app
2019-08-07 09:55:51 -05:00
Matilde Park
4160ba27af
Removing spellcheck from invite boxes
2019-08-02 16:58:00 -04:00
Fang
ccf1e09a75
Avoid using %tank %fats
...
Because tank printing is a pain. Rely instead on %text, using %name
to distinguish between intent.
2019-08-02 22:41:39 +02:00
Fang
9ce07b821f
Fix message width clamping
2019-08-02 22:07:27 +02:00
Fang
40225001de
Tighten spacing around %exp messages
2019-08-02 21:47:36 +02:00
Fang
905092aa0a
Merge branch 'master' into chat-message-types
2019-08-02 21:20:01 +02:00
Matilde Park
1f2abd8df7
Members page renovation
2019-08-02 12:58:58 -04:00
Matilde Park
c302d274c3
Don't wrap comets.
2019-08-02 12:33:28 -04:00
Matilde Park
3f55aaeb81
Ship names are in monospace
2019-08-02 12:26:47 -04:00
Matilde Park
baa9f32c68
Merge branch 'master' of github.com:matildepark/urbit into matilde-chat-css
2019-08-02 11:38:25 -04:00
Matilde Park
8c3c192739
Merge pull request #1415 from matildepark/weather-retouch
...
Weather CSS polish
2019-08-01 19:02:40 -04:00
Matilde Park
d634a657e8
Positioning elements
2019-08-01 18:39:26 -04:00
Matilde Park
35d0d2ac88
Consistent weather label
2019-08-01 18:33:32 -04:00
Matilde Park
4513b78cf4
Weather button Indigoify
2019-08-01 18:32:26 -04:00
Logan Allen
ab2cdd6adc
Updated build files and removed repeated console.logs from tiles
2019-08-01 22:15:08 +00:00
Logan Allen
3bab50f453
Updated build tooling to be faster and removed unnecessary dependencies
2019-08-01 22:08:59 +00:00
Logan Allen
9610c41a80
Style updates for messages and comet sigil sizing
2019-08-01 22:08:59 +00:00
Logan Allen
b01c290f0d
Added changes from landing page and @pkova's previous PR to urbit/interface
2019-08-01 22:08:59 +00:00
Matilde Park
f6eca9f09f
Prevent cutting of characters with height styling
2019-08-01 17:37:21 -04:00
Matilde Park
b62eaa859e
Pointer over the set location to seem buttonish
2019-08-01 13:33:32 -04:00
Matilde Park
80dea066d6
Seem a bit more tile-like.
2019-08-01 13:32:51 -04:00
Matilde Park
8042bce45b
Redesigning the set location appearance + label
2019-08-01 13:31:47 -04:00
Fang
91d4c26516
Touch up styling of %exp messages
2019-07-31 13:51:57 +02:00
Fang
e5f0e136e9
Improve rendering of multi-line %exp messages
2019-07-31 13:35:55 +02:00
Fang
1ce3d5af7a
Support sending %exp messages
2019-07-31 13:35:25 +02:00
Fang
19e05d70e2
Render all message types in the sidebar also
2019-07-29 09:29:00 +02:00
Fang
34826d6e19
Build and render arvo:// urls correctly
2019-07-29 09:05:42 +02:00
Fang
e6f962e76e
Make input area resizable
...
and touch up its styling issues.
2019-07-29 02:16:11 +02:00
Fang
37d061cbfe
Support sending %fat messages
...
for clipboard pastes and long-form content.
If a multi-line string is pasted into an empty input field, treat is as
a "clipboard" message if it's sent directly afterwards. (A text %fat.)
If a multi-line message is composed in any other way, treat it as a
long-form message, moving all but the first line into the attachment.
(A more display-friendly tank %fat.)
2019-07-29 02:08:19 +02:00
Fang
c04ee7a0de
Ensure (%fat) messages get rendered within screen bounds
2019-07-29 02:01:16 +02:00
Fang
c880736eea
Remove noisy printf
2019-07-29 01:58:08 +02:00
Fang
716af367bf
Forbid sending empty messages
...
And don't render any elements for them.
2019-07-28 23:21:03 +02:00
Fang
c4ad4aa247
Support rendering %fat
2019-07-28 23:16:09 +02:00
Fang
ea3f46183a
Support rendering %exp
2019-07-28 13:21:54 +02:00
Fang
1974c8b4e4
Support rendering %ire
2019-07-28 13:09:55 +02:00
Fang
c91ad893c0
Support rendering %app
2019-07-28 13:06:08 +02:00
Fang
d0e51f4a1a
Refactor chat-input to fully support %lin and %url
...
Supports sending both regular and action %lin messages, using the
optional @ prefix.
Now transforms on-urbit URLs into arvo:// URLs prior to sending,
as opposed to on-render.
Unfortunately, the type hall uses for URLs doesn't support non-HTTP
protocols yet, so we send arvo:// URLs as %lin messages for now.
Input field gets styled based on detected message type. Italics for
action lins, underline for URLs.
2019-07-27 18:28:04 +02:00
Fang
ccf5b09165
Refactor message.js to fully support %lin and %url
...
Renders messages based on their speech type, as opposed to interpreting
%lin speeches and ignoring all others.
Italicizes %lin "@" messages.
Makes images clickable to open in new window.
2019-07-27 18:22:53 +02:00
Fang
0286d03edb
Refactor code duplication in Chat root
2019-07-27 15:00:41 +02:00
Isaac Visintainer
1f6d63d32c
removed duplicate arvo files in interface pkg
2019-07-24 15:34:13 -07:00
Isaac Visintainer
e92bbec269
automatically rename minified files
2019-07-24 15:13:21 -07:00
Isaac Visintainer
9e366644e5
updated gulpfiles for monorepo
2019-07-23 13:08:04 -07:00
Isaac Visintainer
5244f96dd4
moved subapps up one directory
2019-07-23 12:59:01 -07:00
Isaac Visintainer
f293a76db5
Add 'pkg/interface/' from commit 'ae564f567fccff9413b63158ee821b36652d6b53'
...
git-subtree-dir: pkg/interface
git-subtree-mainline: 7ce50ad75e
git-subtree-split: ae564f567f
2019-07-23 12:49:05 -07:00