New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local polls in Issues #8115
Comments
We're experimenting (day 1) with Go and Gitea and trying to rank issues (quality?, urgency, importance) using Majority judgment (MJ). It would be nice to cover the case of "inline", markdown-created polls too. How do you envision setting it up in markdown? Since we're absolute beginners both in Go and Gitea, enlightened supervision and guidance would not go amiss. So far we see the following new models:
|
This will be great to add such feature/enhancement in issues. This will help collaborators to make judgement over a issue which require opinions from multiple people. |
Our PoC works and integrates quite nicely with Gitea. Example: I've had to pause dev, though, because I needed to pay rent and I could not find funding for this. Would love to keep at it, especially with the liquid (delegative) features, since we have some (theoretical) algorithms that look quite nice. |
Is this opensource ? Can u share link ? |
Technically, yes. Thankfully, I had forked on Github as well here : https://github.com/domi41/gitea/tree/mj-v1.14.3 and https://github.com/domi41/gitea/tree/mj-v1.18.3 (latest) State of things
|
@shubham8agar I rebased the thing on Gitea I'm still unsure how we could write this as a plugin. |
Why should this be a plugin? |
This is actually a very good question.
Someone asked me why I did not make a PR ; this is a simple proof of concept, and, besides requiring approval, integrating this further into Gitea would require some careful work in the various Administration panels, up to the Right now I'm trying to squash commits to make cherry-picking easier. Awkward. So let me ask : what do you think it should be, if not a plugin ? |
Directly integrated into gitea core? I understand that you are not so familiar with the gitea codebase. But I am curious if there is another argument against integrating it directly. |
If there is, it won't come from me. :) Perhaps we should aim to consort on specs before undertaking the endeavor of deep Gitea integration ? So far we have:
I want :
The rationale behind starting with Issues as Candidates
The problems I faceInline polls that anyone can start in a comment would be amazing. With all the strict typing going on, I'm not sure how to write things so they'll work for both kinds of candidates (Issues, and Inline). If you understand what I mean and know what I should read/know to solve this, please bring your lights 🌟 . |
This integrates the polls further into Gitea and allows us to enable / disable polls from the repository settings. Implements: Feature F04: Enable/Disable Polls for a Repository Rule R05: Enabling Polls for a Repository requires being Owner See go-gitea#8115 (comment)
This integrates the polls further into Gitea and allows us to enable / disable polls from the App INI settings. Implements: - Feature F03: Enable/Disable Polls for all Repositories - Rule R04: Enabling Polls for all Repositories (F03) requires being Admin Oh wow that went much smoother than I expected. It worked straight away. Congrats to y'all for the code quality ! There's plenty of holes (API, webhooks…) left to fill. See go-gitea#8115 (comment)
A little teaser… :) I really like how wonderfully things click into place with the To proceed further:
|
That whitelist is a sequence of issues IDs (Index), separated by commas (,), each optionally prefixed by a hash (#). See go-gitea#8115 (comment)
I updated the Polls fork to Gitea A few tweaks aside, my general next step is to work on the Inline Polls that are the actual ask of this Issue. If you have features, specs, must-haves, and so forth, now is the time to make them known. Note: at the time of this post, |
I've updated mj-develop with some changes, polishing the badge poll feature a little bit, while experimenting refactoring for inline polls. We can now choose amongst multiple available gradings (formerly gradations), as you can see in the screenshot above, using animals instead of emotes. |
[x]
):Description
Feature Request
There is a posibility to create polls via https://app.gh-polls.com/ which is a great thing. Apparently I can't use this soulution due to company policy. Its not allowed to store information of any kind on external resources.
It would be nice if I could create a poll directly in a gitea issue.
The text was updated successfully, but these errors were encountered: