-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New extension: Contribution Graph (Github-like) #887
base: main
Are you sure you want to change the base?
Conversation
Here’s your link to the diff: Added Dagulf795/contribution-graph 09c8eaf (PR-shorthand: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dagulf795 looks like a really fun extension. I left some comments requesting changes below:
-
Suggestions/requested changes
- Would prefer a setting to make it available via a command (in cmd palette) instead of something that always takes up space in my navigation bar
- resources for it
- addCommand
extensionAPI.uid.commandPalette.addCommand
: https://roamresearch.com/#/app/developer-documentation/page/XThfc9LJ6
- settings panel for the extension
extensionAPI.settings.panel.create
andextensionAPI.settings.get
andextensionAPI.settings.set
- addCommand
- resources for it
- add gif or screenshots in README.md
- you already have a video in the Roam slack. You could use that, or personally, I'd like it if it was not that zoomed out (i.e. font size larger)
- sample: https://github.com/8bitgentleman/roam-depot-clear-sidebar/blob/main/README.md
- package.json cleanup
- when multiple years, show the year too
- Why do you have server side rendering turned on?
- Would prefer a setting to make it available via a command (in cmd palette) instead of something that always takes up space in my navigation bar
Hi @baibhavbista - changes now made. See here Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dagulf795 you need to update the source_commit to the version of the repo you want to build. Please check my comment below with clairification
"tags": ["activity", "contribution graph", "contribution", "GitHub"], | ||
"source_url": "https://github.com/Dagulf795/contribution-graph", | ||
"source_repo": "https://github.com/Dagulf795/contribution-graph.git", | ||
"source_commit": "09c8eaf5e39d8c3dee789b6607ce9fff40f6f0e2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dagulf795 it looks like you solved most of the issues I asked, thank you
Just one issue, after making an update to the source code for the extension, you need to update the source_commit
here in the JSON
To make sure the extension matches how it works locally, I also recommend checking your extension using the PR-shorthand (Mentioning this because testing via this would have caught the issue above)
You'd use that via the "load extension from URL" option in Settings > Roam Depot > developer Extensions (screenshot below)
Added corrected source_commit
Here’s your link to the diff: Added Dagulf795/contribution-graph 0f0274c (PR-shorthand: |
Hey @Dagulf795
I do know that this PR has been almost ready for such a long time, so if you'd prefer for me to release it as it is, and you fix them later, I am totally fine with that too. Please let me know And again, sorry for getting back so late! |
@Dagulf795 checking in about this again. Do you want me to release with the issues (& later fix it) or fix the issues before release? |
No description provided.