denar90 / sloth

Sloth - an extension slowing down page loading to bring real user experience
https://chrome.google.com/webstore/detail/sloth/hekdlpaieaibohkfokedfidncnmocfpp
MIT License
198 stars 11 forks source link

Reconsider design of the popup #7

Closed denar90 closed 5 years ago

denar90 commented 5 years ago

I'm not a fan of the current design of popup, is anyone has ideas - they are more that welcome :)

Current design image

SuretnoHQ commented 5 years ago

Hi @denar90,

Just an idea from me, we can use single select to define a url for throttling.

Maybe like this :

<select>
  <option value="all">All tabs</option>
  <option value="https://github.com/">https://github.com</option>
  ...
</select>

And the design will be like image below.

sloth

Thank you

denar90 commented 5 years ago

Hi @muhibbudins, it looks lovely :heart_eyes: Where do you think we can place checkboxes on a popup?

SuretnoHQ commented 5 years ago

Hi @denar90, What checkboxes? All tabs? As i explain above, i think we can use single <select> with options to set current origin or set to origin on all tabs 😄

denar90 commented 5 years ago

Yeah, I got it :) but probably we will have one more checkbox after merging #5. Also If we wanna get rid of checkbox for Apply to current tab (URL origin) then probably we should consider having this message as notification for user that all related origin tabs also will be throttled.

SuretnoHQ commented 5 years ago

Oh i see, i missed to see the PR. Maybe we can add a cog icon at top left popup, to set an option auto-reload or another options in the future.

For message Apply to current tab (URL origin) we can place it below a Apply button.

denar90 commented 5 years ago

Sounds awesome!!! Like your way thinking about UI 👍

SuretnoHQ commented 5 years ago

Sounds good! Thanks for awesome project! 👍

denar90 commented 5 years ago

Thanks :) Would you like to apply new design? :)

denar90 commented 5 years ago

@muhibbudins can you share prototype file of your awesome design (sketch, or photoshop, or smth)? So probably me or someone can take it for implementation :)

SuretnoHQ commented 5 years ago

Hi @denar90,

Sorry for late response, i've created a PR for this issue. So can custom it again on function or other.

Reference #8

Thank you