Conversation
- add my latest repositories - add latest repositories graph query
|
Thank you for your contribution! 🎉 🔔 @thomaslombart @unnamedd @tonka3000 @khasbilegt @pernielsentikaer @loxygenK @oilbeater @LunaticMuch @aeorge @daquinoaldo @peppy you might want to have a look. |
|
@aeither : Some considerations: I tried the code, the current repository what is displayed in the list on raycast does not correspond to what I see by going to my profile on repositories. Sorting should not be based on the last update which could be a commit as well as a description change. I also tried editing on myLatestRepositories using Some dates of the last update on some repositories do not seem to match, between those on raycast and those displayed on github repositories. |
Thanks for noticing the difference between the Github GraphQL query and github profile repositories. As you can find under profile repositories filter. It is sort by last updated by default. That's why I tried with updatedAt. Actually my first try was with search. But it is a long query, I wanted something where I can just hit enter to see my latest repositories. I have noticed that under profile repositories it include repos like those that are updated not by you. for example: updated by dependabot and forked repositories also as you mentioned there is mismatch in date. Regarding the dates, In Raycast the date comes from repository After few more attempts. To reflect better raycast my latest repos with profile repositories from github.com I changed to PUSHED_AT and also updated the the date to pushedAt. In this way, it also shows repositories where is updated by dependabot and forks which weren't showing with UPDATED_AT. Also the dates should be also the same now that it comes from pushedAt. |
|
@aeither : I get the following error:
Error is due to this part of code: Sometimes it gives an error, other times it doesn't, when it is inserted. |
|
@Angelk90 updated |
|
@aeither: It works even without having to put the Strange things happen, I don't understand why, but at the moment it doesn't cause any problems. it happened a few times then not anymore. I don't understand how P.s. |
|
I am on raycast slack but I don't open it often as I don't use Slack. |
|
@aeither I get the need for this command but there's already a command called |
|
@thomaslombart Hey Thomas. First, It serves a different purpose. with search repositories is for when I already know what I am looking which is why there is a search bar where I can filter and look for the term I already have in mind. With latest, I don't know what is the name but I know I commit to it recently so I can find the repo with the command without any term in mind. Putting my latest inside search make it less intuitive for new users as the name search repositories doesn't indicate immediately it can also list your latest repositories. I also use search repositories. Putting my latest repos inside make me have to move back and forth in the dropdown so after I searched for something I have change in the dropdown back to my latest repos and viceversa. Putting latest option inside search also means adding technical complexity. The graphQL query for search repos is different from my latest repos. |
|
@aeither : You can tell me what name I can find you with on Slack or if you prefer another Discord channel or Twitter. |
thomaslombart
left a comment
There was a problem hiding this comment.
Fair enough! 🙂
Could you add an entry in the CHANGELOG.md file though? Here's our guidelines about that: Version History.
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |


Description
Added My Latest Repositories Command to show my latest Github respositories in descending order.
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder