Commit Graph

3458 Commits

Author SHA1 Message Date
Liam Fitzgerald
fc955ab83e
interface: new BigIntOrderedMap
New ordered map implementation that is faster and more space
efficient. Stores the map and keys as a flat POJO, sorting them upon
iteration. The sorting cost is only typically paid once per render
however as the sorted array is cached until the map is mutated. This
implementation appears to play nicer with immer's structural sharing,
reducing the incidence of 'props are equal by value, but not by
reference'.
2021-04-20 13:31:57 +10:00
Liam Fitzgerald
1ab925f84c
interface: unify BigIntOrderedMap imports 2021-04-20 13:11:39 +10:00
matildepark
110bcaa6ce
Merge pull request #4785 from urbit/la/fix-591
interface: fix #591 message display by time-sent in chat
2021-04-19 17:28:55 -04:00
matildepark
b090311964
Merge pull request #4689 from urbit/lf/form-merge
ChannelSettings: unify form handling
2021-04-19 17:22:16 -04:00
matildepark
fe61b8b7a9
Merge pull request #4782 from urbit/lf/notif-fixes
notifications: preferences screen, fix pagination
2021-04-19 17:18:03 -04:00
L
f26e63421e
Merge pull request #4777 from urbit/mp/group-feed/show-parent-if-parent
PostReplies: show parent author in parent postItem
2021-04-19 14:03:41 -05:00
Logan Allen
9a61daaa69 interface: fix #591 message display by time-sent in chat 2021-04-19 12:37:40 -05:00
Liam Fitzgerald
c92753d1ed
ChannelPopover: cancel dismisses popover 2021-04-19 15:58:44 +10:00
Liam Fitzgerald
f1be29389a
settings: default tutorial to seen
Prevents a race condition where the tutorial prompt will always show
2021-04-19 15:47:35 +10:00
matildepark
9a7f90bb63
Merge pull request #4783 from urbit/lf/tut-island-fix
launch: fix reversed destructure
2021-04-19 01:35:50 -04:00
Liam Fitzgerald
4c02bd0698
launch: fix reversed destructure
This was causing the tutorial to never be shown. This change should be
deployed with a new pill, to ensure comets show the tutorial.
2021-04-19 15:32:44 +10:00
Liam Fitzgerald
6128c8d096
notifications: bring preferences to spec 2021-04-19 15:24:30 +10:00
Liam Fitzgerald
988e614db4
interface: correctly scroll lock document
Even if overflow is hidden, certain mobile browsers may interpret a
scroll event to be on the document root, leading to strange and
inconsistent scrolling behaviours. Addresses this by adding
touch-action: none, which explicitly instructs browers to ignore this
element in scroll calculations.
2021-04-19 14:28:51 +10:00
Liam Fitzgerald
0ef452f8b3
notifications: update dismiss action styling 2021-04-19 13:26:21 +10:00
Liam Fitzgerald
048bd02604
notifications: fix broken pagination
Fixes urbit/landscape#788
2021-04-19 13:15:46 +10:00
édouard
deeab71831 sidebar: provide more contrast to sidebar items
Reverting this back to a most contrasty state in answer to frequent complaints of being unable to tell which channels were unread
2021-04-16 21:44:48 -04:00
édouard
503a3a8a49 invite notifications: fix radius of mention line 2021-04-16 20:28:50 -04:00
Matilde Park
55c1da67c6 PostReplies: show parent author in parent postItem
If an item is top of view, and has a parent,
we now render the parent author we are
replying to.

