Commit Graph
308 Commits
Author SHA1 Message Date
Xyphyn ca48d21f5d misc: add flex-shrink-0 2023-08-04 14:52:34 -07:00
Xyphyn b8ba9f40da feat: add more sort options 2023-08-04 14:41:28 -07:00
Xyphyn 2c4826e745 feat: add sort to settings 2023-08-04 14:40:39 -07:00
Xyphyn dc1aba6c17 feat: add dropdown to multiselect 2023-08-04 14:37:32 -07:00
Xyphyn 2eb491f310 feat: use markdown editor in post body 2023-08-04 13:59:48 -07:00
Xyphyn 3dcf173826 feat: add markdown toolbar 2023-08-04 13:45:42 -07:00
Xyphyn 95b9b5fcac fix: expiry in mod tool not working 2023-08-04 12:59:16 -07:00
Xyphyn e800fe545c fix: use community title instead 2023-08-03 13:30:02 -07:00
Xyphyn 05209d7517 design: tweak emphasis 2023-08-03 12:21:43 -07:00
Xyphyn 56b2175ab3 feat: separate instance options 2023-08-03 12:17:34 -07:00
Xyphyn 4fb4d2b7b8 fix: fix guest instance not working 2023-08-03 10:40:12 -07:00
Xylight 3ef90fdf26 Revert "Rearrange post meta for better alignment in compact post view (#63)" (#64)
This reverts commit 6b496f43f5.
2023-08-02 14:40:08 -07:00
6b496f43f5 Rearrange post meta for better alignment in compact post view (#63)
* Compact post view: Allow post meta to fill the card & align post title with thumbnail

* misc: fix gap

---------

Co-authored-by: zamuz <>
Co-authored-by: Xyphyn <james@xylight.dev>
2023-08-02 14:37:16 -07:00
Xyphyn 87612d6507 feat: switch to a string instead of enum 2023-08-02 14:22:27 -07:00
Peter Bui 8d6135a8fb feat: copy link action for comments (#56)
This adds a comment link action to each comment action menu so that
users can link directly to a comment.  It uses the existing single
thread view mechanism to display the single command (and its children).
2023-08-01 18:42:10 -07:00
Xyphyn 4970d44033 fix: #60 2023-08-01 18:40:15 -07:00
Xyphyn 029cf1e133 feat: add object resolving 2023-08-01 15:43:44 -07:00
Xyphyn 6bb47c2b1d feat: add guest instance 2023-08-01 13:27:24 -07:00
Xyphyn 2da415b670 feat: switch to new account system 2023-08-01 13:00:06 -07:00
Xyphyn 1d9bfb44fd fix #52 2023-08-01 10:03:01 -07:00
Xyphyn d70548f6c7 feat: add user banning 2023-07-31 17:02:54 -07:00
Xyphyn 783ecbcb5f misc: improve sidebar 2023-07-31 15:01:39 -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 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 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 32712689d1 misc: add post deletion toast 2023-07-30 11:56:44 -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
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 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
Xyphyn 32f65add46 misc: tweak comments look 2023-07-29 10:22:03 -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
Thomas J Faughnan Jr 34c712c01c fix: parse date strings as UTC
For posts, comments, and other objects, the `published` attribute is a
string containing an ISO 8601 timestamp. This timestamp is UTC, though
it is not explicit in the string's contents. When the `Date` constructor
is used on such strings, they are parsed as though they are local
timestamps. According to [1]:

> When the time zone offset is absent, date-only forms are
> interpreted as a UTC time and date-time forms are interpreted as local
> time. This is due to a historical spec error that was not consistent
> with ISO 8601 but could not be changed due to web
> compatibility.

This patch explicitly appends a 'Z' to the `published` string when it is
used as the argument to the `Date` constructor.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
2023-07-28 20:02:01 -04:00
Xyphyn 65a1740322 misc: fix Comment.svelte 2023-07-28 16:27:06 -07:00
Xyphyn 55a3b5cfb8 Revert "misc: possibly fix comments not working"
This reverts commit fa20d7a6a8.

	modified:   src/lib/components/lemmy/comment/Comments.svelte
	modified:   src/lib/components/lemmy/comment/comments.ts
2023-07-28 16:25:43 -07:00
Xyphyn 3d19318355 misc: Increase post body padding 2023-07-28 16:22:50 -07:00
Xyphyn fa20d7a6a8 misc: possibly fix comments not working 2023-07-28 14:48:40 -07:00
Xyphyn 6b38edf9c8 misc: tweak comment menu colors 2023-07-28 14:19:46 -07:00