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

feat: ✨ issue redesign #16

Merged
merged 17 commits into from
May 31, 2024
Merged

feat: ✨ issue redesign #16

merged 17 commits into from
May 31, 2024

Conversation

slugb0t
Copy link
Member

@slugb0t slugb0t commented May 30, 2024

No description provided.

@slugb0t slugb0t requested a review from megasanjay May 30, 2024 22:59
Copy link

Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!

Copy link

vercel bot commented May 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
codefair ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2024 0:10am
codefair-bot ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2024 0:10am

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.

Copy link

what-the-diff bot commented May 30, 2024

🎉Hi there, let me break down the technical details into fun and accessible insights for everyone.🎈

PR Summary

  • Expanded the Bot's event coverage

Our little bot has been upgraded 🤖! It now pays attention to more events like comments on issues, pull requests, reviews and release announcements. This allows our bot to interact more and provide timely help across different scenarios.

  • Development made smooth with live-reloading

Our developers will love this one. The code now includes nodemon for the dev script. This means, every time developers change their code, it will automatically reload. It's like having the code on auto-refresh! 🙂

  • Added useful function libraries

We've added several nifty function libraries 📚. They help with things like checking license information, gathering metadata and citation info, and other utility functions. This makes the bot super smart in managing project information.

  • Enhancement in Template Rendering

Another file was added that takes care of applying templates. It also helps in generating messages for issues and creating those issues in the repo. This one is like the bot's eloquence booster 🗣.

  • Additional Utility Tools

A new utility toolbox also got added. This includes tools for verifying environment variables, finding out the default branch, checking existing issues, and figuring out programming languages used. It's like our bot got a multi-tool Swiss army knife now. 🪚

  • Package Additions and Updates

In this one, we've added a few packages and updated one of them. Here's to making our bot more efficient and up-to-date 📦.

  • Better License Editing

Editing licenses just became a lot more accessible. By the addition of a new property, headings, and help text, it gives clearer instructions for editing licenses. Plus, a fancy MdEditor component is now included for modifying license content. Click a button, and your changes get saved and pushed! 📝👍

And there you have it! All these changes are all about making our GitHub bot more interactive, versatile, and efficient! 🎉

@vercel vercel bot temporarily deployed to Preview – codefair May 31, 2024 00:09 Inactive
@vercel vercel bot temporarily deployed to Preview – codefair-bot May 31, 2024 00:10 Inactive
@megasanjay megasanjay merged commit b516615 into auth May 31, 2024
3 checks passed
Copy link

Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!

@megasanjay megasanjay deleted the issue-redesign branch May 31, 2024 08:26
megasanjay added a commit that referenced this pull request May 31, 2024
* dev: 👷 yml file for creating probot app

* wip: 🚧 dashboard issue

* dev: 👷 nodemon for probot

* refactor: ♻️ provide context for renderissue fn + nodemon file watch

* wip: 🚧 provide localhost list depending on production

* feat: ✨ provide link to PR for dashboard

* feat: ✨ update dashboard on push

* wip: 🚧 abstracting code

* wip: 🚧 abstract functions of probot

* feat: ✨ dashboard workflow for LICENSE

* wip: 🚧 clean license UI

* feat: ✨ help text for license UI

* feat: ✨ renderer file has documentation + db update

* feat: ✨ documentation for tools

* feat: ✨ documentation for probot event listeners

* refactor: ♻️ file name instead of just name on UI/add license page

* wip: 🚧 styling for license UI

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>
slugb0t added a commit that referenced this pull request Jul 11, 2024
* wip: 🚧 auth

* wip: 🚧 auth

* wip: 🚧 implementing authentication

* wip 🚧 sending user to client

* 🐛 fix: update probot to esm (#11)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update pnpm-lock file

* wip: 🚧 ensure validated session returns user/session

* refactor: ♻️ update pnpm lock file

* fix: 🐛 mongodb adapter returns user

* ✨ feat: add license ui (#12)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

* 🚧 wip: add base ui

* ✨ feat: add license ui

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* feat: ✨ profile page + fix on existing user sessions

* 🚧 fix: auth (#13)

* 🚧 wip: protected page

* 🚧 fix: auth

* ✨ feat: add base pages and auth (#14)

* 🚧 wip: add mongoose

* fix: 🐛 mongoose adapter/callback

* refactor: ♻️ use mongoose on client end

* chore: 🔨 remove unused code

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* ✨ feat: add error sections

* 🧑‍💻 chore: remove console.logs

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* ✨ feat: update layout

* 🚨 chore: fix the linters

* ✨ feat: add an error component

* 🐛 fix: use built in error component instead

* 🐛 fix: editor list styling

* 🐛 fix: add explanation text

* 🐛 fix: route to home on login

* ✨ feat: add support for license creation

* 🚨 fix: linter fixes

* 🔨 chore: update ping

* feat: ✨ issue redesign (#16) (#15)

* dev: 👷 yml file for creating probot app

* wip: 🚧 dashboard issue

* dev: 👷 nodemon for probot

* refactor: ♻️ provide context for renderissue fn + nodemon file watch

* wip: 🚧 provide localhost list depending on production

* feat: ✨ provide link to PR for dashboard

* feat: ✨ update dashboard on push

* wip: 🚧 abstracting code

* wip: 🚧 abstract functions of probot

* feat: ✨ dashboard workflow for LICENSE

* wip: 🚧 clean license UI

* feat: ✨ help text for license UI

* feat: ✨ renderer file has documentation + db update

* feat: ✨ documentation for tools

* feat: ✨ documentation for probot event listeners

* refactor: ♻️ file name instead of just name on UI/add license page

* wip: 🚧 styling for license UI

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update middleware

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* refactor: ♻️ downgrade probot

* refactor: ♻️ update api imports

* refactor: ♻️ explicitly call github app credentials

* dev: 📝 update gitignore

* feat: ✨ run probot programatically

* feat: ✨ run probot v12 on a server

* feat: ✨ metadata UI + probot workflow (#23)

* chore: 🔨 remove unnecessary files

* ✨ feat: add preliminary support for codeMetadata ui (#19)

* 🛂 fix: update auth roles

* 🚧 wip: codemetada schema

* 🚧 wip: codemetada schema

* 🚧 wip: add base form

* 🚧 wip: add cards to sub forms

* 🚧 wip: basic form

* 🚧 wip: on authors

* 🚚 wip: add authors

* 🚧 wip: add contributors

* 🚧 wip: add contributors

* ✨ feat: add support for codeMetadata ui

* feat: ✨ probot server + metadata workflow  (#18)

* dev: 📝 add scripts for dev running probot

* dev: 📝 update pnpm-lock file

* feat: ✨ store owner and new time fields for License collection

* feat: ✨ update dev script to use nodemon

* wip: 🚧 repo metadata update

* fix: 🐛 push and create pr for license request

* bug: :fix: pass repo object to render issues

* fix: 🐛 es6 import for humanparser

* wip: 🚧 creating repo metadata db entry

* feat: ✨ function documentation

* feat: ✨ update repo name if it changes

* fix: 🐛 pass correct parameters for data fetch

* fix: 🐛 extra field needed for authors metadata

* feat: ✨ update db if repo name changes

* feat: ✨ update on codemeta template function

* fix: 🐛 parameters for file checking

* docs: 📝 documentation on license functions

* strictly pass repo name rather than entire object

* chore: 🔨 updates

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* 🐛 fix: draft saves

* 🐛 fix: draft saves

* refactor: ♻️ prettier refactoring

* refactor: ♻️ use correct path for codemeta link in issue dashboard

* fix: 🐛 use correct value for author names

* feat: ✨ contributors added to metadata object

* refactor: ♻️ update gather authors fn for contributors

* chore: 🔨 todo notes

* refactor: ♻️ empty contributors + provide correct issue tracker link + update gather authors fn

* fix: 🐛 installation collection fix

* chore: 🔨 updates and comments

* refactor: ♻️ revert gather authors fn

* fix: 🐛 save value for select pickers with one selection

* fix: 🐛 store form in metadata value

* fix: 🐛 show value if one avail on initial load (select picker)

* fix: 🐛 probot's codemeta values modified to suit UI

* fix: 🐛 correct value name for author/contrib roles

* refactor: ♻️ change timestamps to unixmilliseconds

* ✨ feat: add support for saving codemetadata in repository (#20)

* fix: 🐛 use correct comparison with reponame on db

* refactor: ♻️ use unix millisecond in metadata

* refactor: ♻️ verify repo name abstracted and patched

* fix: 🐛 correct value for operating sys, runtime plat for code metadta

* fix: 🐛 proper badge color for codemetada found

* feat: ✨ improved layout on metadata UI

* ✨ feat: add dashboards (#22)

* ✨ feat: add repo dashboard page

* ✨ feat: add github acount dashboard

* style: 🎨 UI design for code metadata page

* refactor: ♻️ shorten help text on issue dashboard for license

* refactor: ♻️ update help text on license UI

* feat: ✨ UI help text added for codemetata

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* refactor: ♻️ remove validate button from codemeta section

* Staging (#24)

* test

* changes

* remove new lines in private key

* push

* push

* pls

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* 👷 ci: use node 20 in nixpacks

* fix: 🐛 replace nanoid

* fix: 🐛 remove port

* refactor: ♻️ determine master branch within context

* ✨ feat: add support for login redirects

* refactor: ♻️ Bot feedback (#25)

* fix: 🐛 update title for dashboard issue

* refactor: ♻️ update no license template

* refactor: ♻️ update success license text

* refactor: ♻️ update no metadata found template

* feat: ✨ Display link to repo on license editor

* 🐛 fix: update ui and fix access token (#26)

* 🐛 fix: update ui and fix access token

* 🐛 fix: add read env for port

* 🐛 fix: remove duplicate decleration

* refactor: ♻️ update on badge buttons

* refactor: ♻️ add url to codemeta section

* refactor: ♻️ About section updated

* refactor: ♻️ strictly open links in new tab

* refactor: ♻️ remove redirect

* feat: ✨ analytics collection for db

* refactor: ♻️ save license content + id upon push to repo

* feat: ✨ save license content and id upon push to repo

* style: 🎨 rounded and shadow to dashboard cards

* refactor: ♻️ update on the github dashboard

* fix: 🐛 grammar fix on title dashboard

* refactor: ♻️ update to the code meta ui

* refactor: ♻️ hide editorial section of codemeta:

* refactor: ♻️ update on license UI

* refactor: ♻️ updates

* refactor: ♻️ timestamps formatted to human readable format

* 👷 ci: add support for webhook based deployments (#27)

* 💚 ci: add pnpm to the ci env

* 💚 ci: remove unused item

* ✨ feat: add beta tag to dashboard

* ✨ feat: add a contact form

* feat: ✨ Dashboard UI Changes + License and Codemeta.json extraction (#28)

* feat: ✨ collapsible cards integrated for repo dashboard

* refactor: ♻️ remove pre data and final touches for repo dashboard

* style: 🎨 theme for project + help text for metadata subsection

* style: 🎨 collapsiblecard changes

* 📌 update pnpm lock file

* fix: 🐛 input correct name in codemeta.json file

* wip: 🚧 import codemeta.json file if exists in repo

* fix: 🐛 correct values for codemeta.json extraction

* wip: 🚧 grab license content from existing license

* style: 🎨 update dropdown icons for large layout form

* refactor: ♻️ adjustments for extracting codemeta.json info

* refactor: ♻️ changes applied to codemeta.json extraction

* refactor: ♻️ authors/contributors extraction changes

* fix: 🐛 contributor extraction workflow updated

* feat: ✨ detect and extract codemeta.json from repo

* fix: 🐛 correct key values for contrib + authors

* refactor: ♻️ update for licenseId regex

* fix: 🐛 changes to author + contrib extraction

* fix: 🐛 contributors/authors fix

* refactor: ♻️ file cleanup

* feat: ✨ extra codemeta.json upon detection

* dev: 👷 update pnpm-lock file

* feat: ✨ remove repo from installation collection upon uninstallation

* feat: ✨ event listener for alternate method of uninstallation

* fix: 🐛 metadata import with empty values

* fix: 🐛 buffer license content with base64

* feat: ✨ help links added to metadata and license page

* feat: ✨ coming soon zenodo card

* refactor: ♻️ subheader for zenodo card

* 💄 style: update ui

* feat: ✨ theme change + general UI updates (#29)

* wip: 🚧 background change

* refactor: ♻️ update bg

* refactor: ♻️ improvements on svg background blur

* feat: ✨ healthcheck added to bot

* refactor: ♻️ update healthcheck endpoint

* feat: ✨ nixpacks config file

* refactor: ♻️ move toml file

* refactor: ♻️ add packagemananger in package.json

* refactor: ♻️ move toml

* refactor: ♻️ testing dockerfile update

* refactor: ♻️ update toml

* 👷 ci: disable secondary deployment

* refactor: ♻️ specify node version in package.json

* refactor: ♻️ delte files

* 👷 ci: disable secondary deployment

* refactor: ♻️ hide bg image until finalized

* refactor: ♻️ node version

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>
slugb0t added a commit that referenced this pull request Jul 11, 2024
* wip: 🚧 auth

* wip: 🚧 auth

* wip: 🚧 implementing authentication

* wip 🚧 sending user to client

* 🐛 fix: update probot to esm (#11)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update pnpm-lock file

* wip: 🚧 ensure validated session returns user/session

* refactor: ♻️ update pnpm lock file

* fix: 🐛 mongodb adapter returns user

* ✨ feat: add license ui (#12)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

* 🚧 wip: add base ui

* ✨ feat: add license ui

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* feat: ✨ profile page + fix on existing user sessions

* 🚧 fix: auth (#13)

* 🚧 wip: protected page

* 🚧 fix: auth

* ✨ feat: add base pages and auth (#14)

* 🚧 wip: add mongoose

* fix: 🐛 mongoose adapter/callback

* refactor: ♻️ use mongoose on client end

* chore: 🔨 remove unused code

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* ✨ feat: add error sections

* 🧑‍💻 chore: remove console.logs

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* ✨ feat: update layout

* 🚨 chore: fix the linters

* ✨ feat: add an error component

* 🐛 fix: use built in error component instead

* 🐛 fix: editor list styling

* 🐛 fix: add explanation text

* 🐛 fix: route to home on login

* ✨ feat: add support for license creation

* 🚨 fix: linter fixes

* 🔨 chore: update ping

* feat: ✨ issue redesign (#16) (#15)

* dev: 👷 yml file for creating probot app

* wip: 🚧 dashboard issue

* dev: 👷 nodemon for probot

* refactor: ♻️ provide context for renderissue fn + nodemon file watch

* wip: 🚧 provide localhost list depending on production

* feat: ✨ provide link to PR for dashboard

* feat: ✨ update dashboard on push

* wip: 🚧 abstracting code

* wip: 🚧 abstract functions of probot

* feat: ✨ dashboard workflow for LICENSE

* wip: 🚧 clean license UI

* feat: ✨ help text for license UI

* feat: ✨ renderer file has documentation + db update

* feat: ✨ documentation for tools

* feat: ✨ documentation for probot event listeners

* refactor: ♻️ file name instead of just name on UI/add license page

* wip: 🚧 styling for license UI

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update middleware

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* refactor: ♻️ downgrade probot

* refactor: ♻️ update api imports

* refactor: ♻️ explicitly call github app credentials

* dev: 📝 update gitignore

* feat: ✨ run probot programatically

* feat: ✨ run probot v12 on a server

* feat: ✨ metadata UI + probot workflow (#23)

* chore: 🔨 remove unnecessary files

* ✨ feat: add preliminary support for codeMetadata ui (#19)

* 🛂 fix: update auth roles

* 🚧 wip: codemetada schema

* 🚧 wip: codemetada schema

* 🚧 wip: add base form

* 🚧 wip: add cards to sub forms

* 🚧 wip: basic form

* 🚧 wip: on authors

* 🚚 wip: add authors

* 🚧 wip: add contributors

* 🚧 wip: add contributors

* ✨ feat: add support for codeMetadata ui

* feat: ✨ probot server + metadata workflow  (#18)

* dev: 📝 add scripts for dev running probot

* dev: 📝 update pnpm-lock file

* feat: ✨ store owner and new time fields for License collection

* feat: ✨ update dev script to use nodemon

* wip: 🚧 repo metadata update

* fix: 🐛 push and create pr for license request

* bug: :fix: pass repo object to render issues

* fix: 🐛 es6 import for humanparser

* wip: 🚧 creating repo metadata db entry

* feat: ✨ function documentation

* feat: ✨ update repo name if it changes

* fix: 🐛 pass correct parameters for data fetch

* fix: 🐛 extra field needed for authors metadata

* feat: ✨ update db if repo name changes

* feat: ✨ update on codemeta template function

* fix: 🐛 parameters for file checking

* docs: 📝 documentation on license functions

* strictly pass repo name rather than entire object

* chore: 🔨 updates

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* 🐛 fix: draft saves

* 🐛 fix: draft saves

* refactor: ♻️ prettier refactoring

* refactor: ♻️ use correct path for codemeta link in issue dashboard

* fix: 🐛 use correct value for author names

* feat: ✨ contributors added to metadata object

* refactor: ♻️ update gather authors fn for contributors

* chore: 🔨 todo notes

* refactor: ♻️ empty contributors + provide correct issue tracker link + update gather authors fn

* fix: 🐛 installation collection fix

* chore: 🔨 updates and comments

* refactor: ♻️ revert gather authors fn

* fix: 🐛 save value for select pickers with one selection

* fix: 🐛 store form in metadata value

* fix: 🐛 show value if one avail on initial load (select picker)

* fix: 🐛 probot's codemeta values modified to suit UI

* fix: 🐛 correct value name for author/contrib roles

* refactor: ♻️ change timestamps to unixmilliseconds

* ✨ feat: add support for saving codemetadata in repository (#20)

* fix: 🐛 use correct comparison with reponame on db

* refactor: ♻️ use unix millisecond in metadata

* refactor: ♻️ verify repo name abstracted and patched

* fix: 🐛 correct value for operating sys, runtime plat for code metadta

* fix: 🐛 proper badge color for codemetada found

* feat: ✨ improved layout on metadata UI

* ✨ feat: add dashboards (#22)

* ✨ feat: add repo dashboard page

* ✨ feat: add github acount dashboard

* style: 🎨 UI design for code metadata page

* refactor: ♻️ shorten help text on issue dashboard for license

* refactor: ♻️ update help text on license UI

* feat: ✨ UI help text added for codemetata

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* refactor: ♻️ remove validate button from codemeta section

* Staging (#24)

* test

* changes

* remove new lines in private key

* push

* push

* pls

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* 👷 ci: use node 20 in nixpacks

* fix: 🐛 replace nanoid

* fix: 🐛 remove port

* refactor: ♻️ determine master branch within context

* ✨ feat: add support for login redirects

* refactor: ♻️ Bot feedback (#25)

* fix: 🐛 update title for dashboard issue

* refactor: ♻️ update no license template

* refactor: ♻️ update success license text

* refactor: ♻️ update no metadata found template

* feat: ✨ Display link to repo on license editor

* 🐛 fix: update ui and fix access token (#26)

* 🐛 fix: update ui and fix access token

* 🐛 fix: add read env for port

* 🐛 fix: remove duplicate decleration

* refactor: ♻️ update on badge buttons

* refactor: ♻️ add url to codemeta section

* refactor: ♻️ About section updated

* refactor: ♻️ strictly open links in new tab

* refactor: ♻️ remove redirect

* feat: ✨ analytics collection for db

* refactor: ♻️ save license content + id upon push to repo

* feat: ✨ save license content and id upon push to repo

* style: 🎨 rounded and shadow to dashboard cards

* refactor: ♻️ update on the github dashboard

* fix: 🐛 grammar fix on title dashboard

* refactor: ♻️ update to the code meta ui

* refactor: ♻️ hide editorial section of codemeta:

* refactor: ♻️ update on license UI

* refactor: ♻️ updates

* refactor: ♻️ timestamps formatted to human readable format

* 👷 ci: add support for webhook based deployments (#27)

* 💚 ci: add pnpm to the ci env

* 💚 ci: remove unused item

* ✨ feat: add beta tag to dashboard

* ✨ feat: add a contact form

* feat: ✨ Dashboard UI Changes + License and Codemeta.json extraction (#28)

* feat: ✨ collapsible cards integrated for repo dashboard

* refactor: ♻️ remove pre data and final touches for repo dashboard

* style: 🎨 theme for project + help text for metadata subsection

* style: 🎨 collapsiblecard changes

* 📌 update pnpm lock file

* fix: 🐛 input correct name in codemeta.json file

* wip: 🚧 import codemeta.json file if exists in repo

* fix: 🐛 correct values for codemeta.json extraction

* wip: 🚧 grab license content from existing license

* style: 🎨 update dropdown icons for large layout form

* refactor: ♻️ adjustments for extracting codemeta.json info

* refactor: ♻️ changes applied to codemeta.json extraction

* refactor: ♻️ authors/contributors extraction changes

* fix: 🐛 contributor extraction workflow updated

* feat: ✨ detect and extract codemeta.json from repo

* fix: 🐛 correct key values for contrib + authors

* refactor: ♻️ update for licenseId regex

* fix: 🐛 changes to author + contrib extraction

* fix: 🐛 contributors/authors fix

* refactor: ♻️ file cleanup

* feat: ✨ extra codemeta.json upon detection

* dev: 👷 update pnpm-lock file

* feat: ✨ remove repo from installation collection upon uninstallation

* feat: ✨ event listener for alternate method of uninstallation

* fix: 🐛 metadata import with empty values

* fix: 🐛 buffer license content with base64

* feat: ✨ help links added to metadata and license page

* feat: ✨ coming soon zenodo card

* refactor: ♻️ subheader for zenodo card

* 💄 style: update ui

* feat: ✨ theme change + general UI updates (#29)

* wip: 🚧 background change

* refactor: ♻️ update bg

* refactor: ♻️ improvements on svg background blur

* feat: ✨ healthcheck added to bot

* refactor: ♻️ update healthcheck endpoint

* feat: ✨ nixpacks config file

* refactor: ♻️ move toml file

* refactor: ♻️ add packagemananger in package.json

* refactor: ♻️ move toml

* refactor: ♻️ testing dockerfile update

* refactor: ♻️ update toml

* 👷 ci: disable secondary deployment

* refactor: ♻️ specify node version in package.json

* refactor: ♻️ delte files

* 👷 ci: disable secondary deployment

* refactor: ♻️ hide bg image until finalized

* refactor: ♻️ node version

* feat: ✨ need help links direct to documentation

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>
slugb0t added a commit that referenced this pull request Jul 11, 2024
* wip: 🚧 auth

* wip: 🚧 auth

* wip: 🚧 implementing authentication

* wip 🚧 sending user to client

* 🐛 fix: update probot to esm (#11)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update pnpm-lock file

* wip: 🚧 ensure validated session returns user/session

* refactor: ♻️ update pnpm lock file

* fix: 🐛 mongodb adapter returns user

* ✨ feat: add license ui (#12)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

* 🚧 wip: add base ui

* ✨ feat: add license ui

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* feat: ✨ profile page + fix on existing user sessions

* 🚧 fix: auth (#13)

* 🚧 wip: protected page

* 🚧 fix: auth

* ✨ feat: add base pages and auth (#14)

* 🚧 wip: add mongoose

* fix: 🐛 mongoose adapter/callback

* refactor: ♻️ use mongoose on client end

* chore: 🔨 remove unused code

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* ✨ feat: add error sections

* 🧑‍💻 chore: remove console.logs

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* ✨ feat: update layout

* 🚨 chore: fix the linters

* ✨ feat: add an error component

* 🐛 fix: use built in error component instead

* 🐛 fix: editor list styling

* 🐛 fix: add explanation text

* 🐛 fix: route to home on login

* ✨ feat: add support for license creation

* 🚨 fix: linter fixes

* 🔨 chore: update ping

* feat: ✨ issue redesign (#16) (#15)

* dev: 👷 yml file for creating probot app

* wip: 🚧 dashboard issue

* dev: 👷 nodemon for probot

* refactor: ♻️ provide context for renderissue fn + nodemon file watch

* wip: 🚧 provide localhost list depending on production

* feat: ✨ provide link to PR for dashboard

* feat: ✨ update dashboard on push

* wip: 🚧 abstracting code

* wip: 🚧 abstract functions of probot

* feat: ✨ dashboard workflow for LICENSE

* wip: 🚧 clean license UI

* feat: ✨ help text for license UI

* feat: ✨ renderer file has documentation + db update

* feat: ✨ documentation for tools

* feat: ✨ documentation for probot event listeners

* refactor: ♻️ file name instead of just name on UI/add license page

* wip: 🚧 styling for license UI

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update middleware

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* refactor: ♻️ downgrade probot

* refactor: ♻️ update api imports

* refactor: ♻️ explicitly call github app credentials

* dev: 📝 update gitignore

* feat: ✨ run probot programatically

* feat: ✨ run probot v12 on a server

* feat: ✨ metadata UI + probot workflow (#23)

* chore: 🔨 remove unnecessary files

* ✨ feat: add preliminary support for codeMetadata ui (#19)

* 🛂 fix: update auth roles

* 🚧 wip: codemetada schema

* 🚧 wip: codemetada schema

* 🚧 wip: add base form

* 🚧 wip: add cards to sub forms

* 🚧 wip: basic form

* 🚧 wip: on authors

* 🚚 wip: add authors

* 🚧 wip: add contributors

* 🚧 wip: add contributors

* ✨ feat: add support for codeMetadata ui

* feat: ✨ probot server + metadata workflow  (#18)

* dev: 📝 add scripts for dev running probot

* dev: 📝 update pnpm-lock file

* feat: ✨ store owner and new time fields for License collection

* feat: ✨ update dev script to use nodemon

* wip: 🚧 repo metadata update

* fix: 🐛 push and create pr for license request

* bug: :fix: pass repo object to render issues

* fix: 🐛 es6 import for humanparser

* wip: 🚧 creating repo metadata db entry

* feat: ✨ function documentation

* feat: ✨ update repo name if it changes

* fix: 🐛 pass correct parameters for data fetch

* fix: 🐛 extra field needed for authors metadata

* feat: ✨ update db if repo name changes

* feat: ✨ update on codemeta template function

* fix: 🐛 parameters for file checking

* docs: 📝 documentation on license functions

* strictly pass repo name rather than entire object

* chore: 🔨 updates

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* 🐛 fix: draft saves

* 🐛 fix: draft saves

* refactor: ♻️ prettier refactoring

* refactor: ♻️ use correct path for codemeta link in issue dashboard

* fix: 🐛 use correct value for author names

* feat: ✨ contributors added to metadata object

* refactor: ♻️ update gather authors fn for contributors

* chore: 🔨 todo notes

* refactor: ♻️ empty contributors + provide correct issue tracker link + update gather authors fn

* fix: 🐛 installation collection fix

* chore: 🔨 updates and comments

* refactor: ♻️ revert gather authors fn

* fix: 🐛 save value for select pickers with one selection

* fix: 🐛 store form in metadata value

* fix: 🐛 show value if one avail on initial load (select picker)

* fix: 🐛 probot's codemeta values modified to suit UI

* fix: 🐛 correct value name for author/contrib roles

* refactor: ♻️ change timestamps to unixmilliseconds

* ✨ feat: add support for saving codemetadata in repository (#20)

* fix: 🐛 use correct comparison with reponame on db

* refactor: ♻️ use unix millisecond in metadata

* refactor: ♻️ verify repo name abstracted and patched

* fix: 🐛 correct value for operating sys, runtime plat for code metadta

* fix: 🐛 proper badge color for codemetada found

* feat: ✨ improved layout on metadata UI

* ✨ feat: add dashboards (#22)

* ✨ feat: add repo dashboard page

* ✨ feat: add github acount dashboard

* style: 🎨 UI design for code metadata page

* refactor: ♻️ shorten help text on issue dashboard for license

* refactor: ♻️ update help text on license UI

* feat: ✨ UI help text added for codemetata

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* refactor: ♻️ remove validate button from codemeta section

* Staging (#24)

* test

* changes

* remove new lines in private key

* push

* push

* pls

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* 👷 ci: use node 20 in nixpacks

* fix: 🐛 replace nanoid

* fix: 🐛 remove port

* refactor: ♻️ determine master branch within context

* ✨ feat: add support for login redirects

* refactor: ♻️ Bot feedback (#25)

* fix: 🐛 update title for dashboard issue

* refactor: ♻️ update no license template

* refactor: ♻️ update success license text

* refactor: ♻️ update no metadata found template

* feat: ✨ Display link to repo on license editor

* 🐛 fix: update ui and fix access token (#26)

* 🐛 fix: update ui and fix access token

* 🐛 fix: add read env for port

* 🐛 fix: remove duplicate decleration

* refactor: ♻️ update on badge buttons

* refactor: ♻️ add url to codemeta section

* refactor: ♻️ About section updated

* refactor: ♻️ strictly open links in new tab

* refactor: ♻️ remove redirect

* feat: ✨ analytics collection for db

* refactor: ♻️ save license content + id upon push to repo

* feat: ✨ save license content and id upon push to repo

* style: 🎨 rounded and shadow to dashboard cards

* refactor: ♻️ update on the github dashboard

* fix: 🐛 grammar fix on title dashboard

* refactor: ♻️ update to the code meta ui

* refactor: ♻️ hide editorial section of codemeta:

* refactor: ♻️ update on license UI

* refactor: ♻️ updates

* refactor: ♻️ timestamps formatted to human readable format

* 👷 ci: add support for webhook based deployments (#27)

* 💚 ci: add pnpm to the ci env

* 💚 ci: remove unused item

* ✨ feat: add beta tag to dashboard

* ✨ feat: add a contact form

* feat: ✨ Dashboard UI Changes + License and Codemeta.json extraction (#28)

* feat: ✨ collapsible cards integrated for repo dashboard

* refactor: ♻️ remove pre data and final touches for repo dashboard

* style: 🎨 theme for project + help text for metadata subsection

* style: 🎨 collapsiblecard changes

* 📌 update pnpm lock file

* fix: 🐛 input correct name in codemeta.json file

* wip: 🚧 import codemeta.json file if exists in repo

* fix: 🐛 correct values for codemeta.json extraction

* wip: 🚧 grab license content from existing license

* style: 🎨 update dropdown icons for large layout form

* refactor: ♻️ adjustments for extracting codemeta.json info

* refactor: ♻️ changes applied to codemeta.json extraction

* refactor: ♻️ authors/contributors extraction changes

* fix: 🐛 contributor extraction workflow updated

* feat: ✨ detect and extract codemeta.json from repo

* fix: 🐛 correct key values for contrib + authors

* refactor: ♻️ update for licenseId regex

* fix: 🐛 changes to author + contrib extraction

* fix: 🐛 contributors/authors fix

* refactor: ♻️ file cleanup

* feat: ✨ extra codemeta.json upon detection

* dev: 👷 update pnpm-lock file

* feat: ✨ remove repo from installation collection upon uninstallation

* feat: ✨ event listener for alternate method of uninstallation

* fix: 🐛 metadata import with empty values

* fix: 🐛 buffer license content with base64

* feat: ✨ help links added to metadata and license page

* feat: ✨ coming soon zenodo card

* refactor: ♻️ subheader for zenodo card

* 💄 style: update ui

* feat: ✨ theme change + general UI updates (#29)

* wip: 🚧 background change

* refactor: ♻️ update bg

* refactor: ♻️ improvements on svg background blur

* feat: ✨ healthcheck added to bot

* refactor: ♻️ update healthcheck endpoint

* feat: ✨ nixpacks config file

* refactor: ♻️ move toml file

* refactor: ♻️ add packagemananger in package.json

* refactor: ♻️ move toml

* refactor: ♻️ testing dockerfile update

* refactor: ♻️ update toml

* 👷 ci: disable secondary deployment

* refactor: ♻️ specify node version in package.json

* refactor: ♻️ delte files

* 👷 ci: disable secondary deployment

* refactor: ♻️ hide bg image until finalized

* refactor: ♻️ node version

* feat: ✨ need help links direct to documentation

* fix: 🐛 nav bar links

* Update README.md

* refactor: ♻️ spelling normalization for codefair

* refactor: dashboard issue text updates

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>
slugb0t added a commit that referenced this pull request Jul 13, 2024
* wip: 🚧 auth

* wip: 🚧 auth

* wip: 🚧 implementing authentication

* wip 🚧 sending user to client

* 🐛 fix: update probot to esm (#11)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update pnpm-lock file

* wip: 🚧 ensure validated session returns user/session

* refactor: ♻️ update pnpm lock file

* fix: 🐛 mongodb adapter returns user

* ✨ feat: add license ui (#12)

* 🐛 fix: update env var name

* 🐛 fix: update folder name

* 🐛 fix: update probot to esm

* ✨ feat: add basic license get page

* 🚧 wip: add base ui

* ✨ feat: add license ui

---------

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* feat: ✨ profile page + fix on existing user sessions

* 🚧 fix: auth (#13)

* 🚧 wip: protected page

* 🚧 fix: auth

* ✨ feat: add base pages and auth (#14)

* 🚧 wip: add mongoose

* fix: 🐛 mongoose adapter/callback

* refactor: ♻️ use mongoose on client end

* chore: 🔨 remove unused code

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* 🚧 wip: test permissions

* ✨ feat: add error sections

* 🧑‍💻 chore: remove console.logs

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* ✨ feat: update layout

* 🚨 chore: fix the linters

* ✨ feat: add an error component

* 🐛 fix: use built in error component instead

* 🐛 fix: editor list styling

* 🐛 fix: add explanation text

* 🐛 fix: route to home on login

* ✨ feat: add support for license creation

* 🚨 fix: linter fixes

* 🔨 chore: update ping

* feat: ✨ issue redesign (#16) (#15)

* dev: 👷 yml file for creating probot app

* wip: 🚧 dashboard issue

* dev: 👷 nodemon for probot

* refactor: ♻️ provide context for renderissue fn + nodemon file watch

* wip: 🚧 provide localhost list depending on production

* feat: ✨ provide link to PR for dashboard

* feat: ✨ update dashboard on push

* wip: 🚧 abstracting code

* wip: 🚧 abstract functions of probot

* feat: ✨ dashboard workflow for LICENSE

* wip: 🚧 clean license UI

* feat: ✨ help text for license UI

* feat: ✨ renderer file has documentation + db update

* feat: ✨ documentation for tools

* feat: ✨ documentation for probot event listeners

* refactor: ♻️ file name instead of just name on UI/add license page

* wip: 🚧 styling for license UI

Co-authored-by: Dorian Portillo <wheresdorian@gmail.com>

* refactor: ♻️ update middleware

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* 🚚 wip: test path

* refactor: ♻️ downgrade probot

* refactor: ♻️ update api imports

* refactor: ♻️ explicitly call github app credentials

* dev: 📝 update gitignore

* feat: ✨ run probot programatically

* feat: ✨ run probot v12 on a server

* feat: ✨ metadata UI + probot workflow (#23)

* chore: 🔨 remove unnecessary files

* ✨ feat: add preliminary support for codeMetadata ui (#19)

* 🛂 fix: update auth roles

* 🚧 wip: codemetada schema

* 🚧 wip: codemetada schema

* 🚧 wip: add base form

* 🚧 wip: add cards to sub forms

* 🚧 wip: basic form

* 🚧 wip: on authors

* 🚚 wip: add authors

* 🚧 wip: add contributors

* 🚧 wip: add contributors

* ✨ feat: add support for codeMetadata ui

* feat: ✨ probot server + metadata workflow  (#18)

* dev: 📝 add scripts for dev running probot

* dev: 📝 update pnpm-lock file

* feat: ✨ store owner and new time fields for License collection

* feat: ✨ update dev script to use nodemon

* wip: 🚧 repo metadata update

* fix: 🐛 push and create pr for license request

* bug: :fix: pass repo object to render issues

* fix: 🐛 es6 import for humanparser

* wip: 🚧 creating repo metadata db entry

* feat: ✨ function documentation

* feat: ✨ update repo name if it changes

* fix: 🐛 pass correct parameters for data fetch

* fix: 🐛 extra field needed for authors metadata

* feat: ✨ update db if repo name changes

* feat: ✨ update on codemeta template function

* fix: 🐛 parameters for file checking

* docs: 📝 documentation on license functions

* strictly pass repo name rather than entire object

* chore: 🔨 updates

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* 🐛 fix: draft saves

* 🐛 fix: draft saves

* refactor: ♻️ prettier refactoring

* refactor: ♻️ use correct path for codemeta link in issue dashboard

* fix: 🐛 use correct value for author names

* feat: ✨ contributors added to metadata object

* refactor: ♻️ update gather authors fn for contributors

* chore: 🔨 todo notes

* refactor: ♻️ empty contributors + provide correct issue tracker link + update gather authors fn

* fix: 🐛 installation collection fix

* chore: 🔨 updates and comments

* refactor: ♻️ revert gather authors fn

* fix: 🐛 save value for select pickers with one selection

* fix: 🐛 store form in metadata value

* fix: 🐛 show value if one avail on initial load (select picker)

* fix: 🐛 probot's codemeta values modified to suit UI

* fix: 🐛 correct value name for author/contrib roles

* refactor: ♻️ change timestamps to unixmilliseconds

* ✨ feat: add support for saving codemetadata in repository (#20)

* fix: 🐛 use correct comparison with reponame on db

* refactor: ♻️ use unix millisecond in metadata

* refactor: ♻️ verify repo name abstracted and patched

* fix: 🐛 correct value for operating sys, runtime plat for code metadta

* fix: 🐛 proper badge color for codemetada found

* feat: ✨ improved layout on metadata UI

* ✨ feat: add dashboards (#22)

* ✨ feat: add repo dashboard page

* ✨ feat: add github acount dashboard

* style: 🎨 UI design for code metadata page

* refactor: ♻️ shorten help text on issue dashboard for license

* refactor: ♻️ update help text on license UI

* feat: ✨ UI help text added for codemetata

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>

* refactor: ♻️ remove validate button from codemeta section

* Staging (#24)

* test

* changes

* remove new lines in private key

* push

* push

* pls

---------

Co-authored-by: slugb0t <wheresdorian@gmail.com>

* 👷 ci: use node 20 in nixpacks

* fix: 🐛 replace nanoid

* fix: 🐛 remove port

* refactor: ♻️ determine master branch within context

* ✨ feat: add support for login redirects

* refactor: ♻️ Bot feedback (#25)

* fix: 🐛 update title for dashboard issue

* refactor: ♻️ update no license template

* refactor: ♻️ update success license text

* refactor: ♻️ update no metadata found template

* feat: ✨ Display link to repo on license editor

* 🐛 fix: update ui and fix access token (#26)

* 🐛 fix: update ui and fix access token

* 🐛 fix: add read env for port

* 🐛 fix: remove duplicate decleration

* refactor: ♻️ update on badge buttons

* refactor: ♻️ add url to codemeta section

* refactor: ♻️ About section updated

* refactor: ♻️ strictly open links in new tab

* refactor: ♻️ remove redirect

* feat: ✨ analytics collection for db

* refactor: ♻️ save license content + id upon push to repo

* feat: ✨ save license content and id upon push to repo

* style: 🎨 rounded and shadow to dashboard cards

* refactor: ♻️ update on the github dashboard

* fix: 🐛 grammar fix on title dashboard

* refactor: ♻️ update to the code meta ui

* refactor: ♻️ hide editorial section of codemeta:

* refactor: ♻️ update on license UI

* refactor: ♻️ updates

* refactor: ♻️ timestamps formatted to human readable format

* 👷 ci: add support for webhook based deployments (#27)

* 💚 ci: add pnpm to the ci env

* 💚 ci: remove unused item

* ✨ feat: add beta tag to dashboard

* ✨ feat: add a contact form

* feat: ✨ Dashboard UI Changes + License and Codemeta.json extraction (#28)

* feat: ✨ collapsible cards integrated for repo dashboard

* refactor: ♻️ remove pre data and final touches for repo dashboard

* style: 🎨 theme for project + help text for metadata subsection

* style: 🎨 collapsiblecard changes

* 📌 update pnpm lock file

* fix: 🐛 input correct name in codemeta.json file

* wip: 🚧 import codemeta.json file if exists in repo

* fix: 🐛 correct values for codemeta.json extraction

* wip: 🚧 grab license content from existing license

* style: 🎨 update dropdown icons for large layout form

* refactor: ♻️ adjustments for extracting codemeta.json info

* refactor: ♻️ changes applied to codemeta.json extraction

* refactor: ♻️ authors/contributors extraction changes

* fix: 🐛 contributor extraction workflow updated

* feat: ✨ detect and extract codemeta.json from repo

* fix: 🐛 correct key values for contrib + authors

* refactor: ♻️ update for licenseId regex

* fix: 🐛 changes to author + contrib extraction

* fix: 🐛 contributors/authors fix

* refactor: ♻️ file cleanup

* feat: ✨ extra codemeta.json upon detection

* dev: 👷 update pnpm-lock file

* feat: ✨ remove repo from installation collection upon uninstallation

* feat: ✨ event listener for alternate method of uninstallation

* fix: 🐛 metadata import with empty values

* fix: 🐛 buffer license content with base64

* feat: ✨ help links added to metadata and license page

* feat: ✨ coming soon zenodo card

* refactor: ♻️ subheader for zenodo card

* 💄 style: update ui

* feat: ✨ theme change + general UI updates (#29)

* wip: 🚧 background change

* refactor: ♻️ update bg

* refactor: ♻️ improvements on svg background blur

* feat: ✨ healthcheck added to bot

* refactor: ♻️ update healthcheck endpoint

* feat: ✨ nixpacks config file

* refactor: ♻️ move toml file

* refactor: ♻️ add packagemananger in package.json

* refactor: ♻️ move toml

* refactor: ♻️ testing dockerfile update

* refactor: ♻️ update toml

* 👷 ci: disable secondary deployment

* refactor: ♻️ specify node version in package.json

* refactor: ♻️ delte files

* 👷 ci: disable secondary deployment

* refactor: ♻️ hide bg image until finalized

* refactor: ♻️ node version

* feat: ✨ need help links direct to documentation

* fix: 🐛 nav bar links

* Update README.md

* refactor: ♻️ spelling normalization for codefair

* refactor: dashboard issue text updates

* 💄 style: font changes

* 🐛 fix: am comments

* feat: ✨ check if repo is empty before workflow begins

* ✨ feat: add modals for confirmation of PRs (#33)

* feat: ✨ issue dashboard when repo is empty

* refactor: ♻️ update intro message of issue dashboard

* fix: 🐛 verify if license exists in codemeta extraction

* 🐛 fix: fix issue with private org membership on repos (#34)

* refactor: ♻️ standardize containers in codefair page

---------

Co-authored-by: Sanjay Soundarajan <sanjay.16@live.com>
Co-authored-by: Sanjay Soundarajan <ssoundarajan@calmi2.org>
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

Successfully merging this pull request may close these issues.

2 participants