Tidy names

This commit is contained in:
Bryan Ashby 2023-02-20 16:36:34 -07:00
parent 30cb21f092
commit 777df9f879
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
4 changed files with 139 additions and 138 deletions

View File

@ -429,140 +429,6 @@
} }
} }
// :TODO: move this to the right area, rename, etc.
mainMenuActivityPubUserConfig: {
config: {
mainInfoFormat10: "{subject}"
}
0: {
mci: {
TM1: {
focusTextStyle: first lower
}
TM2: {
focusTextStyle: first lower
}
TM3: {
focusTextStyle: first lower
}
TM4: {
focusTextStyle: first lower
}
TL5: {
width: 70
}
TL6: {
width: 70
}
BT7: {
width: 20
itemFormat: "|00|08[ |03{text} |08]"
focusItemFormat: "|00|15[ |19|15{text}|16 |15]"
focusTextStyle: first lower
}
TM8: {
focusTextStyle: first lower
}
TL10: {
width: 40
}
}
}
1: {
mci: {
ML1: {
height: 4
width: 70
}
ML2: {
height: 4
width: 70
}
TM3: {
focusTextStyle: first lower
}
}
}
}
activityPubFollowingManager: {
config: {
selectedActorInfoFormat: "|00|15{preferredUsername} |08(|02{name}|08)\n|07following|08: {statusIndicator}\n\n|06{plainTextSummary}"
statusIndicatorEnabled: "|00|10√"
staticIndicatorDisabled: "|00|12X"
}
0: {
mci: {
VM1: {
height: 15
width: 35
itemFormat: "|00|03{subject}|00 {statusIndicator}"
focusItemFormat: "|00|19|15{subject!styleUpper}|00 {statusIndicator}"
itemFormat: "|00{statusIndicator} |00|03{subject}"
focusItemFormat: "|00{statusIndicator} |00|19|15{subject}"
textOverflow: "..."
}
MT2: {
height: 15
width: 34
}
TM3: {
focusTextStyle: first lower
styleSGR1: "|00|08"
}
}
}
}
// :TODO: move this to the right area, rename, etc.
mainMenuActivityPubActorSearch: {
config: {
followingIndicator: "|00|14> |10Following|08!|14 <"
notFollowingIndicator: "|00|14> |02Not Following|14 <"
viewInfoFormat10: "{actorFollowingIndicator}"
}
0: {
mci: {
TL1: {
width: 70
submit: true
}
}
}
1: {
mci: {
TL1: {
width: 70
}
TL2: {
width: 70
}
TL3: {
width: 70
}
TL4: {
width: 10
}
TL5: {
width: 4
}
TL6: {
width: 4
}
MT7: {
focus: true
width: 69
height: 3
mode: preview
}
TL10: {
width: 24
}
}
}
}
mainMenuRumorz: { mainMenuRumorz: {
0: { 0: {
mci: { mci: {
@ -1394,6 +1260,141 @@
} }
} }
//
// ActivityPub
//
activityPubUserConfig: {
config: {
mainInfoFormat10: "{subject}"
}
0: {
mci: {
TM1: {
focusTextStyle: first lower
}
TM2: {
focusTextStyle: first lower
}
TM3: {
focusTextStyle: first lower
}
TM4: {
focusTextStyle: first lower
}
TL5: {
width: 70
}
TL6: {
width: 70
}
BT7: {
width: 20
itemFormat: "|00|08[ |03{text} |08]"
focusItemFormat: "|00|15[ |19|15{text}|16 |15]"
focusTextStyle: first lower
}
TM8: {
focusTextStyle: first lower
}
TL10: {
width: 40
}
}
}
1: {
mci: {
ML1: {
height: 4
width: 70
}
ML2: {
height: 4
width: 70
}
TM3: {
focusTextStyle: first lower
}
}
}
}
activityPubSocialManager: {
config: {
selectedActorInfoFormat: "|00|15{preferredUsername} |08(|02{name}|08)\n|07following|08: {statusIndicator}\n\n|06{plainTextSummary}"
statusIndicatorEnabled: "|00|10√"
staticIndicatorDisabled: "|00|12X"
}
0: {
mci: {
VM1: {
height: 15
width: 35
itemFormat: "|00|03{subject}|00 {statusIndicator}"
focusItemFormat: "|00|19|15{subject!styleUpper}|00 {statusIndicator}"
itemFormat: "|00{statusIndicator} |00|03{subject}"
focusItemFormat: "|00{statusIndicator} |00|19|15{subject}"
textOverflow: "..."
}
MT2: {
height: 15
width: 34
}
TM3: {
focusTextStyle: first lower
styleSGR1: "|00|08"
}
}
}
}
activityPubActorSearch: {
config: {
followingIndicator: "|00|14> |10Following|08!|14 <"
notFollowingIndicator: "|00|14> |02Not Following|14 <"
viewInfoFormat10: "{actorFollowingIndicator}"
}
0: {
mci: {
TL1: {
width: 70
submit: true
}
}
}
1: {
mci: {
TL1: {
width: 70
}
TL2: {
width: 70
}
TL3: {
width: 70
}
TL4: {
width: 10
}
TL5: {
width: 4
}
TL6: {
width: 4
}
MT7: {
focus: true
width: 69
height: 3
mode: preview
}
TL10: {
width: 24
}
}
}
}
mrc: { mrc: {
config: { config: {
messageFormat: "|00|10<|02{fromUserName}|10>|00 |03{message}|00" messageFormat: "|00|10<|02{fromUserName}|10>|00 |03{message}|00"

View File

@ -35,7 +35,7 @@ const MciViewIds = {
}, },
}; };
exports.getModule = class ActivityPubFollowingManager extends MenuModule { exports.getModule = class activityPubSocialManager extends MenuModule {
constructor(options) { constructor(options) {
super(options); super(options);
this.setConfigWithExtraArgs(options); this.setConfigWithExtraArgs(options);

View File

@ -1,7 +1,7 @@
{ {
"menus": { "menus": {
"activityPubMenu": { "activityPubMenu": {
"desc": "Menu for all ActivityPub actions", "desc": "ActivityPub",
"art": "activitypub_menu", "art": "activitypub_menu",
"prompt": "menuCommand", "prompt": "menuCommand",
"submit": [ "submit": [
@ -21,7 +21,7 @@
"value": { "value": {
"command": "M" "command": "M"
}, },
"action": "@menu:activityPubFollowingManager" "action": "@menu:activityPubSocialManager"
}, },
{ {
"value": { "value": {
@ -211,7 +211,7 @@
} }
} }
}, },
"activityPubFollowingManager": { "activityPubSocialManager": {
"desc": "Social Manager", "desc": "Social Manager",
"module": "./activitypub/social_manager", "module": "./activitypub/social_manager",
"config": { "config": {