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

JUP-84 tag improvements #237

Merged
merged 4 commits into from
Sep 10, 2024
Merged

JUP-84 tag improvements #237

merged 4 commits into from
Sep 10, 2024

Conversation

nl32
Copy link
Contributor

@nl32 nl32 commented Sep 3, 2024

this pr introduces a new database view that lets us see all the unique tags and how many clubs there are for each tag, it's default ordering is also by count. This new ordering also applies to the tag listing on the homepage.

we may want to switch it to a materialized view with triggers as this information shouldn't be updated often, as view can't be indexed in postgres.

@nl32 nl32 requested a review from KennethImphean as a code owner September 3, 2024 17:53
Copy link

vercel bot commented Sep 3, 2024

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

Name Status Preview Comments Updated (UTC)
jupiter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 6:43pm

@nl32 nl32 changed the title JUP-84: tag improvements JUP-84 tag improvements Sep 3, 2024
move line break for database setup sections
Copy link
Contributor

@RubenOlano RubenOlano left a comment

Choose a reason for hiding this comment

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

Looks good, change README :)

README.md Outdated
Comment on lines 107 to 111
</details>
<details>
<summary>Tag View</summary>
there is a sql query in `src/server/db/tagView.sql` that you need to run in order for tags to work properly.
</details></br>
Copy link
Contributor

Choose a reason for hiding this comment

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

Explain why we need this

@nl32 nl32 merged commit 570b355 into develop Sep 10, 2024
3 checks passed
@nl32 nl32 deleted the JUP-84-tag-improvements branch October 22, 2024 20:19
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