[Glitch] Add reminder when about to post without alt text in web UI

Port 1e70da5e3c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2025-01-29 12:37:56 +01:00
committed by Claire
parent 800bea7209
commit a3399ed560
11 changed files with 121 additions and 77 deletions

View File

@@ -192,6 +192,9 @@ export function directCompose(account) {
};
}
/**
* @param {null | string} overridePrivacy
*/
export function submitCompose(overridePrivacy = null) {
return function (dispatch, getState) {
let status = getState().getIn(['compose', 'text'], '');