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: add a search input component for other pages #35

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

frank-zsy
Copy link
Contributor

Description

This a general search component for other pages. This component supports:

  • Different platforms.
  • Different types(repo or user).
  • Different metrics.
  • Full search with repo names and user logins without case sensitive.

And also replace the search component in the Playground page.

Resolved issues

Closes #32

Before submitting the PR, please take the following into consideration

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. If you don't have an issue, please create one.
  • Prefix your PR title with feat: , fix: , chore: , docs:, or refactor:.
  • The description should clearly illustrate what problems it solves.
  • Ensure that the commit messages follow our guidelines.
  • Resolve merge conflicts (if any).
  • Make sure that the current branch is upto date with the main branch.

@frank-zsy
Copy link
Contributor Author

/preview

Copy link

🪧The website for this PR is deployed at https://open-digger.cn/pull_35/

@frank-zsy
Copy link
Contributor Author

@Neilblaze Could you please review this PR, this PR contains a React component to search repo and user names exported by OpenDigger to optimize the user experience in Playground and other future pages.

@frank-zsy
Copy link
Contributor Author

/preview

Copy link

🪧The website for this PR is deployed at https://open-digger.cn/pull_35/

@frank-zsy
Copy link
Contributor Author

/preview

Copy link

🪧The website for this PR is deployed at https://open-digger.cn/pull_35/

@frank-zsy frank-zsy force-pushed the feat/search-input branch 2 times, most recently from 36d9125 to 0c4e6a7 Compare August 20, 2024 14:54
@frank-zsy
Copy link
Contributor Author

/preview

Copy link

🪧The website for this PR is deployed at https://open-digger.cn/pull_35/

@Neilblaze
Copy link
Member

@Neilblaze Could you please review this PR, this PR contains a React component to search repo and user names exported by OpenDigger to optimize the user experience in Playground and other future pages.

@frank-zsy Sorry for the late reply, I was traveling... but hopefully return by this weekend, will take a look asap :)

@frank-zsy
Copy link
Contributor Author

/preview

Copy link

🪧The website for this PR is deployed at https://open-digger.cn/pull_35/

@frank-zsy
Copy link
Contributor Author

@frank-zsy Sorry for the late reply, I was traveling... but hopefully return by this weekend, will take a look asap :)

No worry, I think the functionality looks alright now, I may merge this PR first and you can take a look at the code when you are free.

@frank-zsy frank-zsy merged commit 2593f67 into X-lab2017:master Aug 21, 2024
1 check passed
@frank-zsy frank-zsy deleted the feat/search-input branch August 21, 2024 08:14
Bruce-Jay pushed a commit to Bruce-Jay/open-digger-website that referenced this pull request Sep 5, 2024
Bruce-Jay pushed a commit to Bruce-Jay/open-digger-website that referenced this pull request Sep 5, 2024
Bruce-Jay pushed a commit to Bruce-Jay/open-digger-website that referenced this pull request Sep 6, 2024
Bruce-Jay pushed a commit to Bruce-Jay/open-digger-website that referenced this pull request Sep 8, 2024
frank-zsy added a commit that referenced this pull request Sep 22, 2024
* doc: add some downstream apps in user doc (#29)

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* docs: add multiple new metrics (EN + ZH) (#28)

* docs: added activity_details

Signed-off-by: neilblaze <[email protected]>

* docs: add more metrics

Signed-off-by: neilblaze <[email protected]>

* doc: add latex support and modify some docs.

Signed-off-by: frank-zsy <[email protected]>

* docs: updated activity

Signed-off-by: neilblaze <[email protected]>

* merge: commit `421e67f` into new-metrics-v1 (latest)

Signed-off-by: neilblaze <[email protected]>
Co-Authored-By: Frank Zhao <[email protected]>

* docs: added more metrics (x2) & fixed typos / broken URLs

Signed-off-by: neilblaze <[email protected]>
Co-Authored-By: Frank Zhao <[email protected]>

* docs: update minor changes

Signed-off-by: frank-zsy <[email protected]>

---------

Signed-off-by: neilblaze <[email protected]>
Signed-off-by: frank-zsy <[email protected]>
Co-authored-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* feat: Initialize leaderboard page

Signed-off-by: Bruce-Jay <[email protected]>

* feat: 完成排行榜页面的初步开发

Signed-off-by: Bruce-Jay <[email protected]>

* feat: add a search input component for other pages (#35)

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* refactor: change project to typescript support (#36)

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* blog: ospp 2023 analysis (#37)

* blog: ospp 2023 analysis

Signed-off-by: frank-zsy <[email protected]>

* feat: add table row style for even row

Signed-off-by: frank-zsy <[email protected]>

---------

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* fix: fix blog edit url so it can be directly opened by editor in browser (#38)

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* feat: add a warning banner to preview deploy (#40)

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* doc: update ospp anaylsis (#41)

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* refactor: update color theme (#43)

* refactor: update color theme

Signed-off-by: frank-zsy <[email protected]>

* refactor: update redis analysis english version

Signed-off-by: frank-zsy <[email protected]>

---------

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* docs: update ospp blog

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>

* feat: 初步完成排行榜 banner 样式实现

Signed-off-by: Bruce-Jay <[email protected]>

* feat: 初步完成calendar的开发

Signed-off-by: Bruce-Jay <[email protected]>

* feat: 大致完成排行榜页面的开发,实现来源与仓库搜索功能。月份功能待优化。其他布局待优化

Signed-off-by: Bruce-Jay <[email protected]>

* feat: 修改图表样式,并且双击节点时图表不重新渲染

* feat: 更新样式,用户可以选择搜索建议,同时对于月份选择器进行优化

* feat: 优化用户体验,用户选择仓库后不需要点击提交按钮

* feat: 尝试删除echarts中不必要的节点

* feat: 完善加载功能,增强用户体验

* feat: 更新 Banner 样式

* refactor: add i18n, to tsx, module css

Signed-off-by: frank-zsy <[email protected]>

* refactor: use default selectInput in leaderboard and remove tailwind

Signed-off-by: frank-zsy <[email protected]>

* refactor: change page name and remove jquery

Signed-off-by: frank-zsy <[email protected]>

* refactor: try to resolve conflict

Signed-off-by: frank-zsy <[email protected]>

---------

Signed-off-by: frank-zsy <[email protected]>
Signed-off-by: Bruce-Jay <[email protected]>
Signed-off-by: neilblaze <[email protected]>
Co-authored-by: Frank Zhao <[email protected]>
Co-authored-by: Pratyay Banerjee <[email protected]>
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.

[Feature] A search component for the website
2 participants