Giter Club home page Giter Club logo

Comments (11)

jooize avatar jooize commented on August 11, 2024 1

Import from Document Providers and Photo Library (make it so the app doesn’t get full read access to photos). iTunes is a horrible way to transfer into an app.

People use services that you won’t ever have icons for. Please enable custom icons.

Thanks for making Tofu. I have many ideas I’ll post over time. Using MFA many times every day has made me think the process through.

from tofu.

calleluks avatar calleluks commented on August 11, 2024

Hey @akerl, I'm happy you're enjoying the app! 😄

side idea: maybe make it possible for users to add their own icons? More code work, but could spare you from crazy esoteric requests and would rock for things like AWS, where I have 8 different TOTP rows

I think this is a great idea! I've thought about it a bit in the past but I haven't figured out where people would add icons from. Would it be from the camera roll/photos? It seems a bit cumbersome, especially if they also have to prepare the images in specific dimensions. Do you have any thoughts on this?

I'll do my best to include the icons you requested in the next release. I'm afraid it will take some time until I have it ready, though, since I'm currently a bit overwhelmed with freelance work.

from tofu.

akerl avatar akerl commented on August 11, 2024

My rough plan is to put my time where my mouth is and see about PRing in some icons when I get home tonight :)

I imagine I'll just look at the current icons for format/dimensions.

I agree that pulling from photos would be cumbersome, but I'd consider it an advanced option. A bit cumbersome for the user, but would let them freely customize, and with any luck it's not something they'd be doing often.

Another option that just occurred to me: maybe break icons out into a separate repo / artifact? I've got essentially 0 knowledge about Swift / iOS dev, but if I think from the perspective of other programming, maybe it makes sense to pull the icons from a "tofu-icons" github repo (or a tarball generated from such a repo). That opens up 2 options:

  • For you, accepting icon PRs doesn't require a new app release, just merging a new icon into that other repo
  • There's the possibility to expose the repo as a tunable in Settings. So if I want custom icons, I fork your repo, add whatever icons I want, and then tell the app to use that for icon artifacts.

The latter might be nuts because of the added implications of pulling from potentially untrusted user input.

from tofu.

frozenshadow avatar frozenshadow commented on August 11, 2024

Besides programmer I am also a graphic designer, maybe I can make some icons too.
And besides the camera roll option, it would also make sense to make use of the documents options in iTunes.

Then you have two possibilities for the naming convention:

  1. github.png = GitHub, wordpress.png = Wordpress etc.
  2. Select icon in-app (this could off course also be the camera roll)

Let me know what you think and if and how I can help :)

from tofu.

calleluks avatar calleluks commented on August 11, 2024

@akerl:

My rough plan is to put my time where my mouth is and see about PRing in some icons when I get home tonight :)

I imagine I'll just look at the current icons for format/dimensions.

This would be great! In the project root, there's a Sketch file with all of the current icons. The easiest thing is probably to copy the row of placeholder icons, renaming the group and icons, adding the artwork and then exporting them using the already set up export formats.

Another option that just occurred to me: maybe break icons out into a separate repo / artifact? I've got essentially 0 knowledge about Swift / iOS dev, but if I think from the perspective of other programming, maybe it makes sense to pull the icons from a "tofu-icons" github repo (or a tarball generated from such a repo). That opens up 2 options:

For you, accepting icon PRs doesn't require a new app release, just merging a new icon into that other repo
There's the possibility to expose the repo as a tunable in Settings. So if I want custom icons, I fork your repo, add whatever icons I want, and then tell the app to use that for icon artifacts.
The latter might be nuts because of the added implications of pulling from potentially untrusted user input.

I have considered it in the past but am hesitant to add networking code and external service dependencies to the app since I think the lack of networking code is a "feature" and that I'm not a big fan of maintaining the hosting for the artifacts. If they can be hosted on GitHub, I guess that wouldn't be a big hassle, though.

@frozenshadow:

Besides programmer I am also a graphic designer, maybe I can make some icons too.

Let me know how I can help you out!

And besides the camera roll option, it would also make sense to make use of the documents options in iTunes.

I think this is an interesting option.

Here are some possible steps towards letting users add their own icons:

  1. For any given account, in addition to automatically selecting an icon based on the issuer name, also let the user manually select one from all bundled icons.
  2. Also let the user select icons added as documents through iTunes
  3. Also let users add icons from their camera roll

I won't have time to implement this in the near future so if someone else would like to pick it up, I'd be happy to answer questions! If not, I'll get to it whenever I have time.

from tofu.

eutampieri avatar eutampieri commented on August 11, 2024

I think icons could be added by bringing up a screen where the name provided is searched in some api like bing images and the user is able to select from a grid the icon that best suits its needs.
PS: this app is good because of its clean interface… keep working!

from tofu.

eutampieri avatar eutampieri commented on August 11, 2024

Here it is:
https://dev.cognitive.microsoft.com/docs/services/56b43f0ccf5ff8098cef3808/operations/56b4433fcf5ff8098cef380c

from tofu.

captn3m0 avatar captn3m0 commented on August 11, 2024

I found the thumbnails in andOTP pretty helpful: https://github.com/andOTP/andOTP/tree/master/app/src/main/res/drawable

It has some default generic icons as well, which you can assign to your custom mail provider, for eg.

from tofu.

yoiang avatar yoiang commented on August 11, 2024

@calleerlandsson for icon submissions would you prefer each icon be a different PR, different commit, or all bundled together and articulated in the commit message?

from tofu.

calleluks avatar calleluks commented on August 11, 2024

Hey @yoiang, as long as the commit messages are clear, both are fine with me.

from tofu.

TCB13 avatar TCB13 commented on August 11, 2024

We're also missing an icon for Twitter and another for Bitstamp! Keep up the great work.

from tofu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.