Skip to content

Task: Node-type needs revision #2238

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

Open
mettta opened this issue May 10, 2025 · 0 comments
Open

Task: Node-type needs revision #2238

mettta opened this issue May 10, 2025 · 0 comments

Comments

@mettta
Copy link
Collaborator

mettta commented May 10, 2025

This produces "requirement / text / section" (deprecated):

{% set node_type = sdoc_entity.get_type_string() %}
...
node-role="{{ node_type }}"

This produces real node [NAME] as string (new up-to-date):

{% set node_type_string = sdoc_entity.get_node_type_string() %}
...
show-node-type-name="{{ node_type_string }}"

This affects CSS rules in many places, such as:

sdoc-node[node-style="card"][node-role="text"],
sdoc-node[node-style="card"][node-role="section"] { ... }

Need to remove references to old naming, and make the CSS independent of those parameters.

@mettta mettta added this to the 2025-Q2 milestone May 10, 2025
@mettta mettta self-assigned this May 10, 2025
@mettta mettta changed the title Node-type needs revision Task: Node-type needs revision May 10, 2025
@stanislaw stanislaw modified the milestones: 2025-Q2, 2025-Q3 Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants