Comments (3)
@kachkaev It has been 25 days, and I have made some updates of this repo. The alert box is changed to a notie. See the new version.( But the "displaying repos not existed on github" feature is not added.)
2016-6-30: Alert to notie
2016-6-28: Add clear btn
2016-6-28: Better view for "many star" repos(use current star number as the last point on the graph)
2016-6-26: Store repo info into url hash
2016-6-26: multiple kinds of input styles(eg: github.com/timqian/star-history, ...)
2016-6-26: Better view for less star repos #28
2016-6-14: Toggle search by hit enter #26 , prevent crash while searching for not existing repo
from star-history.
Hi, @kachkaev Sorry for the late apply and thanks for your advices, they sounds reasonable. Hopefully I will find time to add the first two advices in the next week(as I am busy building something else recently)
- prevent 'crash'
- multiple input style
As for the UX perspective, I don't see much necessity to display repos not existed on github(maybe an alert information will be enough). So it might won't be added. What do you think?
from star-history.
Hey @timqian, thanks for your reply and for willing to implement the new stuff!
I'm not quite sure that an alert is a good solution from the UX perspective. It blocks useful parts of the UI and requires a user to move the mouse, then carefully stop on top of a button, click it and finally move the mouse back. All this without a reason, because pressing that button in an alert does not tell the interface perform any action. Such case of a modal window are well-described in literature on interfaces, e.g. The Humane Interface by Jef Raskin. An error can be reported much easier and without causing a distraction. E.g. the input's background can temporary change to red, the input can shake (like in OSX login screen) or a gentle notification can appear next to a field. This is in case if we have a one-liner.
The reason why I suggested to keep the non-existing repos too is because I see the list of them as a single multi-line input rather than an array of the individual ones. This way it is much easier for a user to control what they want to display in a chart. A person just types whatever he or she wants and the image updates either on each key press, after hitting enter / shift+enter / control+enter or after pressing some "accept" button. The app does not control what is in the multi-line input, it just reacts to the changes in it.
Therefore, if you paste a poem into the text field, the interface will just show [×] next to each line, because none of the lines will match the expected regexp. No requests will need to be made to check whether the repos with such names exist. In a normal situation, people will just be typing or pasting real repo names, either one by one or in bulk. If there is just a single multi-line input with some status icons on the side, a user will have to perform the smallest number of actions ever possible to get to their result. They can easily swap, remove or change the names of individual repos without having to press custom controls and without you having to implement these controls. The app gets a lot of features for free an the UX is as simple as typing stuff in a Notepad.
from star-history.
Related Issues (20)
- Display tags on horizontal axis
- Setup the Gitpod ready-to-code system HOT 1
- Image is blank when saving from firefox. HOT 1
- Annotations
- Consider adding support for other platforms HOT 1
- Star history stops working for my repo since May 8, 2023 HOT 8
- Printed style of star history graphs HOT 3
- star-history chrome plugin doesn't handle URL query parameters
- Sometimes it show error: "Unauthorized: Access Token Unauthorized" or "Forbidden: GitHub API rate limit exceeded" HOT 1
- Review added at repo-reviews.github.io
- the website blog page has a error? HOT 1
- Daily star count HOT 1
- Starlet #8 doesn't load HOT 1
- 'Invalid date' shown in bylines of Starlet issues #11 onward HOT 1
- [BUG] parameters should be url-encoded
- Upgrade to Vite 5?
- Link to GitHub repo
- Support for PNG via the API HOT 1
- Negative star count at project start HOT 2
- Add repo-analytics, also from tim qian HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from star-history.