Make Utopian Moderator Chrome Extension Perfect by Adding Posts and Tools Tab
Utopian Moderators & Supervisor
Utopian Moderators & Supervisor is a Chrome Extension that is made exclusively for Utopian Moderators and Supervisors. It is available for download at the following Chrome Webstore:
https://chrome.google.com/webstore/detail/utopian-moderator-supervi/dcjdbldgiiboblbaconadffdaicicebc
If you are using Firefox, you can still install this Extension by Chrome Extension Foxified
Latest Version v0.0.8
This Commit: along with some bug fixes and minor tweaks, I am adding two tabs: Posts and Tools for showing the latest activities from @utopian-io and a simple tool to convert the raw reputation (in the future, this tab will be added with more useful tools).
New Dependency Library
The new features are based on steem.js. For example:
const getPosts = (id, dom, num = 10) => {
steem.api.setOptions({ url: 'https://api.steemit.com' });
var query = {
tag: id,
limit: num
};
steem.api.getDiscussionsByBlog(query, function (err, discussions) {
console.log(err, discussions);
if (!err) {
discussions.map(function (discussion) {
var li = document.createElement('li');
li.innerHTML = "<font color=gray><I>" + discussion.created + "</I></font>: <a target=_blank href='https://steemit.com/@" + discussion.author + "/" + discussion.permlink + "'>" + discussion.title + "</a>" + " @" + discussion.author;
dom.append(li);
});
}
});
}
const getData = (id, dom, item) => {
steem.api.setOptions({ url: 'https://api.steemit.com' });
steem.api.getAccounts([id], function(err, result) {
let s = "<ul>";
console.log(result);
$.each(item, function(index, value) {
s += "<li><i>" + value + "</i>: " + result[0][value] + "</li>";
});
s += "</ul>";
dom.html(s);
});
}
Github
https://github.com/DoctorLai/utopian-moderator/
Previous Contributions
- v0.0.7 Utopian Moderator Chrome Extension: Improved Supervisor Tab by Showing Acceptance Rate and Pie Chart
- v0.0.6 Adding Supervisor Tab to Utopian Moderator Chrome Extension!
- v0.0.5 Adding Unreviewed Contributions + List of Approved/Rejected Posts to Utopian Chrome Extension!
- v0.0.4 Adding Approved/Rejected Stats, Showing Friends' VP/Rep to Utopian Moderator Chrome Extension!
- v0.0.3 Adding Moderators Tab to Utopian Chrome Extension!
- v0.0.2 Adding Easy Switch Between Utopian and Steem Posts to Utopian Moderator Chrome Extension
- v0.0.1 The First Utopian Moderator Chrome Extension
Technology Stack
Javascript that runs in Chrome.
Roadmap
This project is on fire!
- Add more handy tools/features regarding to the post.
- Add more global statistics.
- Add some real time statistics.
Chrome Webstore
Install the Utopian Chrome Extension Now!
Contribution Welcome
Github: https://github.com/DoctorLai/utopian-moderator
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request.
Posted on Utopian.io - Rewarding Open Source Contributors
moderator approved :)
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Today I don't feel like doing anything..
Hey @justyy I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
That's a very good post. I really like to read it. Lots of knowledge contained therein. Thank you for giving me a very valuable lesson.