Commit graph

223 commits

Author SHA1 Message Date
Jay Sitter
53348d5ac4
fix: Add focus ring color to post action buttons and markdown help link (#1816) 2023-07-05 11:41:12 -04:00
Jay Sitter
b45c24537d
fix: Fix focus ring styles for radio button toggles #1772 (#1773) 2023-07-04 17:24:57 -04:00
Jay Sitter
778c3533f0
feat: Subtler user badge style (#1796) 2023-07-04 16:54:38 -04:00
Jay Sitter
21c8b64cda fix: Add focus border to markdown toolbar buttons 2023-07-04 00:53:52 -04:00
Jay Sitter
5a95a058ae
fix: Fix comment collapse and vote buttons not having focus style (#1789) 2023-07-03 16:53:10 -04:00
SleeplessOne1917
34f04e6758
Merge branch 'main' into fix/fix-badges-spacing-componentize 2023-07-03 12:29:55 +00:00
SleeplessOne1917
7389b1f9c8
Merge branch 'main' into fix/use-row-in-filters 2023-07-02 23:56:46 +00:00
Jay Sitter
6cb49967c2 fix: Move getRoleLabelPill to the only component that uses it 2023-07-02 19:47:12 -04:00
Jay Sitter
50b1a395f1
Merge branch 'main' into fix/fix-badges-spacing-componentize 2023-07-02 18:59:15 -04:00
Jay Sitter
9869b911cf fix: Fix badge alignment and break out into component 2023-07-02 18:48:35 -04:00
SleeplessOne1917
e7f7bc2e36
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-07-02 22:22:15 +00:00
Jay Sitter
23ee563dfb
Merge branch 'main' into fix/vote-button-no-spinners-1761 2023-07-02 17:36:52 -04:00
Jay Sitter
0047c17eb3 fix: Fix avatar image overlay aspect ratio 2023-07-02 17:24:06 -04:00
Jay Sitter
61276ec4e5 fix: Fix circle image aspect ratio 2023-07-02 17:14:00 -04:00
Jay Sitter
3c6505b9fd fix: Add some spacing between upload field and image; fix circle image aspect ratio 2023-07-02 16:08:55 -04:00
Jay Sitter
0bd0a49730
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-07-02 15:24:18 -04:00
Jay Sitter
c2990fd644
Merge branch 'main' into undefined_quote 2023-07-02 15:11:48 -04:00
Jay Sitter
65fcaafab7 fix: Fix vote buttons not showing spinners while registering vote #1761 2023-07-02 15:07:37 -04:00
Jay Sitter
d258edfbaf fix: Small cleanup to search/inbox controls 2023-07-02 13:18:16 -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
b2b6f4521f fix: Use Bootstrap file upload form control styles 2023-06-26 18:42:44 -04:00
Alec Armbruster
28661dfacf fix vote button alignment 2023-06-26 18:30:31 -04:00
Jay Sitter
8fd08e58e3 fix: Remove unnecessary string interpolations 2023-06-26 18:30:31 -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
7d44bc4993 Merge remote-tracking branch 'lemmy/main' into feat/create-post-file-upload-a11y
* lemmy/main:
  fix: Add type=button to buttons
  chore: Empty commit to re-trigger Woodpecker
  fix: Fix some Bootstrap 5 font classes
  fix: Fix some Bootstrap 5 font classes
  fix: Specify vote content type so buttons work for both comments and posts
  v0.18.0
  Fix homepage `scrollTo(0, 0)` failing when document size changes.
  v0.18.0-rc.8
  Moved `!isBrowser()` check to `FirstLoadServer.isFirstLoad`
  Fix server-side rendering after first load.
  fix!: Try to get Vote Buttons component working in Comments
  fix: Remove unused prop
  fix: Rework some vote buttons architecture
  fix: Undo some other extraneous changes
  fix: Undo some extraneous changes
  fix: Remove tippy duplicate functions
  fix: Revert to old mobile vote style
  feat: Move vote buttons to separate component
2023-06-25 02:27:37 -04:00
Jay Sitter
dc43c51b0d fix(a11y): Change the look and behavior of some file upload fields 2023-06-25 02:27:07 -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