PromucFlow_constructor/app/client/public
balajisoundar 4c2cd98683
chore: Use rolling window in the usage pulse call and send segment anonymous id for anonymous users (#19552)
## Description
We have updated the user tracking to use a rolling window. Now the
session starts when the user goes to the builder or viewer for the first
time and the subsequent activity tracking will be checked only after an
hour.
For anonymous users, we send the Segment anonymous id in the usage
calls. When the telemetry is off, we still initiate the segment, get the
id and then purge the analytics global object.

Fixed window (in release, as of now)- if the user starts a session at
01:15 pm, we take 01:00 pm as the session start time and we will check
for the next user activity at 2:00 pm.

rolling window (in this PR) - if the user starts a session at 01:15 pm,
we take 01:15 pm as the session start time and we will check for the
next user activity at 2:15 pm.

Fixes https://github.com/appsmithorg/cloud-services/issues/183

## Type of change

- New feature (non-breaking change which adds functionality)


## How Has This Been Tested?

- Manual

### Test Plan

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-01-10 17:39:33 +05:30
..
libraries feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
static/img feat: Branding (#18717) 2022-12-09 20:13:47 +05:30
tinymce Auto-indent JS code in the editor (#13222) 2022-07-20 12:43:23 +05:30
404-image.png feat: Static 404 page for chunk issue (#17168) 2022-09-30 11:57:29 +05:30
404.css feat: Static 404 page for chunk issue (#17168) 2022-09-30 11:57:29 +05:30
404.html feat: Static 404 page for chunk issue (#17168) 2022-09-30 11:57:29 +05:30
favicon-black.ico Add favicon. Connect Nav Dropdown. Fix TagInputComponent. Fetch org and user details. Navigate to applications from /, Check for login 2019-12-23 12:16:33 +00:00
index.html chore: Use rolling window in the usage pulse call and send segment anonymous id for anonymous users (#19552) 2023-01-10 17:39:33 +05:30
manifest.json feat: Branding (#18717) 2022-12-09 20:13:47 +05:30
page.min.js Code Splitting 2019-12-03 09:21:06 +00:00
privacy-policy.html New privacy policy (#4267) 2021-05-03 22:54:03 +05:30
terms-and-conditions.html [CodeFactor] Apply automated fixes (#2131) 2020-12-10 18:44:31 +05:30