Closed hosseinzoda closed 4 years ago
Cool! Anything I need to add to build script? https://deploy-preview-182--pasco-app.netlify.com
To be precise:
ReferenceError: Can't find variable: _tree_go_in eval_config@https://deploy-preview-182--pasco-app.netlify.com/js/main.js:1892:30 https://deploy-preview-182--pasco-app.netlify.com/js/main.js:92:27 promiseReactionJob@[native code]
checkpoint: https://deploy-preview-182--pasco-app.netlify.com/js/main.js:94:37 promiseReactionJob@[native code]
My mistake. Fixed
Couple of small questions!.
Also - re: "Utter message option in all branches"
Couple of small questions!.
1. Is there a colour style for the Message bar? (we have a user who needs it the same style as the main area - so I'm thinking we may need a line separating the two areas) 2. I wonder if we can do a separate font size for message bar or would that get complicated?
Sure, Do you want fixed font-size? Or it should relatively smaller/larger.
Also - re: "Utter message option in all branches"
1. Is this trying to do a message history? Its not really working for me. E.g. If I have it on - and say "Chat > Message history" it says "Chat, Message History". Is there something I'm not getting?
Well. I think. I didn't understand what you mean here, Can you elaborate, What it should do?
Couple of small questions!.
1. Is there a colour style for the Message bar? (we have a user who needs it the same style as the main area - so I'm thinking we may need a line separating the two areas) 2. I wonder if we can do a separate font size for message bar or would that get complicated?
Sure, Do you want fixed font-size? Or it should relatively smaller/larger.
I think relative
Also - re: "Utter message option in all branches"
1. Is this trying to do a message history? Its not really working for me. E.g. If I have it on - and say "Chat > Message history" it says "Chat, Message History". Is there something I'm not getting?
Well. I think. I didn't understand what you mean here, Can you elaborate, What it should do?
Ok - reading #119 I see whats going on now. I've written that badly..I think I know how to fix it - let me first demonstrate it with spelling.
So we spell something "CAT" the person hits "Space" - it says it outloud - and the message bar clears. It shouldn't clear by default. What we want is for "CAT SAT " etc.. to be in message bar. What we then need is a way for the user to Read aloud the whole message bar - and we would need an action to clear it.
So to fix this;
That make sense?
I see, I think we need to separate spelling from normal selection.
In this code it is already separated to some extend. What if I implement message bar only for spelling. We can extend It's use when it is needed?
In fact we can skip these two new meta tags and keep it in existing ones in spell.
spell-finish
will do same as read message bar, And it does clear message bar.Yes. That’s a good idea. Let’s keep it to spelling only for now.
Now message bar is only for spelling.
Two small tweaks!
Two small tweaks!
1. Can spell space read last word but NOT clear message bar
At the moment spelling process does have its own speech at selection of space or any letter/word. And it does not clear message bar. What should I change?
2. Can we make it themable so we can edit Color etc ?
Done
Fab. Apologies then. That should do for now.
@hosseinamin - Ok - Watch the video: https://www.dropbox.com/s/zrzbcom1n7kve1h/screen%20recording%202019-11-12%20at%2009.46.34.mov?dl=0 . Lets say I want to write "Happy as a cloud" (and then speak).. Currently it speaks and then clears after it says "Happy" (because Space appears to be clear it. Is there something wrong in my syntax? (this is the syntax of that video: https://raw.githubusercontent.com/AceCentre/pasco/master/html/trees/Adult_Starter/en-GB-Adult_Starter.md)
UPDATE: I think I know whats wrong. The space action currently speaks and returns out of the current branch. I think we need to correct that somehow. 1). Either make "Space" a space - and read last word (and not exit branch). Or 2). IF Message bar on - make space a space - and read last word (and not exit branch).
Does that make sense? We then need a way of reading the entire message bar..
Sorry for doing this on a closed PR. Wasnt sure best place to pop it
The spell-word-prediction dyn
has data-spell-finish
attribute. Which means it will end it by uttering that word.
Please remove it and see if it does what you want.
<meta data-dyn="spell-word-prediction" data-words-file="trees/Spell_Prediction/bncfrequency.json" data-max-nodes="3" data-spell-finish>
Got it. Im an idiot (/need to document this better)