GithubHelp home page GithubHelp logo

jarvis394 / geekr Goto Github PK

View Code? Open in Web Editor NEW
329.0 329.0 24.0 16.07 MB

✨🎉 Habrahabr, but with a new client

Home Page: https://geekr.vercel.app

License: MIT License

HTML 0.18% TypeScript 99.14% JavaScript 0.31% Shell 0.01% Dockerfile 0.02% CSS 0.35%
geekr habra habrahabr material-ui react redux typescript

geekr's Introduction

 
 
 

geekr's People

Contributors

dependabot[bot] avatar istudyatuni avatar jarvis394 avatar lencodigitexer avatar moetelo avatar tarik02 avatar ttury avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geekr's Issues

Move from Redux to MobX

MobX is easier and more convenient to use than Redux, and it also doesn't require lot of boilerplate. Therefore, this should be in a roadmap

Authorization error

Description
Can't log in with my current account credentials. No errors in Network stack or console.

How to run

How to run script.

I download Node and install TypeScript.

Command:

D:\github.com\habra\src>tsc index.tsx 

is fail(((
Write is this and more

index.tsx:1:24 - error TS2307: Cannot find module 'react' or its corresponding type declarations.

I'm a complete noob in JavaScript

Решение проблемы с выгрузкой из памяти

Возможно ли сделать чтобы habra запоминала в свое хранилище состояния открытых страниц и их стек, чтобы в этом плане вообще не зависить от браузера и чтобы даже если он выгрузит habra из памяти я все ещё мог нажав кнопку назад попасть именно на ту же страницу с которой открыл статью (слетает скрол а иногда и режим т.е лучшие или все подряд)

"Collapse thread" ability

May be a useful feature to review long comments list.
Standard "habr web" version already has this feature.

Restore scroll on back navigation.

Every time I navigate back inside the app I'm being thrown to the beginning of the page.
Every time I open some link and then return back I might find myself at the end or at the start of the page, it seems random.

Не рендерится latex

В математических статьях встречается latex как тут https://habra.js.org/post/528142 который на десктопе рендерится а на мобильной остаются в исходном виде

$$display$$5=101_2=1x^2+0x^1+1*x^0=x^2+1$$display$$

Лучшие за год

В мобильной версии почему то максимальный промежуток для лучших статей месяц, хотелось бы иметь лучшие за год и в мобильной версии

Provide automated tests

Autotesting is the key in open-sourced project, people can not worry about if their pull request will break the app or not. They will already know the answer.

Suggestions & improves

Продублирую сюда:

Если браузер устройства не поддерживает Service Worker, то эта страница всегда будет отображаться. Ну и при первом открытии пользователи всегда будут видеть 404 страницу.

Эта проблема (context root'а или pathname) исправляется простыми двумя скриптами в 404.html и index.html.

Вообще это не единственная проблема с Service Worker, но у вас вроде отдельный домен, поэтому не должно больше вызывать сложностей.

  1. Как это исправить описано тут
  2. За место mobx можно сначала попробовать концепцию @redux/toolkit (но это всего лишь предложение, решать вам)
  3. Есть жирные компоненты без memo
  4. В целом проект не плохо написан, вы молодец, продолжайте в том же духе!)

Расшифровка рейтинга у статей и комментариев

вертится на уме, то что официальная мобильная версия при нажатие на рейтинг показывает сколько было голосов за и против, сам пользовался пару раз для комментариев, может будет полезно, не знаю

image

так оно выглядит на оф версии

Add user support

Need a following codes for sending user request:

Cookie: _csrf=value1
csrf-token: value2

Create a page where user can paste these values from a script, that is being executed on the main habr page.

Показывать про какой ЯП статья в ленте

Авторы когда пишут статью никогда не упоминают о языке программирования надеясь на то что читатель посмотрит на тег, однако мобильная версия (официальная) показывает теги только в конце статьи, было бы удобно если тег с языком показался бы сразу на главной

"Open in habra."

Extension for browser (work on habr.com) with ability open in habra.

Wrong gender of a noun

Shows up as a woman (sex: 0) but instead it is eventually 'he':

image

Should be a problem to Habr API

Замена ссылок habr.com на habra.js.com

В тексте комментария может встречаться ссылка на другие статьи и хотелось бы чтобы можно по ней переходит сразу в версию habra.js

No image

On this post images (except first) not loads. In figure > span > img no src attribute:
screenshot

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.