further tweaks

This commit is contained in:
tobi
2024-12-17 11:34:02 +01:00
parent df322aacd4
commit a21f6a9a6b
18 changed files with 19 additions and 1075 deletions

View File

@@ -213,11 +213,6 @@ class ComposerOptions extends ImmutablePureComponent {
name: 'text/plain',
text: formatMessage(messages.plain),
},
html: {
icon: 'code',
name: 'text/html',
text: formatMessage(messages.html),
},
markdown: {
icon: 'arrow-circle-down',
name: 'text/markdown',
@@ -279,7 +274,6 @@ class ComposerOptions extends ImmutablePureComponent {
icon={(contentTypeItems[contentType.split('/')[1]] || {}).icon}
items={[
contentTypeItems.plain,
contentTypeItems.html,
contentTypeItems.markdown,
]}
onChange={onChangeContentType}

View File

@@ -14,7 +14,7 @@ import { maxChars } from 'flavours/glitch/initial_state';
const messages = defineMessages({
publish: {
defaultMessage: 'Publish',
defaultMessage: 'Promulgate',
id: 'compose_form.publish',
},
publishLoud: {

View File

@@ -56,7 +56,7 @@ class LinkFooter extends PureComponent {
return (
<div className='link-footer'>
<p>
<strong>Masto-FE (GoToSocial flavour)</strong>
<strong>Masto-FE (sloth flavour)</strong>
{DividingCircle}
<a href={source_url} rel='noopener noreferrer' target='_blank'><FormattedMessage id='footer.source_code' defaultMessage='Source code' /></a>
{DividingCircle}

View File

@@ -6,7 +6,7 @@ import { LOCAL_SETTING_CHANGE, LOCAL_SETTING_DELETE } from 'flavours/glitch/acti
import { STORE_HYDRATE } from 'flavours/glitch/actions/store';
const initialState = ImmutableMap({
layout : 'auto',
layout : 'mobile',
stretch : true,
side_arm : 'none',
side_arm_reply_mode : 'keep',
@@ -19,13 +19,13 @@ const initialState = ImmutableMap({
preselect_on_reply: false,
inline_preview_cards: true,
hicolor_privacy_icons: false,
show_content_type_choice: false,
show_content_type_choice: true,
tag_misleading_links: true,
rewrite_mentions: 'no',
content_warnings : ImmutableMap({
filter : null,
media_outside: false,
shared_state : false,
media_outside: true,
shared_state : true,
}),
collapsed : ImmutableMap({
enabled : true,
@@ -45,7 +45,7 @@ const initialState = ImmutableMap({
show_action_bar : true,
}),
media : ImmutableMap({
letterbox : true,
letterbox : false,
fullwidth : true,
reveal_behind_cw : false,
pop_in_player : true,