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(projectHistoryLogs): fetch filter options from backend TASK-1403 #5401

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

pauloamorimbr
Copy link
Contributor

@pauloamorimbr pauloamorimbr commented Dec 26, 2024

🗒️ Checklist

  1. run linter locally
  2. update all related docs (API, README, inline, etc.), if any
  3. draft PR with a title <type>(<scope>)<!>: <title> TASK-1234
  4. tag PR: at least frontend or backend unless it's global
  5. fill in the template below and delete template comments
  6. review thyself: read the diff and repro the preview as written
  7. open PR & confirm that CI passes
  8. request reviewers, if needed
  9. delete this section before merging

📣 Summary

The filter options for activity logs now only display the existing options for the project

📖 Description

  • Instead of using a hardcoded list of actions to display the filter data, now we're fetching the available action list from the API.
  • The returned actions are still translated and sorted in the frontend

👀 Preview steps

  1. ℹ️ have account and a project
  2. ℹ️ have activity to be logged in the project
  3. navigate to project settings > activities
  4. 🟢 notice that in the filter selection box only the existing-in-project activity actions are available for filtering

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

Successfully merging this pull request may close these issues.

2 participants