Giter VIP home page Giter VIP logo

instantlogosearch's People

Contributors

cameronrohani avatar saiichihashimoto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

instantlogosearch's Issues

Google Analytics Pageview/Impressions

When we have permalinks/SEO figured out, we're going to have to:

  • Set the page and send a pageview when it changes
  • Set impressions with list/position on homepage/search
  • Send Product Click (if we have some kind of permalink for logos)
  • Set impression for logo (if we have a permalink for it)

Infinite Scroll

First time will have a button/text/clickable that expands, THEN infinite scroll.

Visual feedback when downloading

@cameronrohani: When downloading a logo, it might take some time. It's super weird to hit the button... and nothing happens. During that time, we should show some kind of animation.

We can't do this whatsoever in Safari and we can only do it in other browsers for the zips. This won't be difficult. @saiichihashimoto can add a class for @cameronrohani to mess with.

Bonus: The popup should only show after that time. Again, only possible in those specific instances.

PNGs Zip Bug

Downloading the PNGs as a zip doesn't work (but it does as SVGs...?)

Carbon Ads Implementation

  • Position the ad in the 4th position
  • Get bank account
  • Get paypal account
  • Include Script
  • Have the ad persist between MainPage and ShortnamePage

OpenSearch search results

Make OpenSearch have the capability of returning an xml "response" document. This gives OpenSearch actual results to display, which would be VERY cool.

Margin on the bottom of the logos

When trying to add two logos that are on the bottom of the page to the collection, you have to scroll up between adding the two since the collection gets in the way. Having the margin always be on the bottom of the page fixes this. @cameronrohani has a different, mystery solution he's working on.

Error: request entity too large

View details in Rollbar: https://rollbar.com/instantlogosearch/instantlogosearch/items/11/


Error: request entity too large
  File "/app/node_modules/body-parser/node_modules/raw-body/index.js", line 196, in readStream
        return done(createError(413, 'request entity too large', 'entity.too.large', {
  File "/app/node_modules/body-parser/node_modules/raw-body/index.js", line 106, in getRawBody
        return readStream(stream, encoding, length, limit, done)
  File "/app/node_modules/body-parser/lib/read.js", line 76, in read
      getBody(stream, opts, function (err, body) {
  File "/app/node_modules/body-parser/lib/types/json.js", line 121, in jsonParser
        read(req, res, next, parse, debug, {
  File "/app/node_modules/feathers/node_modules/express/lib/router/layer.js", line 95, in Layer.handle [as handle_request]
        fn(req, res, next);
  File "/app/node_modules/feathers/node_modules/express/lib/router/index.js", line 312, in trim_prefix
          layer.handle_request(req, res, next);
  File "/app/node_modules/feathers/node_modules/express/lib/router/index.js", line 280, in <unknown>
          trim_prefix(layer, layerError, layerPath, path);
  File "/app/node_modules/feathers/node_modules/express/lib/router/index.js", line 330, in Function.process_params
        return done();
  File "/app/node_modules/feathers/node_modules/express/lib/router/index.js", line 271, in next
        self.process_params(layer, paramcalled, req, res, function (err) {
  File "/app/node_modules/compression/index.js", line 218, in compression
        next();

Fixing logos that don't have both width/height

There's some logos that don't have both their height/width set, so when we convert it, svgtopng get upset. We then set both ourselves, but we shouldn't have to (and we're doing twice the work). We should set the logos or have the repos that host them have them set.

The seanherron/Flag-Webicons repo seems to be the worst offender of this.

View details in Rollbar: https://rollbar.com/instantlogosearch/instantlogosearch/items/9/


Error: Width or height could not be determined from "/app/node_modules/instant-logos/node_modules/seanherron_Gov-Webicons/images/gov-usa.svg"
  File "/app/node_modules/svg2png/lib/svg2png.js", line 52, in processResult
             throw new Error(stdout.replace(/\r/g, "").trim());
  File "node.js", line 357, in process._tickCallback

OpenSearch

OpenSearch is how we get ourselves into people's omnibar and able to search things. Not fully aware how this works. It looks like it's a document that puts you into a user's browser, but also can suggest things in there if we provide it the right way.

http://www.opensearch.org/Home

Capture heroku platform errors into rollbar

Right now, papertrail just dumps a bunch of logs into slack, which is suboptimal. Ideally, we could get rid of that integration, have rollbar capture all of those platform errors, and it can do what it does about creating more relevant github issues and whatnot. We don't want issues like #47 that address a concern but don't actually pinpoint a problem.

The rollbar people suggested we:

  • use a separate logging platform for their webhooks (which costs us money, boo), or
  • make a server that gets heroku/papertrail webhooks, massages the JSON, and passes them onto rollbar.

We'll probably go with option 2 unless rollbar ever makes a heroku/papertrail integration. Until then, we'll have to make our own solution.

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.