-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add action to command bar information icon #214
Comments
|
The variable |
It should also be noted that this info button should also appear on conjugation fields with no data. |
Heyy, is this taks still available? I would like to help. I have added some ideas of design for the tooltip. Maybe it could be a modal with 3 pages overall (one for each of the bullet points listed in first post).
|
Hey @gmmoraes! The task is still available 😊 Regarding your idea for the content:
I think this is perfect! 🚀 A note on the first screen: the location of elements within custom keyboard extensions is limited to the dimensions of the keyboard itself - i.e. we cannot have the tooltip extending above the height of the keyboard. We do have a 1x1 conjugation display that covers the keyboard and has left and right buttons, which I think along with the circles from image 3 could make an intuitive interface for users. Likely best if we one day get rid of the buttons all together and just swipe through all the options, but I think this is fine for now :) What do you think on the above? Let me know if you'd like me to assign the issue to you, and thanks so much for your thoughtful suggestions with the images and designs! :) |
@andrewtavis, I would love to take this issue. The implementation would be to create a custom card view with a layout similar to image 3 (in my first post) and display it inside the 1x1 conjugation when the information icon is pressed? |
Yes, @gmmoraes, this sounds perfect to me 😊 Let me map this out a bit for you, as it is a |
Typing this out as I eat 😋 So what we want to have happen is for the
The above is the trigger of whether to show the user a normal keyboard or another view for conjugations or declensions. We can have
We'd have
We then just make this function
How does this all sound to you? It's honestly a bit more involved than I expected when first writing this, but I think as a baseline you could send along a PR with the work for points 1-3 above, and from there we can plan/work on the rest? Also, do you want me to write the text for the three pages, or would you like to try a first draft? Up to you! Hope you're having a nice Sunday! |
Thank you so much for the detailed explanation!
This sounds great! I am almost always up for breaking a task into smaller ones haha. |
I'll get to writing something for these screens later today 😊 Thanks, @gmmoraes! |
What I was thinking for the three screens is:
How does this sound, @gmmoraes? :) |
@andrewtavis Thanks! It's great, the amount of text fits well with the space available for the tooltip. Is there any place recommend to add these texts (like a localization file)? |
Really good question, @gmmoraes :) We haven't worked out localization of the app really at all at this point except for making baseline English files that hopefully will the translated. I'd say that for now these strings can go in ENAppText.swift 😊 |
@andrewtavis Thanks! Is it possible to call the methods declared inside ENAppText.swift from |
Very welcome, @gmmoraes! Thank you! 😊 I'm thinking that likely you'd need to to add the individual keyboard extensions as targets of ENAppText.swift? Not sure if you've already done that, but as of now only the Scribe app itself is the target, so that means that the individual view controllers wouldn't be able to reference the variables/functions. Let me know if it's something else and I'm happy to look into this more :) |
@andrewtavis Thanks! I have added a Pull request for this! |
Thanks, @gmmoraes! Will get to this later this evening 😊 |
Minor changes requested, @gmmoraes 😊 Thanks again so much for all this! You really created a sleek feature that is going to integrate so well with the rest of the app :) |
Add action to command bar information icon #214
@gmmoraes, thanks again for your work here :) Really did make the rest of this issue much easier. 22484fd closes this issue with alterations to your original code that make it dark mode responsive, make the tooltip background match that of the left and right navigation keys, styles the 1x1 view beneath so it fits with the rest of the UI, scales the text for iPads and changes some of the scaling so that things have a bit more space around them 😊 |
Terms
Description
Now that a clickable information icon has been added to the keyboard in #166, an action is needed to display a message to the user about Wikidata. The icon appears when the user sees the "Not in Wikidata" message, which to many would be confusing. Clicking the icon should present a tooltip message over the keyboard that explains:
How this is exactly displayed is open to discussion, as well as if this message should be in English or the keyboard language (the latter is preferable).
Contribution
Would be happy to get to this in later versions or support someone with interest!
The text was updated successfully, but these errors were encountered: