Giter Site home page Giter Site logo

factlist-ui's Introduction

factlist-ui

Installation

npm i

Development

npm start

Production

npm run build

factlist-ui's People

Contributors

alicavdar avatar onerciller avatar gwn avatar serefyarar avatar serafettin avatar serpilacar avatar lutfidemirci avatar naxulanth avatar codemaster115 avatar batuhan avatar

Stargazers

 avatar  avatar  avatar Andriy Polukhin avatar Yiğit Genç avatar Enis B. Tuysuz avatar Can Çitoğlu avatar

Watchers

James Cloos avatar  avatar  avatar Can Çitoğlu avatar  avatar

factlist-ui's Issues

Import links

Users should be able to import links (w/tags) from a topic to their own topics.

Topic editor: Tag autocomlete z-index problem

Aktif linkin z-indexine diğer linklerinkinden yüksek bir değer vererek aşabiliriz ancak ciddi logic gerekir. Sorting kütüphanesi değiştirmek de alternatif bir çözüm olabilir, belki.

Delete deprecated components

Since Factlist is not a fact-checking product anymore, some components and related containers/scenes should be deleted. These components are:

  • Claim
  • Evidence
  • Linkify
  • Status
  • MultimediaInput
  • Attachments

Refactor styles

Problems:

  • Shitload of duplication in styles
  • Lack of a consistent style system and proper abstractions (in either CSS classes or components)
  • Lack of a theme and sensible theme variables

Authentication/Login status

Authentication ve login status'u icin duzenlemeler yapilmali.

Kullanici login olduktan sonra kullanici bilgilerini API'dan cekmek gerek.
Oner graphQL'e getUserById query methodunu ekledi, boylece onceden yapamadigimiz authenticate olduktan sonra kullanici id'si ile kullanici bilgilerini alma islemini artik yapabilecegiz.

Refactor topic

Topic is mostly working fine but let's adapt it to comply more with React conventions. (e.g. We can probably "lift the state up" instead of relying on context)

Also implement queries with react-apollo's graphql higher order component instead of using the Apollo client directly.

Another thing is that the TopicForm should probably be a dumb component which don't actually make the requests. It should be the parent scene who does that.

https://reactjs.org/docs/lifting-state-up.html

Write docs for adapters and important libs

There are example usages of each adapter in the repo but we need to explicitly document them in order to make it easy for everybody to contribute.

Let's create a "docs" directory and start working in it.

Topic Component CRUD

Create/Edit:

  • Add/remove new links
  • Add/remove tags of a link (w/autocomplete)
  • Sort links between each other
  • Update the title of a link.

Delete:

We just need a simple confirmation dialog.

Notes:

Create Link

  • "Add a link to your topic" yazisina tikladiginda input alanina link yazilabilecek,
  • Blur eventi tetiklendiginde veya enter'a tiklandiginda link kaydedilecek,
  • Link silme backend'de hazir, ui'da delete icin tasarima karar verildiginde yapilacak.

Refactoring

Clean up legacy/unnecessary code and dependencies.

Kill the Rebass grid

We can definitely survive with standard flex configurations in plain CSS files.

Or we can define our own simple Flex components instead of depending on an external CSS-in-JS solution; if we absolutely want it that way. Not very hard.

Implement global styles

border-radius: 2px;
border-color: #E6E8EB

color-green: #34A08D
color-black: #000000

header{
max-width:1040px;
}
topic{
max-width:630px;
}

Migrate Auth to the new API

Functions:

  • Login with Email
  • Login with Twitter
  • Signup with Email
  • Signup with Twitter
  • Password reset request
  • Change passport section

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.