* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* feat(chalice): support table-of-browsers showing user-count

* feat(chalice): support table-of-devices showing user-count

* feat(chalice): support table-of-URLs showing user-count

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed heatmaps extra endpoint
This commit is contained in:
Kraiem Taha Yassine 2024-07-03 09:26:26 +02:00 committed by GitHub
parent e8d0aa8176
commit a21e123ea0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -582,12 +582,6 @@ def get_all_notes(projectId: int, data: schemas.SearchNoteSchema = Body(...),
return {'data': data}
@app.post('/{projectId}/click_maps/search', tags=["click maps"], dependencies=[OR_scope(Permissions.session_replay)])
def click_map_search(projectId: int, data: schemas.ClickMapSessionsSearch = Body(...),
context: schemas.CurrentContext = Depends(OR_context)):
return {"data": heatmaps.search_short_session(user_id=context.user_id, data=data, project_id=projectId)}
@app.post('/{project_id}/feature-flags/search', tags=["feature flags"],
dependencies=[OR_scope(Permissions.feature_flags)])
def search_feature_flags(project_id: int,