Fixes an unfiled bug
2021-04-16 16:05:14 -04:00
Matilde Park
8b82aec6c2 MentionText: pass all ships with sigs 2021-04-16 12:28:06 -04:00
matildepark
f2d91fdc98
Merge pull request #4772 from urbit/mp/landscape/prod
meta/interface: re-integrate preinstall script with clean install
2021-04-16 12:08:44 -04:00
Matilde Park
290b8c7c38 notifications: add margins to each
Otherwise they are not distinguished apart.
2021-04-16 11:47:40 -04:00
Liam Fitzgerald
d5bbc58c2b
Merge remote-tracking branch 'origin/release/next-js' into lf/notif-v2 2021-04-16 16:03:07 +10:00
Liam Fitzgerald
83901ece22
notifications: refactor invites to match spec 2021-04-16 16:02:26 +10:00
Liam Fitzgerald
3bd1e06f0f
notifications: refactor inbox to match spec 2021-04-16 16:02:05 +10:00
Liam Fitzgerald
801ccdad6f
notifications: refactor notification to match spec 2021-04-16 16:01:52 +10:00
Liam Fitzgerald
8bfb7da796
notifications: update header to match spec 2021-04-16 16:01:38 +10:00
Liam Fitzgerald
711bb8d88c
notifications: refactor group notification to match spec 2021-04-16 16:01:19 +10:00
Liam Fitzgerald
992b607e3c
notifications: refactor graph notification to match spec 2021-04-16 16:01:05 +10:00
Liam Fitzgerald
08028efcd7
interface: add utilities, fix useLazyScroll 2021-04-16 16:00:36 +10:00
Liam Fitzgerald
86552306c2
interface: add getters for stores 2021-04-16 15:59:02 +10:00
Liam Fitzgerald
63b3a37d86
Timestamp: set line-height 2021-04-16 15:57:42 +10:00
Liam Fitzgerald
dd9dfc0a9f
Author: fix mono spacing 2021-04-16 15:57:19 +10:00
Matilde Park
aefc267477 landscape: install using ci in most cases 2021-04-15 15:41:20 -04:00
Matilde Park
0892767f64 Revert "Revert "build: pkg/interface builds pkg/npm preinstall""
This reverts commit ebcd2136eb.
2021-04-15 15:39:52 -04:00
James Acklin
e473b3031f imageInput: adds clear button
fixes urbit/landscape#785
2021-04-14 21:36:01 -04:00
matildepark
9f98081452
Merge pull request #4752 from urbit/james/leap-selection
leap: deduplicate selection with mouse+keys
2021-04-14 18:53:28 -04:00
matildepark
05711cbe14
Merge pull request #4725 from urbit/james/image-input
interface: redesign ImageInput
2021-04-14 18:26:27 -04:00
James Acklin
95b4f4007b imageInput: eliminate closures as components
fixes urbit/landscape#695
2021-04-14 16:31:21 -04:00
Tyler Brown Cifu Shuster
bbafcc6d6f sidebar: typesafe notifications check 2021-04-14 13:03:36 -07:00
James Acklin
8e866f3262 leap: belt-and-suspenders patp match
fixes urbit/landscape#598
2021-04-13 16:34:50 -04:00
Matilde Park
27ed29b257 landscape: fix s3 link
Fixes urbit/landscape#768
2021-04-13 16:06:33 -04:00
Matilde Park
80bc6c7054 GraphContent: allow titled links in textrenderer
Fixes urbit/landscape#752
2021-04-13 16:05:50 -04:00
Matilde Park
bd8590a80a publish: fix cross-theme color mismatch
Fixes urbit/landscape#746
2021-04-13 15:59:33 -04:00
Matilde Park
b01f14d837 landscape: fix line-height of CommentItem
Fixes urbit/landscape#731
2021-04-13 15:55:20 -04:00
Matilde Park
103547ba3b landscape: hide 'promote to admin' on pending patp
Fixes urbit/landscape#694
2021-04-13 15:42:53 -04:00
Matilde Park
421dc97a64 RemoteContent: redesign embedded content
Fixes urbit/landscape#693
2021-04-13 15:37:40 -04:00
Matilde Park
3245465281 JoinGroup: redirect if we have the group
Joining a group we have fails. We now redirect to the workspace.

Fixes urbit/landscape#683
2021-04-13 14:12:10 -04:00
Matilde Park
1ae61a0715 profile: pad and optimise on small viewports
Fixes urbit/landscape#658
2021-04-13 14:04:10 -04:00
Matilde Park
d9f8ebd5fe landscape: Author copies patp on click
Fixes urbit/landscape#578
2021-04-13 13:57:11 -04:00
James Acklin
62ab69f319 leap: yank window.ship from contacts
fixes urbit/landscape#598
2021-04-13 08:22:39 -04:00