Skip to content
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

Support primary language and topics of Repo #4

Closed
imfycc opened this issue Nov 7, 2021 · 3 comments
Closed

Support primary language and topics of Repo #4

imfycc opened this issue Nov 7, 2021 · 3 comments

Comments

@imfycc
Copy link
Contributor

imfycc commented Nov 7, 2021

Can I add two more columns to the notion database?

Including primary language and topics of Repo

I’d be happy to contribute the code, if that’s okay.

@lcjnil
Copy link
Owner

lcjnil commented Nov 7, 2021

You can add more columns at your wish(or remove current columns except first 5), this does not require any script modification.

Howerer Notion API currently does not allow to create Select Option in API, so it might be hard to fill that in scripts

Read the new API, found it's possible to do that, PR welcomes.

ref: https://developers.notion.com/changelog/select-values-can-now-be-dynamically-created-via-create-and-update-page-endpoints-other-updates-since-public-beta-launch

@imfycc
Copy link
Contributor Author

imfycc commented Nov 9, 2021

@lcjnil Notion of the template need to add these three fields.

https://github.com/lcjnil/github-notion-star/blob/main/libs/notion.ts#L114-L136

@lcjnil
Copy link
Owner

lcjnil commented Nov 9, 2021

@imfycc Template is updated and I removed column Updated At at #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants