Coder Social home page Coder Social logo

keebhunter's People

Contributors

tuckerchapin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

keebhunter's Issues

Loading states

Beyond the /search page there's not much in the way of loading and when the backend gets choked there's fair amount of pop-in and FOUC.

  • Better un-loaded state/styles for <TagList> before the tags are retrieved
  • Any sort of loading communication on <ProductPage>
  • Better UI blocking and activity communication when saving a new entry or edits

TagInput renders poorly on Safari-based browsers

Sadly, this is likely a wontfix. For the time being iOS and desktop Safari do not support the flex gap property and so the <TagInput> component renders without spacing between the tags. It doesn't look good, but it doesn't affect the functionality. The latest Safari technical previews support gap so whenever that makes it into a full release, iOS support will likely be soon to follow. If someone wants to make a shim for this they are more than welcome to, but even as an iPhone user myself I can't find the drive to do so.

Improved tag handling

Currently, all of the tags are fetched at once at the start and all of them are displayed to the user in the <TagList> sidebar. With >100 Tags the workaround at the moment is to .limit(200) on this request. That's not great, but showing all 100+ tags isn't great in the first place.

The solution is to add a cloud job that will populate a popularity field for tags. Something roughly like

Tag.popularity = Query(Products).contains('tags', Tag).count()

The <TagList> will then only show the top 5 or so tags by popularity for each category. Possibly with an option for the user to click "show more" and load the next few in that category. This should cut down on visual clutter.

Then each <ProductResult> and <TagInput> will need to fetch and include their tags. Any tags shown on a product page, or entered in as a filter, or otherwise marked as selected should also be included in the tag list. This will require a bit of a rework to the <TagList> component and the store.

Move image compression server-side

Currently, images are compressed before being saved and, on saving, the first image is used as a thumbnail and resized. The utils.thumbnailify and utils.compress functions should likely be moved server-side as their own functions or Parse.File.beforeSave triggers.

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.