UNC-Project-Open-AAC / OS-DPI

A system for creating experimental AAC prototypes.
14 stars 3 forks source link

Logging and Styling with CSS #166

Closed jbizovi closed 1 year ago

jbizovi commented 1 year ago

Hi @gbishop, @ManoharGolleru and I were looking into the logging function today, and I'm not sure if we're missing something or not. I opened up and example, added logging, clicked around a bit, then did file save logs. This exported to excel, but is empty every time. Is there something I'm missing?

Also, we are trying to use the css customization to move text around (specifically to the lefthand side) of our buttons on a keyboard. Are you able to help us with this?

gbishop commented 1 year ago

Adding the logging component is only one step. The next step is to update the state name you gave it in an Action. But, at that point, I don't know what to tell you. Ryan got something working but I don't know what the Value in the update was supposed to be. I see he added a Log function but that doesn't appear to do anything but return its arguments.

Let's figure this out. What do you want to log? State variables and field values are easy. Would that suffice? I can make it work but I have never gotten an explanation of what you folks want.

CSS customization requires some knowledge of CSS. Didn't you and I change the font size on one? It's the same idea. I think text-align is the property you want.

On Thu, Feb 23, 2023 at 11:11 AM Jenna Bizovi @.***> wrote:

Hi @gbishop https://github.com/gbishop, @ManoharGolleru https://github.com/ManoharGolleru and I were looking into the logging function today, and I'm not sure if we're missing something or not. I opened up and example, added logging, clicked around a bit, then did file save logs. This exported to excel, but is empty every time. Is there something I'm missing?

Also, we are trying to use the css customization to move text around (specifically to the lefthand side) of our buttons on a keyboard. Are you able to help us with this?

— Reply to this email directly, view it on GitHub https://github.com/UNC-Project-Open-AAC/OS-DPI/issues/166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQK7BBJWY3WZ27DU7D2XTWY6DZPANCNFSM6AAAAAAVF2SLHE . You are receiving this because you were mentioned.Message ID: @.***>

ManoharGolleru commented 1 year ago

Hello @gbishop , I have tried updating the state name in the actions but it is giving me a error whenever I click on save logs option. I have attached the screenshot of the error below. Logging state variables and field values will suffice for now, please let me and @jbizovi know if it works, and thanks for letting us know about the CSS customization.

Screenshot 2023-02-23 113711
gbishop commented 1 year ago

I'm not surprised. Send me an example design with logging enabled.

ManoharGolleru commented 1 year ago

I have emailed the OSDPI file to you @gbishop

jbizovi commented 1 year ago

@gbishop I'm not sure quite how to articulate this, but we want to be able to log everything the user does--any button they press. Does that help?

gbishop commented 1 year ago

I think you can do what you need now.