Timeline for Pulling data from the GitHub API for user repositories
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2019 at 23:32 | comment | added | Aleksandr Hovhannisyan | Yeah I just went with the hardcoded approach so my repos don't look too noisy. Good enough for me :D | |
Jul 8, 2019 at 18:35 | comment | added | Sᴀᴍ Onᴇᴌᴀ♦ | oh, hmm... neither approach seems very clean... perhaps an ideal scenario would be that the repo would have a meta field to store such information... I considered suggesting a regex to look for emoji chars and conditionally strip them out when displaying the non-emoji description | |
Jul 6, 2019 at 18:03 | history | bounty ended | Aleksandr Hovhannisyan | ||
Jul 6, 2019 at 17:52 | vote | accept | Aleksandr Hovhannisyan | ||
Jul 3, 2019 at 18:24 | comment | added | Aleksandr Hovhannisyan |
Thanks for all the feedback! I didn't ask this originally, but I wonder: Would it be better to hardcode the repo icons (the emoji) alongside all the other info instead of getting those from the GitHub repo description (using substrings)? I currently use icon.textContent = repo.description.substring(0, 3); , which seems a bit hacky/unclean to me. Just curious.
|
|
Jul 3, 2019 at 17:56 | comment | added | Sᴀᴍ Onᴇᴌᴀ♦ | Yes that ability would be lost. | |
Jul 3, 2019 at 17:56 | history | edited | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 4.0 |
added 184 characters in body
|
Jul 3, 2019 at 17:50 | comment | added | Aleksandr Hovhannisyan | I guess I should've mentioned that I also want the repo cards to appear in a specific order—namely, the order in which their records were inserted into the map. If I use an object instead of a map, wouldn't I lose the ability to traverse the cards in that custom order? | |
Jul 3, 2019 at 16:18 | history | answered | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 4.0 |