jarvis394 / geekr Goto Github PK
View Code? Open in Web Editor NEW✨🎉 Habrahabr, but with a new client
Home Page: https://geekr.vercel.app
License: MIT License
✨🎉 Habrahabr, but with a new client
Home Page: https://geekr.vercel.app
License: MIT License
Almost done. Reference and idea: https://habra.js.org/post/525728
Expected: to be rendered as on m. Habr.com (article: https://m.habr.com/ru/post/526946/)
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
https://habra.js.org/post/526952
Badge is empty in PostItem.
UserTabs component rerenders completely on every path change which leads to re-fading Counter.
Should be a fullscreen prompt at the start of the app and a switch in Settings
Description
Can't log in with my current account credentials. No errors in Network stack or console.
[Roadmap] Add Hub page that will contain info about hub and all posts in a hub: https://m.habr.com/ru/hub/infosecurity/
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 из памяти я все ещё мог нажав кнопку назад попасть именно на ту же страницу с которой открыл статью (слетает скрол а иногда и режим т.е лучшие или все подряд)
May be a useful feature to review long comments list.
Standard "habr web" version already has this feature.
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.
Should be a badge on the right of the PostItem component and in Post
В математических статьях встречается latex как тут https://habra.js.org/post/528142 который на десктопе рендерится а на мобильной остаются в исходном виде
$$display$$5=101_2=1x^2+0x^1+1*x^0=x^2+1$$display$$
В мобильной версии почему то максимальный промежуток для лучших статей месяц, хотелось бы иметь лучшие за год и в мобильной версии
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.
Удобно если нету возможности дотянуться одним пальцем до кнопки
Images sizes are not correct, e.g. images, which used like icons
m.habr.com
habra.js.org
Продублирую сюда:
Если браузер устройства не поддерживает Service Worker, то эта страница всегда будет отображаться. Ну и при первом открытии пользователи всегда будут видеть 404 страницу.
Эта проблема (context root'а или pathname) исправляется простыми двумя скриптами в 404.html и index.html.
Вообще это не единственная проблема с Service Worker, но у вас вроде отдельный домен, поэтому не должно больше вызывать сложностей.
Может от статьи конечно зависит https://habra.js.org/post/527296.
Когда включил светлую тему
There are manuals:
developer.mozilla.org en
developer.mozilla.org ru
web.dev
habr.com
Background color in user div
in Comment should be accent color
possibly can improve render time and reduce the bundle size
https://github.com/you-dont-need/You-Dont-Need-Momentjs
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.
Авторы когда пишут статью никогда не упоминают о языке программирования надеясь на то что читатель посмотрит на тег, однако мобильная версия (официальная) показывает теги только в конце статьи, было бы удобно если тег с языком показался бы сразу на главной
Некоторые профили юзеров крэшатся, например этот.
Extension for browser (work on habr.com) with ability open in habra.
https://habra.js.org/article/521388
Cannot read property 'class' of undefined
В тексте комментария может встречаться ссылка на другие статьи и хотелось бы чтобы можно по ней переходит сразу в версию habra.js
See pages/Post/BottomBar.tsx
On this post images (except first) not loads. In figure > span > img
no src
attribute:
На смартфоне довольно трудно рассмотреть содержимое картинок без раскрытие на весь экран и увеличение
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.