-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Council Module Documentation #2447
Conversation
|
All three modules within this module provide a lot of functionality. I am considering the idea of having the lib.rs file just focus on the sub-module interaction and link to separate documentation for each sub-module (i.e. seats, motions, and voting would all have a |
ltfschoen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ltgm aside from some nitpicks
This comment has been minimized.
This comment has been minimized.
kianenigma
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is indeed a more concise doc comparing to the old one. Some suggestions aside from the individual comments:
- The concept of elevated a proposal was still unclear to me after reading the entire thing.
- Maybe add a link to each heading so that it is clear which subsection of
Terminologyis related to which file (motion.rsetc.) - I couldn't find an inconsistency between anything in the doc and the code. What is covered, is correct but this does not mean that you've covered everything. If the goal is to make this doc a bit more in-depth, what I recommend is:
- Similar to Staking doc add a usage scenario section in which you explain the main workflow of each of the three modules (seats, voting, motion). Best way to do so: Find that one most important test case in each module and explain it. In
seats.rsthis would besimple_tally_should_work()(from which you can see that the doc is missing concepts like tally, voting/presentation period, presenting, leaderboard and carry etc). A similar test case that demonstrates the main goal of the module (i.e. regardless of the details the main goal of seats.rs is to manage the 24 council seats.) should be identifiable and should lead you toward the next depth.
All that said, if the goal is is to keep the doc simple/minimal (at least for the first PR) I see this as a good starting point and has my implicit approval. The above recomendation is valid in case we want to take this a bit further in depth.
Hopefully fixed in next commit.
Done.
No, let's not merge any more docs that we think are incomplete. |
DemiMarie-temp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple nits
|
I have given the text a bit of more details and made sure it is correct, if not complete, up to my understanding and level of scrupulousness in limited time. LGTM. |
|
i've received feedback from rpmeier suggesting that we providing information about what origin the proposed call is executed with |
In short: Democracy (public referendum) is |
|
@rpmeier fyi |
26ab113 to
a53248d
Compare
|
@shawntabrizi why was the documentation commit history reset? |
|
oh i see, it looks like it was removed based on the discussion comment that the changelog was too long. i thought squash and merge would have been sufficient. |
Supersedes #2281
I removed the list of functions in 572c1c4 because it is massive and I think it will be hard to remain. Open to revert if people want it in.