Code Monkey home page Code Monkey logo

undraw's Introduction

undraw's People

Contributors

allcontributors[bot] avatar dance2die avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

undraw's Issues

Add an option to download "Optimized" SVG file

Run SVGO on all SVG files.

So two download links

  1. "Download": Full SVG vrsion
  2. "Download Optimized": SVGO optimized image - smaller most of the time.

Not a high priority but one of those "nice-to-have" features.

Add a search functionality

Initially, go with a simple "TypeAhead" strategy by dogfooding my NPM library, @cshooks/usetrie

Later on,

  1. Create a JSON object of file name to keyword mapping
  2. use Algolia to create indexes of file name & keyword mapping
  3. Replace the search functionality

Add "Download" link shown on hover

What?

Add a "Download" link on hover.

Additional Context

Currently hovering on an image only shows a list of tags associated with the image in a gradient gray background on a white background.

Bring down "Download" link on the top portion of the tag (in slightly lighter gray tone)

Update Search with Algolia

Initial search functionality uses a simple typeahead of file names to search for an image.

In this step,

  1. Create a JSON object of file name to keyword mapping
  2. use Algolia to create indexes of file name & keyword mapping
  3. Replace the search functionality

Progressive Web App

Below are the lists to take progressively to turn the search page as a PWA.

๐Ÿง  Caching Strategy

  • Cache first: The site content will rarely change. So I am going to try to fetch from cache first
  • Essential assets such as fonts, CSS and JS will be cached initially

โญ Caching assets

1. [ ] Cache Google Fonts & CSS
- [ ] Show a shimmer effect as an image place holder

  • When an image is displayed, add it to cache
    - [ ] Add a button to cache ALL images (should display a big warning for mobile users)

๐Ÿ”Œ Offline

  1. Add a "You are offline message on the top"
  2. Create an offline page - Scrolling will fetch data from cache OR shimmer

๐Ÿก Home Page

  • Add an option to enable adding to home screen.
  • Create a slash screen using the theme color "#e91e63"

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.