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
Modernize Process States Overview #23
Modernize Process States Overview #23
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
note: it is fine, that the spell checker fails. #20 fixes the errors. |
daabd4d
to
5d7a6c9
Compare
This comment has been minimized.
This comment has been minimized.
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 a great start, I've left a few suggestions as well as questions to make even more use of the new ability to be less space limited now.
README.md
Outdated
%% mermaid flowcharts documentation: https://mermaid.js.org/syntax/flowchart.html | ||
%%{ init: { 'flowchart': { 'curve': 'monotoneY' } } }%% | ||
flowchart TD | ||
subgraph New["New / Confirmed¹"] |
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.
An important aspect of the old graph was that each valid state (anything not in the graph is invalid) has a tuple of Assignment+State. This is somewhat lost now. A few examples:
This is great, but currently I miss a bit of continuity.
At the top the state set for new/confirmed is a yellowish box.
Down there all the state set actions for "Won't Fix", "In Progress" are purple boxes.
But at the top purple boxes are not state changes, they are assignee changes.
Could we make all state-changes purple boxes, and make all assignment changes e.g. yellow hexagons or something like that. So that the shape/color directly indicates what is expected to happen at this point?
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.
Although mermaid flowchart's allow to set the color, I would recommend against it, because if we set a color, it does not change with the github theme (selected by a user).
This can result in bad visibility for people that require e.g. a dark high contrast theme.
But I incorporated more distinguishable shapes and removed the subgraph.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view or the 📜action log for details. Unrecognized words (2)URLs To accept ✔️ these unrecognized words as correct, run the following commands... in a clone of the git@github.com:dviererbe/ubuntu-mir.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/canonical/ubuntu-mir/actions/runs/5256386511/attempts/1' Available 📚 dictionaries could cover words not in the 📘 dictionaryThis includes both expected items (10) from .github/actions/spelling/expect.txt and unrecognized words (2)
Consider adding them using (in with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:php/php.txt
cspell:cpp/src/stdlib-c.txt
cspell:ruby/ruby.txt
cspell:r/src/r.txt
cspell:python/src/python/python-lib.txt
cspell:fullstack/fullstack.txt To stop checking additional dictionaries, add: with:
check_extra_dictionaries: '' ✏️ Contributor please read thisBy default the suggested command will add the listed items to the.github/actions/spelling/expect.txt . This is not allways desired!
If a listed items is
See the 🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push – it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉 |
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.
Oh yeah, this looks much nicer.
I can see states, differentiate them from final-states, triggers, actions/decisions.
Let us bring the pre-rendering vs old ascii-art up in next weeks meeting for group exposure before merging.
At the meeting we should look at it in rendered form: |
I found out that GitHub supports
mermaid
(basically a code-to-diagram framework). I also overhauled the text content/arrangement in the section a little bit.