Commit Graph
170 Commits
Author SHA1 Message Date
Peter Bui 6ea697e3bc misc: don't let community avatars on sidebar shrink (#70)
If a community name is long and uses multiple lines, the avatar will
shrink, leading to awkward alignment.

This adds a non-flexible container around the avatar to prevent this.
2023-08-05 08:37:16 -07:00
Peter Bui 644003bfef feat: store sidebar expanded state in settings (#69)
Add an expandSidebar setting to remember if the sidebar is expanded or
collapsed.  This allows the user to refresh or open a post in a new tab
and keep the same sidebar state (rather than it always being expanded).

One possible quirk is that if a user has it collapsed in one tab, but
expanded in another, it will remember which ever state was set last
(most recently).  However, changing the state in one tab will not impact
another (until a refresh occurs).

Fix #68
2023-08-04 19:14:30 -07:00
Xyphyn aac2b5fde0 misc: tweak emphasis 2023-08-04 15:17:24 -07:00
Xyphyn e75c674cb8 fix: update nav 2023-08-04 12:59:16 -07:00
Xyphyn b16d35f7d8 fix: fix bold font not working 2023-08-04 10:36:38 -07:00
Xyphyn 7b259ee4ce fix: fix padding issue 2023-08-03 17:43:34 -07:00
Xyphyn 3bb21a4fd9 misc: fix order 2023-08-03 17:40:15 -07:00
Xyphyn e34cace14f feat: improve error handling 2023-08-03 12:07:57 -07:00
Xyphyn 5582e49be9 misc: fix toasts 2023-08-03 10:51:42 -07:00
Xyphyn f51da98f38 fix on:click 2023-08-03 10:40:52 -07:00
Xyphyn 4fb4d2b7b8 fix: fix guest instance not working 2023-08-03 10:40:12 -07:00
Xyphyn 7e7197a676 misc: change url 2023-08-03 10:19:09 -07:00
Xyphyn 3464cdd5b4 feat: change url to new domain 2023-08-02 15:05:40 -07:00
Xyphyn 384a200891 fix: fix toast colors 2023-08-02 14:44:07 -07:00
Xyphyn 87612d6507 feat: switch to a string instead of enum 2023-08-02 14:22:27 -07:00
Xyphyn aeb727ae3b fix #61 2023-08-02 13:41:33 -07:00
Xyphyn 92fd798a7c misc: use max width instead 2023-08-02 13:15:29 -07:00
Xyphyn a18cdd87cd misc: fix expanding too far 2023-08-02 13:10:06 -07:00
Xyphyn 19dbd4c338 feat: add #61 2023-08-02 13:07:33 -07:00
Xyphyn 1ee0a55cf8 fix: correct posts won't show after first login 2023-08-01 18:40:15 -07:00
Xyphyn 62f2eebddc misc: change color of sidebar instance url 2023-08-01 15:06:44 -07:00
Xyphyn 6ff2d2fc90 design: switch to col 2023-08-01 14:02:23 -07:00
Xyphyn dea23cbedb misc: change font 2023-08-01 14:00:43 -07:00
Xyphyn e01fcee89e feat: add instance to sidebar 2023-08-01 13:59:33 -07:00
Xyphyn 482265475b feat: add account switching from sidebar 2023-08-01 13:46:31 -07:00
Xyphyn 2da415b670 feat: switch to new account system 2023-08-01 13:00:06 -07:00
Xyphyn 54ab6fdc82 feat: add account switcher 2023-08-01 12:20:37 -07:00
Xyphyn fc1afecfdd misc: fix persistence 2023-08-01 11:24:49 -07:00
Xyphyn 954d8986dc fix #53 2023-08-01 10:00:28 -07:00
Peter Bui 9e4fcae599 misc: add title attribute to Avatar (#50)
This will allow users to hover over the avatars in a collapsed sidebar
and see the name of the community.
2023-07-31 17:03:08 -07:00
Xyphyn 6a5b01b1a8 feat: change navbar when PUBLIC_INSTANCE_URL is set 2023-07-31 15:42:15 -07:00
Xyphyn 783ecbcb5f misc: improve sidebar 2023-07-31 15:01:39 -07:00
Xyphyn 2627dbd3f9 misc: improve layout 2023-07-31 14:41:58 -07:00
Xyphyn 13a4b06e41 misc: add buttons for 0 communities 2023-07-31 13:21:33 -07:00
Xyphyn 715c8f878b feat: add sidebar collapsing 2023-07-31 12:53:57 -07:00
Xyphyn 30b6daf4c7 fix: fix black sidebar 2023-07-31 11:35:26 -07:00
Xyphyn 94a709fea9 fix: community card not sticking 2023-07-31 11:34:05 -07:00
Xyphyn 850d2b480d design: improve layout further 2023-07-31 11:31:19 -07:00
Xyphyn c4aa521c29 fix: <main> not shrinking 2023-07-31 11:01:47 -07:00
Xyphyn c4e12b5b30 feat: add findClosestNumber for better cache 2023-07-31 10:38:01 -07:00
Xyphyn 6256d6107d misc: add about page 2023-07-31 10:24:52 -07:00
Xyphyn d9da0d9fd0 misc: improve bundle size 2023-07-30 13:11:46 -07:00
Xyphyn 8234fb601d fix #45 2023-07-30 12:01:34 -07:00
Xyphyn 5847a507fd a11y: remove invalid aria-label 2023-07-29 19:54:29 -07:00
Xyphyn a36b9c7c15 a11y: remove invalid roles 2023-07-29 19:53:58 -07:00
Thomas Faughnan 12249b3c9f fix: force navbar avatar to be square (#44)
Though the width and height attributes are set to 32 in this component,
the height is overridden by the more general styling for `<img>` tags,
which sets image heights to `auto`. For users with non-square avatars,
their avatar may overflow beyond its ring border. Specify the
`aspect-square` class to force a 1:1 aspect ratio. The Avatar component
used for posts, comments, etc. already does this.
2023-07-29 18:53:00 -07:00
Xyphyn 17316b8cdf misc: change menu color 2023-07-29 12:40:06 -07:00
Xyphyn 3047a56106 misc: rename isMod to amMod 2023-07-29 12:40:06 -07:00
Xyphyn f90ecb703c misc: add login message to post create 2023-07-28 14:00:42 -07:00
Xylight d3aae647a8 feat: add moderation tools (#33)
* feat: Add post submission removal

* feat: add comment submission removal

* feat: add report viewing and resolving

* misc: add notification dot

* misc: add locked thread badge

* feat: add thread locking

* feat: add initiating message conversations

* feat: add post pinning/unpinning

* misc: bump version

* fix: tweak lock colors

* fix: update post data on pin

* fix: return if reason is empty
2023-07-27 15:53:31 -07:00