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

Prefix every item in branch with the same text #233

Closed
willwade opened this issue Jul 15, 2020 · 2 comments
Closed

Prefix every item in branch with the same text #233

willwade opened this issue Jul 15, 2020 · 2 comments

Comments

@willwade
Copy link
Collaborator

willwade commented Jul 15, 2020

I have a tree a bit like this..

			What is doing? (what is doing)
				Family
					What is Dad doing ?(dad)
					What is Mum doing ? (mum)
					What is Grandma and Grandad doing (grandparents)
					What is Grandma Dad’s mum doing? (Grandma dads)
					What is Matthew doing? (Matthew)
					What is Stephen doing? (Stephen)
					What is Lucy doing? (Lucy)
					What is Christopher doing? (Chris)

etc. This people chunk is used throughout but the action changes.

What I think would be useful is if we could do a meta data-action-fill-gap "What is x doing" and in the next part of the tree it replaces x with the word. So it means we could do this:

What is doing? (what is doing) -meta data-action-fill-gap main-message="What is x doing"-				
					Dad
					Mum
					Grandma and Grandad, mum’s parents
					Grandma Dad’s mum
					Matthew
					Stephen
					Lucy
					Christopher

Main message would then be "What is Dad doing" and cue would only be "Dad". Would be nice if this worked across other vocabulary trees. e.g. when we use change-tree-by-name

@willwade willwade added this to the 1.3 milestone Mar 5, 2021
@gavinhenderson gavinhenderson removed this from the 1.3 bug & feature fix milestone Mar 9, 2022
@gavinhenderson gavinhenderson changed the title meta data - insert text Prefix every item in branch with the same tet Mar 9, 2022
@gavinhenderson gavinhenderson changed the title Prefix every item in branch with the same tet Prefix every item in branch with the same text Mar 11, 2022
@gavinhenderson
Copy link
Member

I like the idea but I feel like we should keep short hands like this out of the pasco vocab language itself and instead the pasco editor should make doing this easy. That way you can easily enter the format that you were describing but you can then edit

In general I prefer the idea of pushing complexity onto the editor rather than into the language.

@willwade Do you mind if I close this in favour of an issue to make the editor better?

@gavinhenderson
Copy link
Member

Closing in favour of #288

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