Claire
2862f0d94a
Further JS code style changes
2023-02-04 22:31:47 +01:00
Claire
5d7c0b3254
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
9a5233f107
and a few others did.
2023-02-03 20:52:07 +01:00
Christian Schmidt
4051993833
[Glitch] Add lang attribute to image description textarea and poll option field
...
Port 6f08e79465
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 19:23:36 +01:00
Claire
4b9c5fffde
[Glitch] Add lang attribute to compose textarea and CW field
...
Port 6feec4fd18
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-24 20:40:48 +01:00
Connor Shea
d4932b3073
[Glitch] Add listing of followed hashtags
...
Port be280f10c5
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-18 17:58:18 +01:00
Claire
c0a441d90f
[Glitch] Add support for editing media description and focus point of already-posted statuses
...
Port 42aa864c84
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-18 17:52:45 +01:00
Claire
05e9c71cfc
[Glitch] Remove hardcoded width from dropdown overlays
...
Port ff5f21d505
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-12 17:48:10 +01:00
Peter Simonsson
37cd05b115
[Glitch] Fix dropdown menu positions when scrolling
...
Port 9d20c31f9c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-12 11:18:22 +01:00
Holden Foreman
67b5d82b42
[Glitch] Add aria-hidden to content warning field when dimmed so that it is not confusing to screen reader users
...
Port 4515ec2696
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:14:04 +01:00
Plastikmensch
66d84db53a
Prevent doodle from closing on outside click ( #2047 )
...
Adds a new property to the dispatch, which when set to true, replaces the onClose handler with a no-op, preventing the modal from closing.
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-01-04 11:59:43 +01:00
Ariadne Conill
80903a3b77
th: Merge https://gitea.treehouse.systems/mirrors/mastodon-glitch into merge/glitch-4.0.2
2022-12-28 22:08:51 +00:00
Ariadne Conill
895af6f8b0
th: add reply and quote icons to the reply/quote indicators so people know what is going on
2022-12-26 04:38:21 +00:00
Ariadne Conill
24564bf574
th: glitch: fix up quote indicator
2022-12-26 02:53:01 +00:00
Ariadne Conill
5988775665
th: flavors: glitch: add quote indicator component
2022-12-26 01:27:58 +00:00
Rens Groothuijsen
6e40a09c88
[Glitch] Display search popout at fixed screen position
...
Port 37e12ff0ae
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:05:28 +01:00
Pleclown
99cd75cfc4
[Glitch] Adding 12 hours option for polls
...
Port 8993b7d630
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:54:53 +01:00
Alex Stine
44b65e3b13
[Glitch] Fix hidden label causing accessibility issue for search inputs
...
Port ce1103a154
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:54:11 +01:00
Claire
dd29c1d258
Port navigation bar from upstream ( #1986 )
...
Fixes #1977
2022-12-01 20:06:08 +01:00
Claire
cc21d9137f
Fix privacy dropdown in boost modal on mobile ( #1967 )
...
Fixes #1965
2022-11-22 11:26:14 +01:00
Kouhai
a590a2a093
th: Merge remote-tracking branch 'glitch/main'
2022-11-15 12:03:46 -08:00
Claire
06c5841fbd
[Glitch] Add the ability to edit media attachment metadata for any unattached media
...
Port d55054b166
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-12 14:01:47 +01:00
Claire
905aa6616d
[Glitch] Remove “No description added” media warning in edit mode
...
Port 28ae058593
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-12 13:57:41 +01:00
Claire
bef72dcabb
Fix styling of advanced options dropdown ( #1916 )
...
Fixes #1914
2022-11-12 09:59:28 +01:00
Ariadne Conill
c8f704e1a0
th: Merge gitea.treehouse.systems:mirrors/mastodon-glitch
2022-11-10 07:11:03 +00:00
Claire
59e51cfea4
[Glitch] Fix opening the language picker scrolling the single-column view to the top
...
Port ffef3ac03b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-08 15:49:09 +01:00
Ariadne Conill
4a8fae94bf
th: Merge https://gitea.treehouse.systems/treehouse/mastodon-glitch into rebase/4.0.0rc2
2022-11-07 23:20:04 +00:00
Ariadne Conill
5ab9afa33f
th: glitch: emoji: set sprite sheet to 63x63
2022-11-06 18:21:52 +00:00
Claire
ba394a191b
Change glitch-soc composer classes to match upstream
2022-11-06 17:29:04 +01:00
Sunny Ripert
1ad7f63551
[Glitch] Fix JavaScript console error on upload editing status
...
Port 343099eafa
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06 10:46:03 +01:00
Eugen Rochko
b12ffe1fbf
[Glitch] Fix upload progress not communicating processing phase in web UI
...
Port 89ef2cf044
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-30 18:30:58 +01:00
Eugen Rochko
a1fed002e8
[Glitch] Fix logged out search and changed logged-in search placeholder
...
Port 973d496b86
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-30 18:24:57 +01:00
Eugen Rochko
97e7443443
[Glitch] Fix redirecting to /publish
when compose form is visible in web UI
...
Port 2e0f4c286f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:26:28 +02:00
Eugen Rochko
104af53947
[Glitch] Change public accounts pages to mount the web UI
...
Port 0fdfbe555e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Eugen Rochko
d8338794a1
[Glitch] Fix logged-out web UI on smaller screens
...
Port 2d634b669b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Claire
dc4e84cebd
Port various forgotten fixes from upstream ( #1864 )
...
* [Glitch] Fix crash when failing to load emoji picker
Port 09b322872a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
* [Glitch] Remove duplicate frequently used emojis
Port f7c306596f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Harmon <Harmon758@gmail.com>
2022-10-12 19:03:28 +02:00
Claire
74e5dc13d8
Move flavours/glitch/features/emoji_picker back to flavours/glitch/features/compose/containers/emoji_picker_dropdown_container
2022-10-11 14:17:27 +02:00
Claire
bf6b66bf32
Move more modules from flavours/glitch/utils to flavours/glitch
2022-10-11 12:25:45 +02:00
Claire
61c3d9fc75
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/compose/util/
2022-10-11 12:15:08 +02:00
Claire
812b755bcb
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/
2022-10-11 11:31:11 +02:00
Claire
874cd0e883
Rename flavours/glitch/util into flavours/glitch/utils
2022-10-11 11:31:11 +02:00
Claire
3bf201ddaa
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2022-10-11 10:17:04 +02:00
Claire
e1d3397818
[Glitch] Add ability to filter individual posts
...
Port 522fbf9d13
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 09:52:13 +02:00
Eugen Rochko
2184897fba
[Glitch] Change label of publish button to be "Publish" again
...
Port 8ec66981da
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-02 11:11:26 +02:00
Claire
b1085e2dfa
Fix crash in glitch-soc search results when Elasticsearch is disabled ( #1780 )
2022-05-24 16:10:18 +02:00
Eugen Rochko
c0a5c88364
[Glitch] Add language dropdown to compose in web UI
...
Port e4a9aa1ab4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-16 23:06:29 +02:00
Claire
a4c1a80a7f
Fix backend terms link not being used
2022-05-03 11:10:58 +02:00
Claire
6e8284756b
[Glitch] Rename toots to posts in various places, add or reword DM warnings
...
Port part of 07737bb6d1
and c33a26ed38
to glitch-soc
2022-05-03 10:59:23 +02:00
Eugen Rochko
1c4374eb7d
[Glitch] Add hint about missing media attachment description in web UI
...
Port 354415e7ce
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-22 17:55:17 +01:00
Claire
5dd7d6bc07
[Glitch] Fix reply button on media modal not giving focus to compose form
...
Port cbf951569e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-26 09:54:48 +01:00
Claire
3ff513bd3b
[Glitch] Fix controls for unchangeable properties on status edit not being disabled
...
Port d10eb06cb4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-12 22:36:39 +01:00
Holly
45309f7748
Make the settings button go to settings when opened in a new tab
2022-02-12 20:12:29 +01:00
Eugen Rochko
838f800808
[Glitch] Add editing for published statuses
...
Port cb76142d9e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-10 19:10:20 +01:00
Claire
e689495a81
Please Codeclimate
2022-02-09 17:15:36 +01:00
Claire
1af75ba990
Rework actions modal to bring it closer to upstream and fix modal stacking issue
2022-02-09 16:40:23 +01:00
Claire
d92bd7c906
Remove unused noModal prop
2022-02-09 16:40:23 +01:00
Claire
952342d251
Some more refactoring
2022-02-09 16:40:23 +01:00
Claire
f14193d3f4
Refactor dropdown and action modal code slightly
...
Simplify it a bit and make it closer to upstream
2022-02-09 13:23:12 +01:00
Claire
1800e05513
[Glitch] Fix text being incorrectly pre-selected in composer textarea on /share
...
Port 335049cc33
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-23 18:24:34 +01:00
Eugen Rochko
2bd9f2c0e8
[Glitch] Add graphs and retention metrics to admin dashboard ( #16829 )
...
Port cad446611c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-14 21:45:01 +02:00
Eugen Rochko
e28fcc78ee
[Glitch] Change routing paths to use usernames in web UI
...
Port ce84967ee4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-09-26 21:35:57 +02:00
Takeshi Umeda
f2cdc96537
[Glitch] Fix logout link not working in safari
...
Port 810945c95b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-09 23:45:58 +02:00
Claire
c58ad61ffc
[Glitch] Add confirmation modal when closing media edit modal with unsaved changes
...
Port 4166ecfedb
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-25 12:59:03 +02:00
Claire
9ed876972a
Fix follow suggestions scrolling on mobile view
...
Also simplify the CSS a bit and bring it closer to upstream.
2021-07-12 10:22:57 +02:00
Eugen Rochko
096deaad7a
[Glitch] Fix "You might be interested in" flashing while searching in web UI
...
Port f932cc9b26
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Takeshi Umeda
bac5e8202a
[Glitch] Fix not to show follow button in global suggestion
...
Port ecb285afb8
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-21 13:50:51 +02:00
Eugen Rochko
bd9429d89b
[Glitch] Add cold-start follow recommendations
...
Port front-end changes from 92b2d926bf
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-21 13:50:51 +02:00
Noiob
137a3f6648
Remove superfluous toot length check
2021-04-05 14:30:43 +02:00
Claire
6542281066
[Glitch] Fix compose form behavior in mobile view
...
Port c9a92dd35a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-24 11:21:21 +01:00
Claire
12d91755f5
[Glitch] Add dropdown for boost privacy in boost confirmation modal
...
Port c848e85068
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-12 12:31:49 +01:00
Claire
cc5b429545
Refactor privacy dropdown to have an interface closer to upstream's
2021-02-12 12:04:04 +01:00
ThibG
07408600f3
[Glitch] Add “translate” class to other user strings
...
Port 603ce7e1f5
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-01-26 14:05:24 +01:00
Eugen Rochko
1c781bb05d
[Glitch] Change RTL detection to rely on unicode-bidi paragraph by paragraph
...
Port 812f2bdb8f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2020-12-15 16:42:39 +01:00
Mélanie Chauvel
41428823de
[Glitch] Fix character count not ignoring hidden CW field
...
Port 413526a7b8
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2020-12-05 21:15:18 +01:00
Mélanie Chauvel
2c7280ac42
[Glitch] Make “Mark media as sensitive” properly translatable
...
Port 6c072d8dec
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-03 17:36:54 +01:00
ThibG
b11521e251
[Glitch] Fix scrolling issues when closing some dropdown menus
...
Port b4d2063384
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-08-30 16:31:02 +02:00
Thibaut Girka
cf50a1c31f
Change styling to always have scrollbar on search results
2020-08-17 15:46:18 +02:00
Thibaut Girka
f2a9736f52
[Glitch] Fallback to previous, more approximative hashtag RE on older browsers
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-08-05 13:43:32 +02:00
kedama
c61988629c
[Glitch] Fix the hashtag judgment of the compose form to be the same as the server side
...
Port a903875e3c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-08-02 14:33:22 +02:00
Thibaut Girka
22f2f6f43b
Fix Cmd-Enter not working to send toot
...
Fixes #1333
2020-05-26 10:15:35 +02:00
ThibG
80b1201644
[Glitch] Fix first poll option not being focused when adding a poll
...
Port 60dc5738cb
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-13 23:17:10 +02:00
ThibG
3da2cd21fd
[Glitch] Fix page incorrectly scrolling when bringing up dropdown menus
...
Port e88a05f707
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:47:11 +02:00
ThibG
7195bca890
[Glitch] Fix and refactor keyboard navigation in dropdown menus
...
Port 69696c62b1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:24:02 +02:00
Sasha Sorokin
56dba219d1
[Glitch] Improve polls: option lengths & redesign
...
Port abbc0c6a87
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:52:53 +02:00
Thibaut Girka
e16832bc9c
Fix missing media description dialog when sending toots with keyboard shortcuts
2020-03-14 14:59:14 +01:00
Thibaut Girka
03309b0dc5
Fix posting privacy on secondary button with missing description confirmation dialog
2020-03-14 12:33:50 +01:00
Bèr Kessels
96b18a705f
[Glitch] Code style improvements in JavaScript
...
Port b5d7ec71ef
to glitch-soc
* JS-linter: fix trailing comma's
* Configure eslinter to ignore this onchange error.
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:43:53 +01:00
Mélanie Chauvel (ariasuni)
ce8d13d2fb
[Glitch] Change description of privacy levels to be more intuitive in web UI
...
Port 263bedff9e
to glitch-soc
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:37:13 +01:00
Thibaut Girka
f9a919ab3e
Fix clicking on the “TOOT” button send bogus visibility parameter
2020-02-16 00:10:45 +01:00
Thibaut Girka
23bf32d2b5
Fix alt+enter changing visibility setting without sending toot when toot is empty
2020-02-14 22:38:24 +01:00
ThibG
c98e2faa41
[Glitch] Fix WebUI allowing to upload more items than the limit
...
Port 83a88426ca
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-07 14:31:53 +01:00
Jeong Arm
d5827dd85f
[Glitch] Scroll into search bar when focus
...
Port c388ed5630
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-04 19:22:11 +02:00
Thibaut Girka
1da97e86a4
Fix composer dropdown toggle buttons (threaded mode and local-only) not working
2019-09-18 00:11:03 +02:00
Thibaut Girka
8605a25800
Fix wrong icons from last refactoring
...
Fix regressions from 6b45aa450b
2019-09-10 14:56:08 +02:00
Thibaut Girka
9b0b130299
Use the Icon
component instead of directly using i
tag
2019-09-09 19:00:20 +02:00
Thibaut Girka
6b45aa450b
Use upstream's Icon component
...
Rework the codebase to avoid unnecessary differences with upstream
2019-09-09 19:00:20 +02:00
Thibaut Girka
90ac926b1c
Update backend links and fix hardcoded ones
2019-08-31 18:23:24 +02:00
Thibaut Girka
2743b33722
Fix imports importing modules from vanilla flavour instead of glitch
2019-08-31 18:23:24 +02:00
ThibG
47ffc93705
[Glitch] Add confirmation modal when logging out from the web app
...
Port d255ce2f1a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka
c2ecfa969b
Add button to edit media description from missing description confirmation dialog
2019-08-20 11:33:35 +02:00
Thibaut Girka
cec23a0de6
Remove code for giving focus to first media without description
...
Since the textarea is in a modal, now…
2019-08-20 10:55:03 +02:00