Code Monkey home page Code Monkey logo

Comments (7)

ccrsxx avatar ccrsxx commented on May 31, 2024 1

Hmm, cool small feature. but no plan to do this since I'm really busy rn. You can try to implement it yourself or maybe even make PR yourself, so I can review it and merge it to this project.

from twitter-clone.

Ketchupchh avatar Ketchupchh commented on May 31, 2024

You get the red "not allowed" sign because this kind of feature isn't implemented. You can implement this feature yourself and open a PR if you'd like :). There are many packages you can install from npm that allows you to make one.

from twitter-clone.

pedro-vicente avatar pedro-vicente commented on May 31, 2024

You get the red "not allowed" sign because this kind of feature isn't implemented

I understand that. I was asking what would be needed to implemented it in Next.JS. I know absolutely nothing about Next.JS, so I am asking for a tutorial, sample code that you can point to, thanks

from twitter-clone.

Ketchupchh avatar Ketchupchh commented on May 31, 2024

I haven't implemented one myself which is why I suggested using an npm package. I found this one. It comes with documentation and sample code for you as well.

from twitter-clone.

pedro-vicente avatar pedro-vicente commented on May 31, 2024

👍🏾

from twitter-clone.

pedro-vicente avatar pedro-vicente commented on May 31, 2024

@ccrsxx My goal here was to adapt this library as a GUI front end for a large C++ back end, that is itself a twitter like engine. This interface looked ideal to adapt (by embedding it inside a C++ web engine) , but at this time I am not sure if it is worth the time. I might prefer a 100% C++ solution, where the support for emoji rendering is also possible, but nothing like this library in widgets, like 'like' posts, retweet, etc. I might get back to this, if the other solution is not possible, thanks for the offer

from twitter-clone.

pedro-vicente avatar pedro-vicente commented on May 31, 2024

@ccrsxx So, Javascript is really not for me, and I decided to redo your code in C++. I have a GUI already, so that's not an issue. What I am trying to figure out is the navigation algorithm you did. By that , I mean the all Twitter experience (well, not all) of browsing, responses, etc.

The effect I want is exactly like this interface.

Here's what I have

a feed entry displays a "tweet";
it has text, images, media, a list of responses , list of likes, retweets

a feed entry has 2 states :

  1. regular mode: a regular entry in the feed, an element in the feed list
  2. active mode: after mouse click, covers all feed area, displays responses
  3. a stack is made to return to original post; this feed is added to stack,
  4. add a "<- Home" at top, to return to original post (regular mode)
  5. click on a response, puts that feed entry in active mode, and adds it to the stack

Any comments on this ?

Gracias

from twitter-clone.

Related Issues (20)

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.