Skip to content

Conversation

@sixsage
Copy link
Contributor

@sixsage sixsage commented Oct 14, 2024

Purpose

Add view count to workflows

Changes

  1. Create a new table, workflow view count, in texera ddl. A new file 17.sql was also added for the table.
  2. The view counts for a workflow increment whenever a user accesses the hub-workflow-detail page or the workflow workspace for that particular workflow.
  3. The API call to increment the view is limited to be called only once per second using throttleTime

Demo

List item before
image
List item after
image
hub-workflow-detail page before
image
hub-workflow-detail page after
Default display
image
After clicking on button (precise display)
image

Base automatically changed from add-love-button to master October 27, 2024 05:09
@sixsage sixsage self-assigned this Oct 27, 2024
@sixsage sixsage added ddl-change Changes to the TexeraDB DDL starter-task gui frontend Changes related to the frontend GUI labels Oct 28, 2024
@sixsage sixsage marked this pull request as ready for review October 28, 2024 10:19
@sixsage sixsage requested a review from aglinxinyuan October 28, 2024 10:19
Copy link
Contributor

@aglinxinyuan aglinxinyuan left a comment

Choose a reason for hiding this comment

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

LGTM!

@GspikeHalo GspikeHalo merged commit 166e77c into master Oct 28, 2024
@GspikeHalo GspikeHalo deleted the add-views branch October 28, 2024 19:52
bobbai00 added a commit that referenced this pull request Nov 2, 2024
Since texera_ddl.sql is updated in #2930 , and #2960 is merged after it,
the jooq-generated classes in `micro-services/dao` is not updated. This
PR make the `micro-services/dao` up-to-date.
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
## Purpose
Add view count to workflows
## Changes
1. Create a new table, workflow view count, in texera ddl. A new file
17.sql was also added for the table.
2. The view counts for a workflow increment whenever a user accesses the
hub-workflow-detail page or the workflow workspace for that particular
workflow.
3. The API call to increment the view is limited to be called only once
per second using throttleTime
## Demo
List item before

![image](https://github.com/user-attachments/assets/ede5e665-e50c-496e-a239-f270017f7407)
List item after

![image](https://github.com/user-attachments/assets/0e9274a8-d9c9-4165-8c33-bab204e74602)
hub-workflow-detail page before

![image](https://github.com/user-attachments/assets/e6e33e33-724f-4e52-a1e5-34f45f23ade9)
hub-workflow-detail page after
Default display

![image](https://github.com/user-attachments/assets/5aab223e-f419-43bf-9cfc-db72681d67d1)
After clicking on button (precise display)

![image](https://github.com/user-attachments/assets/486569e2-d19e-4d43-a624-2a5001331e41)

---------

Co-authored-by: gspikehalo <2318002579@qq.com>
Co-authored-by: GspikeHalo <109092664+GspikeHalo@users.noreply.github.com>
Co-authored-by: Xinyuan Lin <xinyual3@uci.edu>
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
Since texera_ddl.sql is updated in #2930 , and #2960 is merged after it,
the jooq-generated classes in `micro-services/dao` is not updated. This
PR make the `micro-services/dao` up-to-date.
@Yicong-Huang Yicong-Huang removed the gui label Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddl-change Changes to the TexeraDB DDL frontend Changes related to the frontend GUI starter-task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants