Xyphyn
1d9bfb44fd
fix #52
2023-08-01 10:03:01 -07:00
Xyphyn
954d8986dc
fix #53
2023-08-01 10:00:28 -07:00
Peter Bui and Xyphyn
2aed207b54
misc: set different disabled backgrounds for light and dark mode ( #51 )
...
* misc: set different disabled backgrounds for light and dark mode
* misc: use dark theme instead of weird override
---------
Co-authored-by: Xyphyn <james@xylight.dev >
2023-07-31 17:08:00 -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
d70548f6c7
feat: add user banning
2023-07-31 17:02:54 -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
b4bcadf40d
misc: re-add markdown to posts
2023-07-31 13:00:35 -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
86dd44adb7
feat: add community sidebar
2023-07-31 10:53:00 -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
d23b58776c
fix: fix another centering issue and line cutoff issue
2023-07-30 15:25:39 -07:00
Xyphyn
d2f37bff0d
misc: fix centering
2023-07-30 15:21:36 -07:00
Xyphyn
a1b5717d94
hotfix: fix color
2023-07-30 15:15:37 -07:00
Xyphyn
cfbf0570d3
misc: add option to span whole screen
2023-07-30 14:56:35 -07:00
Xyphyn
a14eae9633
misc: remove tw merge
2023-07-30 14:45:26 -07:00
Xyphyn
62baf475b6
design: tweak design
2023-07-30 14:44:43 -07:00
Xyphyn
461a15a1ef
feat: add better thread viewing
2023-07-30 13:54:39 -07:00
Xyphyn
e1f84441f0
misc: tweak bot badge
2023-07-30 13:42:17 -07:00
Xyphyn
d9da0d9fd0
misc: improve bundle size
2023-07-30 13:11:46 -07:00
Xyphyn
338a758219
misc: add some user badges
2023-07-30 12:28:35 -07:00
Xyphyn
8b5d314191
fix: tests
2023-07-30 12:01:59 -07:00
Xyphyn
8234fb601d
fix #45
2023-07-30 12:01:34 -07:00
Xyphyn
32712689d1
misc: add post deletion toast
2023-07-30 11:56:44 -07:00
Xyphyn
eb1d90478e
misc: switch to csr
2023-07-30 11:55:04 -07:00
Xyphyn
8b752393e0
misc: change thumbnail size
2023-07-29 20:01:44 -07:00
Xyphyn
e1ac96def3
a11y: improve accessibility
2023-07-29 19:59:55 -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
Xyphyn
981c18e65f
misc: fix relative date component
2023-07-29 19:53:31 -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
Peter Bui
85ce6cd053
misc: allow replies to use max width (instead of small) ( #43 )
2023-07-29 17:59:40 -07:00
Xyphyn
8488bb1e17
fix: change <p> to <div>, as it wasn't necessary for semantics
2023-07-29 15:24:36 -07:00
Xyphyn
d65c62d2d9
misc: increase post body length before cutoff
2023-07-29 12:47:23 -07:00
Xyphyn
ba6fc8cbeb
misc: add markdown to body preview
2023-07-29 12:40:06 -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
e2c08d1806
feat: tweak color
2023-07-29 12:40:06 -07:00
Thomas Faughnan
a72ce72f7f
feat: hover on relative datetimes ( #39 )
...
Relative datetimes (e.g. "42m ago") are displayed for posts, comments,
user pages, community cards, and site cards. This patch wraps these
relative datetimes in a `<time>` tag which has a `title` attribute and
an ISO 8601 `datetime` attribute. The `title` allows users to see a
full, non-relative timestamp when hovering with the mouse.
2023-07-29 10:32:56 -07:00
Xyphyn
32f65add46
misc: tweak comments look
2023-07-29 10:22:03 -07:00
Xyphyn
5622ff0dd1
misc: change default instance url
2023-07-29 06:57:29 -07:00
Peter Bui
9eb3665fa7
fix: improve building comment tree ( #40 )
...
As we build the map of nodes, keep track of the minimum depth level.
Afterwards, nodes at the minimum depth level go into the tree as the
roots.
We no longer need to check if the tree belongs to a parent comment or
not.
Fixes #36 more.
2023-07-28 20:37:44 -07:00
Xyphyn
590eedc0fb
misc: minor tweaks
2023-07-28 18:52:37 -07:00