Commit graph

200 commits

Author SHA1 Message Date
Jay Sitter
c2990fd644
Merge branch 'main' into undefined_quote 2023-07-02 15:11:48 -04:00
Jay Sitter
a72cc6807e fix: Fix vote buttons in list view variable width 2023-07-02 11:20:02 -04:00
Jeff Sandberg
17bcfe5257
Add metaKey to markdown-textarea, for macos
On MacOS, Ctrl is less commonly used than Command (⌘).
Javascript expresses command as `metaKey`.

This allows for _either_ Ctrl or Command to be used in the Markdown text
area.

Note that on Windows, on some browsers, the "windows" key is labeled as meta, so it would
work on windows as well.

http://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey
2023-07-02 04:11:09 -06:00
sunaurus
47cbe3e002
Fix quotedText bugs in markdown editor 2023-07-01 19:57:06 +03:00
SleeplessOne1917
751495702c
Use git hash to break cache (#1684)
* Use git hash to break cache

* Address PR feedback

* Make hash docker agnostic

* Add trailing slash

* Update .prettierignore

Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>

* Remove debugging log

* implement getStaticDir util

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-29 10:29:33 -04:00
eee1f443a8 Removing unecessary timezone adjusting 2023-06-29 08:59:54 -04:00
Dessalines
a2716d5f48
Fixing timezone issue with date-fns. Fixes #1680 (#1681)
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-28 23:09:25 -04:00
Sander Saarend
bca438b2c6
Add error toast for 413 content too large response on image uploads (#1675)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 22:53:15 -04:00
Jay Sitter
7be10eb35b Revert #1463, markdown default lang select 2023-06-28 08:44:39 -04:00
Alec Armbruster
746b52f378
add @jsit advice 2023-06-27 13:41:31 -04:00
Alec Armbruster
9cf3c33823
fix weird borders when markdown textarea is disabled 2023-06-27 12:59:06 -04:00
SleeplessOne1917
eef3ac41d3
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:29:13 -04:00
Jay Sitter
f57bf3bb8b fix: Restore icon avatars; make smaller and roundrect 2023-06-26 19:04:13 -04:00
Jay Sitter
d62424d491 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  fix vote button alignment
  Fix feedback on banning an unbanning
  remove icon (#1618)
  Indicate valid and invalid fields in signup form (#1450)
  capitalize button (#1616)
  Move password reset form to separate route, view (#1390)
  feat(UI): Reduce base font size (#1591)
  Fix: missing semantic css classes and html elements (#1583)
2023-06-26 18:24:31 -04:00
Alec Armbruster
937ebfc649
fix vote button alignment 2023-06-26 17:10:39 -04:00
Jay Sitter
b4fdf88915 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  chore(DX): Add prettier to eslint config for use with editors
  fix: Remove unnecessary string interpolations
2023-06-26 11:31:01 -04:00
Jay Sitter
d0f6fdbe4a fix: Remove unnecessary string interpolations 2023-06-25 19:36:19 -04:00
Jay Sitter
5fdbaa0dd9 fix: Tidy up divs 2023-06-25 19:29:31 -04:00
Jay Sitter
a127eea3d8 fix: Add type=button to buttons 2023-06-25 01:40:21 -04:00
Jay Sitter
731c407e31 Merge remote-tracking branch 'lemmy/main' into feat/vote-components
* lemmy/main:
  fix(a11y): Restore aria-activedescendant
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Make foreground of 'remove image button' white
  fix(a11y): Add alt text to emojis form
  fix(a11y): Fix some a11y markup in Searchable Select component
  fix(a11y): Change image remove button to true button element
  fix: Ignore rule for clickaway div; 'Esc' works for this
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
2023-06-25 01:15:57 -04:00
Jay Sitter
fa5faf76cf fix: Fix some Bootstrap 5 font classes 2023-06-25 01:12:56 -04:00
Jay Sitter
88811f9ecb fix: Fix some Bootstrap 5 font classes 2023-06-25 01:11:27 -04:00
Jay Sitter
e09b1f53d3 Merge remote-tracking branch 'lemmy/main' into fix/a11y-fixes-2
* lemmy/main: (38 commits)
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
  fix: Fix some emoji escape logic
  fix: Button doesn't need tabindex
  fix: Fix incorrect function reference
  fix: Emoji picker can be closed with escape key, other a11y fixes
  fix: Fix some a11y issues on jump to content button
  fix: Clarify a comment
  fix: Fix merge error
  Remove federation worker count
  fix: Add triangle alert icon to language warning
  added litely-compact
  changed where custom compact code goes
  added darkly-compact - issue 552
  Refactor first load handling
  Fix issue when navigating awat from settings
  Give function better name
  ...
2023-06-25 01:05:36 -04:00
Jay Sitter
5365d16d62 fix(a11y): Restore aria-activedescendant 2023-06-25 01:03:06 -04:00
Jay Sitter
0b6f7ad8f3 Merge remote-tracking branch 'lemmy/main' into fix/fix-font-classes-bs5
* lemmy/main: (35 commits)
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix some emoji escape logic
  fix: Button doesn't need tabindex
  fix: Fix incorrect function reference
  fix: Emoji picker can be closed with escape key, other a11y fixes
  fix: Fix some a11y issues on jump to content button
  fix: Clarify a comment
  fix: Fix merge error
  Remove federation worker count
  fix: Add triangle alert icon to language warning
  added litely-compact
  changed where custom compact code goes
  added darkly-compact - issue 552
  Refactor first load handling
  Fix issue when navigating awat from settings
  Give function better name
  Change function name
  Make date distance format use correct verbiage
  Extract date fns setup
  ...
2023-06-25 00:56:12 -04:00
Jay Sitter
cfd2830d0d
Merge branch 'main' into feat/vote-components 2023-06-25 00:53:48 -04:00
SleeplessOne1917
083d7a2f05
Merge branch 'main' into fix/a11y-fixes 2023-06-25 04:29:53 +00:00
Jay Sitter
99de15b10b fix(a11y): Make foreground of 'remove image button' white 2023-06-24 19:58:06 -04:00
Jay Sitter
47aafed45f fix(a11y): Fix some a11y markup in Searchable Select component 2023-06-24 19:52:30 -04:00
Jay Sitter
dccfc72e73 fix(a11y): Change image remove button to true button element 2023-06-24 19:44:22 -04:00
Jay Sitter
d3b8943341 fix: Ignore rule for clickaway div; 'Esc' works for this 2023-06-24 19:24:09 -04:00
Jay Sitter
b543ef5ecb fix: Fix another class 2023-06-24 18:43:12 -04:00
Jay Sitter
83ab9e4d8e fix: Fix some Bootstrap 5 font classes 2023-06-24 18:41:29 -04:00
Jay Sitter
93da81c210
Merge branch 'main' into feat/vote-components 2023-06-24 16:33:45 -04:00
Jay Sitter
cf15af7c74
Merge branch 'main' into fix/a11y-fixes 2023-06-24 16:33:17 -04:00
Jay Sitter
f6a40fbb28
Merge branch 'main' into feat/create-private-message-updates 2023-06-24 16:30:35 -04:00
Jay Sitter
b98939dd0f fix: Fix some emoji escape logic 2023-06-24 16:29:41 -04:00
Jay Sitter
ffa98c8e3a
Merge branch 'main' into feat/vote-components 2023-06-24 15:00:52 -04:00
Jay Sitter
5ed7352359 fix: Emoji picker can be closed with escape key, other a11y fixes 2023-06-24 01:58:21 -04:00
Jay Sitter
8184e33c9f fix: Fix up some interface language logic and design 2023-06-24 00:44:01 -04:00
Jay Sitter
a9e6b47ad8 fix: Clarify a comment 2023-06-24 00:38:17 -04:00
Jay Sitter
f8228b5af9 fix: Add triangle alert icon to language warning 2023-06-24 00:15:04 -04:00
SleeplessOne1917
6dd871f42d Give function better name 2023-06-24 00:14:11 -04:00
SleeplessOne1917
543de49622 Make date distance format use correct verbiage 2023-06-24 00:14:11 -04:00
SleeplessOne1917
de3cdb421e Replace momentjs with date-fns 2023-06-24 00:14:10 -04:00
Jay Sitter
d78514c665 fix: Add aria-describedby for language warning 2023-06-24 00:14:10 -04:00
Jay Sitter
d735369db0
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-24 00:06:40 -04:00
Jay Sitter
4959d342bb
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-24 00:06:18 -04:00
Jay Sitter
5d85e3a7c9 fix: Disable save button if no text is entered 2023-06-23 23:43:49 -04:00
Jay Sitter
7145e0be27 fix: Fix some more private message form stuff 2023-06-23 23:38:39 -04:00