Git Product home page Git Product logo

tta-elastic's Issues

[FE] Make the tips modal a panel

On the search page, the tips checkbox opens a modal route. Instead, this should be a side panel.

Done criteria:
[ ] checking the tips checkbox opens a side panel
[ ] side panel has a smooth entry animation
[ ] side panel works on mobile
[ ] uninstall react-router-modal

Corrupted ids in JSON export

Thanks for making this project! I noticed that the tweet identifiers in the JSON export have overflowed. This is a common problem when processing the tweet ids as integers instead of strings in JavaScript.

ISC license

Hi!

The package specifies this project is ISC licensed.

Would you mind adding a license file with the corresponding copyright notice?

does this still work?

he's been unsuspended so not sure if you need to re-enable something to start pulling his tweets again...

Buffer(...) is deprecated

node --trace-deprecation node_modules\jest-cli\bin\jest server/tests/get-tweets.test.js
Expected results: should pass cleanly
Actual results: passes but points out that Buffer(...) is deprecated

(node:2820) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:194:11)
at new Buffer (buffer.js:281:3)
at getTweets ($REPO_ROOT\server\get-tweets.js:9:23)
at Object. ($REPO_ROOT\server\tests\get-tweets.test.js:9:5)
at $REPO_ROOT\node_modules\jest-jasmine2\build\queueRunner.js:43:12
at new Promise ()
at mapper ($REPO_ROOT\node_modules\jest-jasmine2\build\queueRunner.js:26:19)
at $REPO_ROOT\node_modules\jest-jasmine2\build\queueRunner.js:73:41
at processTicksAndRejections (internal/process/task_queues.js:93:5)
PASS server/tests/get-tweets.test.js

Insights - Links to tweets are dead after the ban

https://www.thetrumparchive.com/insights/insults and https://www.thetrumparchive.com/insights/past point to Twitter, and those tweets don't show up any more.

image

One workaround would be to use the same display from https://www.thetrumparchive.com/insights/past (which also seems affected by the ban).

A neat workaround would be to render the tweets very close to Twitter's UI, using @abraham's twitter-status component. Unlike all other Twitter React components, this one doesn't use Twitter's oembed, or fetch the tweet from Twitter. Instead it takes a parameter with the contents of the `GET statuses/show/:id response from Twitter, which can be recreated from the database.

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.