This commit is contained in:
Mirco Wittrien 2019-11-14 17:56:26 +01:00
parent e028e9521c
commit 5e705a6147
40 changed files with 236 additions and 157 deletions

View File

@ -14,10 +14,12 @@ class BadgesEverywhere {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
MemberListItem: "render",
MessageUsername: "render",
UserPopout: "render"
this.patchedModules = {
after: {
MemberListItem: "render",
MessageUsername: "render",
UserPopout: "render"
}
};
}

View File

@ -14,9 +14,11 @@ class BetterFriendCount {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
TabBar: "render",
FriendRow: ["componentWillMount","componentWillUnmount"]
this.patchedModules = {
after: {
TabBar: "render",
FriendRow: ["componentWillMount","componentWillUnmount"]
}
};
}

View File

@ -14,8 +14,10 @@ class BetterNsfwTag {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
ChannelItem: "render"
this.patchedModules = {
after: {
ChannelItem: "render"
}
};
}

View File

@ -14,8 +14,10 @@ class BetterSearchPage {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
"SearchResults":"render"
this.patchedModules = {
after: {
SearchResults: "render"
}
};
}

View File

@ -15,10 +15,12 @@ class CharCounter {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
ChannelTextArea: "render",
Note: "render",
ChangeNickname: "render"
this.patchedModules = {
after: {
ChannelTextArea: "render",
Note: "render",
ChangeNickname: "render"
}
};
}

View File

@ -14,9 +14,11 @@ class ChatAliases {
"fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]]
};
this.patchModules = {
"ChannelTextArea":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"ChannelTextArea":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,9 +14,11 @@ class ChatFilter {
"fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]]
};
this.patchModules = {
"Message":["componentDidMount","componentDidUpdate"],
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"Message":["componentDidMount","componentDidUpdate"],
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -15,10 +15,12 @@ class CompleteTimestamps {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
Message: "render",
MessageContent: "render",
Embed: "render"
this.patchedModules = {
after: {
Message: "render",
MessageContent: "render",
Embed: "render"
}
};
}

View File

@ -14,9 +14,11 @@ class CreationDate {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
UserPopout: "render",
AnalyticsContext: "render"
this.patchedModules = {
after: {
UserPopout: "render",
AnalyticsContext: "render"
}
};
}

View File

@ -14,11 +14,13 @@ class DisplayServersAsChannels {
"fixed":[["Server Unclickable","Severs can now be clicked again to switch servers ... oof"],["Folder Styling","Fixed some styling issues with native folders created by the new ServerFolders update"]]
};
this.patchModules = {
"Guilds":"componentDidMount",
"Guild":["componentDidMount","componentDidUpdate"],
"GuildFolder":["componentDidMount","componentDidUpdate"],
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"Guilds":"componentDidMount",
"Guild":["componentDidMount","componentDidUpdate"],
"GuildFolder":["componentDidMount","componentDidUpdate"],
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,16 +14,18 @@ class EditChannels {
"fixed":[["Settings","Fixed issue where settings could not be saved"]]
};
this.patchModules = {
"ChannelTextArea":"componentDidMount",
"AuditLog":"componentDidMount",
"InviteCard":"render",
"ChannelCategoryItem":["componentDidMount","componentDidUpdate"],
"ChannelItem":["componentDidMount","componentDidUpdate"],
"HeaderBar":["componentDidMount","componentDidUpdate"],
"HeaderBarContainer":["componentDidMount","componentDidUpdate"],
"Clickable":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"ChannelTextArea":"componentDidMount",
"AuditLog":"componentDidMount",
"InviteCard":"render",
"ChannelCategoryItem":["componentDidMount","componentDidUpdate"],
"ChannelItem":["componentDidMount","componentDidUpdate"],
"HeaderBar":["componentDidMount","componentDidUpdate"],
"HeaderBarContainer":["componentDidMount","componentDidUpdate"],
"Clickable":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,11 +14,13 @@ class EditServers {
"fixed":[["Tooltips","Fixed issue where native tooltip wasn't hidden"]]
};
this.patchModules = {
"Guild":"componentDidMount",
"GuildIconWrapper":"componentDidMount",
"GuildHeader":["componentDidMount","componentDidUpdate"],
"Clickable":"componentDidMount"
this.patchedModules = {
after: {
"Guild":"componentDidMount",
"GuildIconWrapper":"componentDidMount",
"GuildHeader":["componentDidMount","componentDidUpdate"],
"Clickable":"componentDidMount"
}
};
}

View File

@ -14,31 +14,33 @@ class EditUsers {
"fixed":[["Account","Fixed the coloring in the account details container"]]
};
this.patchModules = {
"ChannelTextArea":"componentDidMount",
"MemberListItem":["componentDidMount","componentDidUpdate"],
"UserPopout":["componentDidMount","componentDidUpdate"],
"UserProfile":["componentDidMount","componentDidUpdate"],
"FriendRow":"componentDidMount",
"VoiceUser":["componentDidMount","componentDidUpdate"],
"Account":["componentDidMount","componentDidUpdate"],
"AuditLog":"componentDidMount",
"BannedCard":"render",
"InviteCard":"render",
"MemberCard":"render",
"InvitationCard":"componentDidMount",
"TypingUsers":"componentDidUpdate",
"MessageUsername":["componentDidMount","componentDidUpdate"],
"DirectMessage":"componentDidMount",
"CallAvatar":"componentDidMount",
"VideoTile":"componentDidMount",
"PictureInPictureVideo":"componentDidMount",
"PrivateChannel":["componentDidMount","componentDidUpdate"],
"HeaderBar":["componentDidMount","componentDidUpdate"],
"HeaderBarContainer":["componentDidMount","componentDidUpdate"],
"Clickable":"componentDidMount",
"MessageContent":["componentDidMount","componentDidUpdate"],
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"ChannelTextArea":"componentDidMount",
"MemberListItem":["componentDidMount","componentDidUpdate"],
"UserPopout":["componentDidMount","componentDidUpdate"],
"UserProfile":["componentDidMount","componentDidUpdate"],
"FriendRow":"componentDidMount",
"VoiceUser":["componentDidMount","componentDidUpdate"],
"Account":["componentDidMount","componentDidUpdate"],
"AuditLog":"componentDidMount",
"BannedCard":"render",
"InviteCard":"render",
"MemberCard":"render",
"InvitationCard":"componentDidMount",
"TypingUsers":"componentDidUpdate",
"MessageUsername":["componentDidMount","componentDidUpdate"],
"DirectMessage":"componentDidMount",
"CallAvatar":"componentDidMount",
"VideoTile":"componentDidMount",
"PictureInPictureVideo":"componentDidMount",
"PrivateChannel":["componentDidMount","componentDidUpdate"],
"HeaderBar":["componentDidMount","componentDidUpdate"],
"HeaderBarContainer":["componentDidMount","componentDidUpdate"],
"Clickable":"componentDidMount",
"MessageContent":["componentDidMount","componentDidUpdate"],
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,8 +14,10 @@ class EmojiStatistics {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
EmojiPicker: "render"
this.patchedModules = {
after: {
EmojiPicker: "render"
}
};
}

View File

@ -15,8 +15,10 @@ class FriendNotifications {
"fixed":[["Double notifications","It now should be impossible for the plugin to trigger double notifications, if this problem still occurs to you, then something is wrong on your end (double plugin file or two different versions at the same time)"],["Listening/Playing/Streaming","Fixed notifications not showing for those types"]]
};
this.patchModules = {
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,11 +14,13 @@ class GoogleTranslateOption {
"improved":[["Right Click","Fixed issue where right click would not quick enable/disable translating"]]
};
this.patchModules = {
"ChannelTextArea":["componentDidMount","render"],
"Message":"componentDidMount",
"MessageContent":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
ChannelTextArea: ["componentDidMount","render"],
Message: "componentDidMount",
MessageContent: "componentDidMount",
StandardSidebarView: "componentWillUnmount"
}
};
}

View File

@ -14,8 +14,10 @@ class ImageGallery {
"fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]]
};
this.patchModules = {
"ImageModal":["componentDidMount","componentWillUnmount"]
this.patchedModules = {
after: {
ImageModal: ["componentDidMount","componentWillUnmount"]
}
};
}

View File

@ -14,9 +14,10 @@ class ImageZoom {
"fixed":[["Inside Image","Fixed the bug where the zoom settings appeared inside the image"]]
};
this.patchModules = {
"ImageModal":["componentDidMount","componentWillUnmount"],
"Icon":["componentDidMount","componentWillUnmount"],
this.patchedModules = {
after: {
ImageModal: ["componentDidMount","componentWillUnmount"]
}
};
}

View File

@ -14,9 +14,11 @@ class JoinedAtDate {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
UserPopout: "render",
AnalyticsContext: "render"
this.patchedModules = {
after: {
UserPopout: "render",
AnalyticsContext: "render"
}
};
}

View File

@ -14,9 +14,11 @@ class LastMessageDate {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
UserPopout: "render",
AnalyticsContext: "render"
this.patchedModules = {
after: {
UserPopout: "render",
AnalyticsContext: "render"
}
};
}

View File

@ -10,8 +10,10 @@ class MessageUtilities {
getDescription () {return "Offers a number of useful message options. Remap the keybindings in the settings.";}
constructor () {
this.patchModules = {
"MessageContextMenu":["componentDidMount","componentDidUpdate"]
this.patchedModules = {
after: {
"MessageContextMenu":["componentDidMount","componentDidUpdate"]
}
};
}

View File

@ -14,9 +14,11 @@ class NotificationSounds {
"fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]]
};
this.patchModules = {
"IncomingCalls":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"IncomingCalls":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,11 +14,13 @@ class OldTitleBar {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
App: "render",
HeaderBarContainer: "render",
StandardSidebarView: "render",
AuthWrapper: "render"
this.patchedModules = {
after: {
App: "render",
HeaderBarContainer: "render",
StandardSidebarView: "render",
AuthWrapper: "render"
}
};
}

View File

@ -14,11 +14,13 @@ class OwnerTag {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
MemberListItem: "render",
MessageUsername: "render",
UserPopout: "componentDidMount",
UserProfile: "componentDidMount"
this.patchedModules = {
after: {
MemberListItem: "render",
MessageUsername: "render",
UserPopout: "componentDidMount",
UserProfile: "componentDidMount"
}
};
}

View File

@ -15,8 +15,10 @@ class PersonalPins {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
HeaderBarContainer: "render"
this.patchedModules = {
after: {
HeaderBarContainer: "render"
}
};
}

View File

@ -14,12 +14,14 @@ class PinDMs {
"fixed":[["Home/Library/Store","Fixed Pinned DMs not being added while switching to one of the pages"]]
};
this.patchModules = {
"Guilds":"componentDidMount",
"PrivateChannel":"componentDidMount",
"DirectMessage":["componentDidMount","componentDidUpdate","componentWillUnmount"],
"LazyScroller":"render",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"Guilds":"componentDidMount",
"PrivateChannel":"componentDidMount",
"DirectMessage":["componentDidMount","componentDidUpdate","componentWillUnmount"],
"LazyScroller":"render",
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,8 +14,10 @@ class PluginRepo {
"improved":[["Preview","Now also uses Modules to grab classnames"]]
};
this.patchModules = {
"V2C_List":"componentDidMount"
this.patchedModules = {
after: {
"V2C_List":"componentDidMount"
}
};
}

View File

@ -14,9 +14,11 @@ class ReadAllNotificationsButton {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
Guilds: "render",
RecentMentions: "render"
this.patchedModules = {
after: {
Guilds: "render",
RecentMentions: "render"
}
};
}

View File

@ -14,12 +14,14 @@ class RemoveNicknames {
"added":[["Ignore Elements","Added an option list that let's you costumize in which places nicknames are being removed"]]
};
this.patchModules = {
"MemberListItem":"componentDidMount",
"MessageUsername":"componentDidMount",
"TypingUsers":"componentDidUpdate",
"Clickable":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"MemberListItem":"componentDidMount",
"MessageUsername":"componentDidMount",
"TypingUsers":"componentDidUpdate",
"Clickable":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,11 +14,13 @@ class RepoControls {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
V2C_List: "render",
V2C_PluginCard: "render",
V2C_ThemeCard: "render",
V2C_ContentColumn: "render"
this.patchedModules = {
after: {
V2C_List: "render",
V2C_PluginCard: "render",
V2C_ThemeCard: "render",
V2C_ContentColumn: "render"
}
};
}

View File

@ -14,8 +14,10 @@ class SendLargeMessages {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
ChannelTextArea: "componentDidMount"
this.patchedModules = {
after: {
ChannelTextArea: "componentDidMount"
}
};
}

View File

@ -14,12 +14,14 @@ class ServerFolders {
"fixed":[["Dark Sidebar","Now properly colored with dark sidebar"]]
};
this.patchModules = {
"Guilds":["componentDidMount","componentDidUpdate","componentWillUnmount"],
"GuildFolder":["componentDidMount","componentDidUpdate"],
"Guild":["componentDidMount","componentDidUpdate"],
"GuildFolderSettingsModal":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
this.patchedModules = {
after: {
"Guilds":["componentDidMount","componentDidUpdate","componentWillUnmount"],
"GuildFolder":["componentDidMount","componentDidUpdate"],
"Guild":["componentDidMount","componentDidUpdate"],
"GuildFolderSettingsModal":"componentDidMount",
"StandardSidebarView":"componentWillUnmount"
}
};
}

View File

@ -14,8 +14,10 @@ class ServerHider {
"fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]]
};
this.patchModules = {
"Guild":["componentDidMount","componentDidUpdate"]
this.patchedModules = {
after: {
"Guild":["componentDidMount","componentDidUpdate"]
}
};
}

View File

@ -14,8 +14,10 @@ class ShowImageDetails {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
LazyImage: "render"
this.patchedModules = {
after: {
LazyImage: "render"
}
};
}

View File

@ -14,8 +14,10 @@ class SpellCheck {
"fixed":[["Edit Textarea","Contextmenu now properly works in all textareas, like the edit message box"]]
};
this.patchModules = {
"ChannelTextArea":"componentDidMount"
this.patchedModules = {
after: {
"ChannelTextArea":"componentDidMount"
}
};
}

View File

@ -14,8 +14,10 @@ class ThemeRepo {
"improved":[["ThemeFixer","Fixed and improved"]]
};
this.patchModules = {
"V2C_List":"componentDidMount"
this.patchedModules = {
after: {
"V2C_List":"componentDidMount"
}
};
}

View File

@ -14,8 +14,10 @@ class ThemeSettings {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
V2C_ThemeCard: "render"
this.patchedModules = {
after: {
V2C_ThemeCard: "render"
}
};
}

View File

@ -14,8 +14,10 @@ class TimedLightDarkMode {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
RadioGroup: "componentDidMount"
this.patchedModules = {
after: {
RadioGroup: "componentDidMount"
}
};
}

View File

@ -14,9 +14,11 @@ class TopRoleEverywhere {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
MemberListItem: "render",
MessageUsername: "render"
this.patchedModules = {
after: {
MemberListItem: "render",
MessageUsername: "render"
}
};
}

View File

@ -14,8 +14,10 @@ class WriteUpperCase {
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
};
this.patchModules = {
ChannelTextArea: "componentDidMount",
this.patchedModules = {
after: {
ChannelTextArea: "componentDidMount"
}
};
}