Skip to content
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

More colour control #13

Merged
merged 10 commits into from
Oct 12, 2022
Merged

More colour control #13

merged 10 commits into from
Oct 12, 2022

Conversation

liamhuber
Copy link
Member

Work in progress.

Distinguishing data and exec ports by colour, as suggested in #8.

Under the hood I'm also trying to better encapsulate logic from presentation. Right now that means pulling out the Layout classes into their own module, but these in turn should also probably be fed by some sort of theme.yml file. I'm also not totally happy with the factory pattern for the layouts, as I have some ugly class stuff like the two port classes redefining shared values (instead of having a shared parent) and all the classes carrying around title data that should really only be for the node class.

Start removing formatting and presentation from the logic. I'm not totally happy with the factory pattern -- ports don't have a shared parent, and only nodes really need title font stuff. I'll probably adjust it later, but it's good enough for now.
@liamhuber
Copy link
Member Author

How the new colours are looking, with data in green and exec in blue:

Screen Shot 2022-07-22 at 14 59 05

@liamhuber liamhuber changed the title WIP -- More colour control More colour control Jul 25, 2022
@liamhuber liamhuber mentioned this pull request Jul 25, 2022
Base automatically changed from rename_node_module to main October 12, 2022 19:15
@liamhuber liamhuber marked this pull request as ready for review October 12, 2022 19:15
@liamhuber liamhuber merged commit 2fad06e into main Oct 12, 2022
@liamhuber liamhuber deleted the more_colours branch October 12, 2022 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant