Dominique Merle
9db0ec27ee
feat: add a Demo provider, useful for demos
4 years ago
Dominique Merle
3e4605d07c
feat: allow exiting a poll with ESCAPE
4 years ago
Dominique Merle
57b9bac4a2
fix: Config is utterly broken
4 years ago
Dominique Merle
d858823692
feat: add some popups
...
With love,
-- The Popup Paintress
4 years ago
Dominique Merle
a1e2094a32
feat: centralize provider collection
...
Would love some auto-discovery of providers,
and some automatic settings form generation.
4 years ago
Dominique Merle
bf2cc8f920
tweak: stretched number opacity on the grades
4 years ago
Dominique Merle
5b12cd85e2
feat: store configuration, and add more hints
4 years ago
Dominique Merle
501cda039a
docs: add explanations to the provider settings
4 years ago
Dominique Merle
4792f7d59a
design: add a shader to show off (and help with numbers)
...
Okay, okay, it's VERY BAD DESIGN© to use numbers as grades in MJ.
But it's internationalized, and it's quick to type.
The objective is to reduce the required effort to vote.
Ideas welcome.
4 years ago
Dominique Merle
6688138328
design: add number sprites from Kenney's font.
...
Go and support Kenney, they rock!
4 years ago
Dominique Merle
0b877eeaff
feat: move the results graph to the top left and truncate text
4 years ago
Dominique Merle
1120763782
oddity: the color picker is subtly moving around…
4 years ago
Dominique Merle
762b1f1a3f
feat: set the clear color to black.
...
It yields better results than bright green
when using OBS filters to achieve transparency.
4 years ago
Dominique Merle
7f136aa91d
feat: animate the order of candidates in the linear results scene
4 years ago
Dominique Merle
5a5333ddf8
fix: handle the "+" correctly in the new poll form
4 years ago
Dominique Merle
3e4e58c672
feat: more QoL in the GUI
4 years ago
Dominique Merle
3248f261c2
chore: clean up
4 years ago
Dominique Merle
0712e25b10
feat: add a twitch chat provider and use it
...
I believe this commit closes the core feature loop.
Now, it's all about QoL improvements, bugfixes
and the dragon for which this project is meant to be a PoC:
DELEGATION
4 years ago
Dominique Merle
6efeb1b3ec
magic: the colorpicker moves around by itself
4 years ago
Dominique Merle
615bd2275b
chore: automatic lint
4 years ago
Dominique Merle
a19261edd7
test: multiple commands on one line
4 years ago
Dominique Merle
e5cb86068d
feat: enable the provider pattern, with a demo provider
...
So far it's working quite well,
and it is rather pleasant to code.
There are no safeguards whatsoever for now.
They will come along with their tests :3
4 years ago
Dominique Merle
205608d75f
feat: implement initial chat command processing to add judgments
...
As detailed in previous commit with the unit-test (which now pass),
the regex is as follows :
(?<candidate>[a-zA-Z]{1})(?<grade>[0-9]{1})
We have room to support more than 25 candidates or 10 grades in the future.
Right now, this is enough, let's move on !
4 years ago
Dominique Merle
019dd09158
test: unit-test the MajorityJudgmentChatCommandJudgmentsProvider
...
This is the type of thing that will benefit a lot from unit tests,
bacause we'll be able to quickly experiment feeding it malicious data,
since that data will come from userland and may not be trusted.
We're going to start with the following syntax :
<candidate><grade>
such as
A2
means give grade #2 (passable) to candidate A
Grades (when there are 6):
0. TO_REJECT .0
1. POOR .1
2. PASSABLE .2
3. GOOD .3
4. VERY_GOOD .4
5. EXCELLENT .5
This will require showing ABC letters in the results gui… Hmmm.
4 years ago
Dominique Merle
d54fd091ce
chore: clean up
4 years ago
Dominique Merle
5f0bdc94bc
chore: ignore more files
4 years ago
Dominique Merle
4e05835e81
feat: implement an unordered but animated version of the linear results
...
The data is a dummy, waiting to be connected to a provider like Twitch.
We also need to sort the profiles, and animate the sort ;)
The GUI elements will probably need more work as well (like clipping, etc.)
4 years ago
Dominique Merle
323a5fc345
feat: add a form to configure the settings
4 years ago
Dominique Merle
6f0cd52098
chore: review the ConfigResource
4 years ago
Dominique Merle
1ee9e98c1b
feat(QoL): focus the "New Poll" button in the main menu
...
QoL: Quality of Life
The app is not even finished yet.
We should get our priorities straight, at some point!
4 years ago
Dominique Merle
5a5c7ecf4e
chore: update the project file
...
TwiCil added a bunch of global classes as well.
If this pollution causes troubles, we'll namespace them.
If only we could do that with chemical pollution as well…
4 years ago
Dominique Merle
4a2f3f5758
design: use the black&white version of the MieuxVoter.fr logo
4 years ago
Dominique Merle
945139f922
design: add a black&white version of the MieuxVoter.fr logo
4 years ago
Dominique Merle
3a28f6ee00
feat: add config and scene change capabilities to the main App
4 years ago
Dominique Merle
435c5c3b72
feat: add a basic GUI to create a poll and set up twitch
...
Nothing happens yet on poll creation ; this is a WIP.
4 years ago
Dominique Merle
cf08bd1944
fix: typo in the API of TwiCil
...
Since godot's addons are made to be modded, let's abuse it.
…
Just like that.
4 years ago
Dominique Merle
100fe4ba77
deps: add TwiCil, a library to interact with Twitch chat
4 years ago
Dominique Merle
339d26f5e0
feat: add the project configuration, and prepare settings
...
We're going to try out Resource for settings, instead of ini.
4 years ago
Dominique Merle
52bbd5af79
design: add the logo of MieuxVoter.fr
...
The aim of this nonprofit is to cease to exist,
by fulfilling its mission: replace the rotten
uninominal balloting system by majority judgment.
4 years ago
Dominique Merle
6af6d99ced
feat: add a default environment
...
Not sure we need one, but hey…
4 years ago
Dominique Merle
9a66f784d0
feat: add the MJ plugin metadata and some docs
...
Note that the doc was written first,
as we followed the pattern: doc, test, code
It was pretty nice, and it helped a lot.
4 years ago
Dominique Merle
2fe66eb1bb
feat: initial implementation of Majority Judgment in Gdscript
...
All these files will find their way into a plugin,
once they are stable, reviewed and documented.
4 years ago
Dominique Merle
f79b59f82b
tests: write a simple usage of the class API
...
This initial test is a bit dumb,
since there's only one participant.
More scenarios will come later.
4 years ago
Dominique Merle
93849c0f4a
design: add an icon
4 years ago
Dominique Merle
35c9f14c71
chore: configure git to ignore some files
...
Yes, yes, we could use one of the many boilerplates out there
for the gitignore file. Merge requests welcome. :)
4 years ago
Dominique Merle
247e5a471b
docs: add a snippet for WAT test files
4 years ago
Dominique Merle
e7270d2d68
deps: add WAT, a Gdscript library for unit testing
...
We also tried GUT in the past, so we wanted to try WAT this time.
We're not sure which would be easier to extend in order to add
a Gherkin parser and runner.
4 years ago