commit | a3b97b98dc45efcf2ae791c5e00ec3905709fb85 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Thu Nov 16 00:58:14 2023 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Thu Nov 16 17:25:42 2023 +0100 |
tree | 688dca3472b71b33e5a618c4830145a3aeb9c070 | |
parent | 80f1c739ab8bb75ac1570ba8725f5a7c4bec1511 [diff] |
refactor(extra-info): rename handlers folder to infoHandlers This clarifies that the classes in that folder handle the information, and not something else. Bug: twpowertools:93 Change-Id: I21b927141a8d57df51781d1c3b3a5e9e5a4d4f7b
diff --git a/src/contentScripts/communityConsole/extraInfo/index.js b/src/contentScripts/communityConsole/extraInfo/index.js index 204e7f8..c7be5cd 100644 --- a/src/contentScripts/communityConsole/extraInfo/index.js +++ b/src/contentScripts/communityConsole/extraInfo/index.js
@@ -1,8 +1,8 @@ import OptionsWatcher from '../../../common/optionsWatcher.js'; -import ProfileInfoHandler from './handlers/profile.js'; -import ThreadInfoHandler from './handlers/thread.js'; -import ThreadListInfoHandler from './handlers/threadList.js'; +import ProfileInfoHandler from './infoHandlers/profile.js'; +import ThreadInfoHandler from './infoHandlers/thread.js'; +import ThreadListInfoHandler from './infoHandlers/threadList.js'; import ExpandedThreadListExtraInfoInjection from './injections/expandedThreadList.js'; import ProfileAbuseExtraInfoInjection from './injections/profileAbuse.js'; import ProfilePerForumStatsExtraInfoInjection from './injections/profilePerForumStats.js';
diff --git a/src/contentScripts/communityConsole/extraInfo/handlers/base.js b/src/contentScripts/communityConsole/extraInfo/infoHandlers/base.js similarity index 100% rename from src/contentScripts/communityConsole/extraInfo/handlers/base.js rename to src/contentScripts/communityConsole/extraInfo/infoHandlers/base.js
diff --git a/src/contentScripts/communityConsole/extraInfo/handlers/basedOnResponseEvent.js b/src/contentScripts/communityConsole/extraInfo/infoHandlers/basedOnResponseEvent.js similarity index 100% rename from src/contentScripts/communityConsole/extraInfo/handlers/basedOnResponseEvent.js rename to src/contentScripts/communityConsole/extraInfo/infoHandlers/basedOnResponseEvent.js
diff --git a/src/contentScripts/communityConsole/extraInfo/handlers/profile.js b/src/contentScripts/communityConsole/extraInfo/infoHandlers/profile.js similarity index 100% rename from src/contentScripts/communityConsole/extraInfo/handlers/profile.js rename to src/contentScripts/communityConsole/extraInfo/infoHandlers/profile.js
diff --git a/src/contentScripts/communityConsole/extraInfo/handlers/thread.js b/src/contentScripts/communityConsole/extraInfo/infoHandlers/thread.js similarity index 100% rename from src/contentScripts/communityConsole/extraInfo/handlers/thread.js rename to src/contentScripts/communityConsole/extraInfo/infoHandlers/thread.js
diff --git a/src/contentScripts/communityConsole/extraInfo/handlers/threadList.js b/src/contentScripts/communityConsole/extraInfo/infoHandlers/threadList.js similarity index 100% rename from src/contentScripts/communityConsole/extraInfo/handlers/threadList.js rename to src/contentScripts/communityConsole/extraInfo/infoHandlers/threadList.js