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

Fix array.js #436

Merged
merged 1 commit into from
Apr 2, 2020
Merged

Fix array.js #436

merged 1 commit into from
Apr 2, 2020

Conversation

mariusandra
Copy link
Collaborator

Hi, here's what was happening with array.js.

Every time we ran yarn build, this script was executed:

NODE_ENV=production webpack --config webpack.config.js && cp -a frontend/public/* frontend/dist/

Notice the part after &&. This overwrote the array.js in the dist folder with the one that was in the public folder. You can also see that the live array.js is this public "prettified" version

I now moved the updated array.js from dist into public and removed the dist one from git. The entire dist folder is in .gitignore actually. Now whenever you need to copy a new version of the array.js script, please copy it into the public folder and commit it there. It will be automatically moved to dist. :)

This system of public vs dist has been live now for a while (since the webpack upgrade). Sorry for not communicating this properly before.

@timgl timgl temporarily deployed to posthog-fix-array-js-ydabxftzv April 2, 2020 15:52 Inactive
@timgl timgl merged commit 32bd6ea into master Apr 2, 2020
@timgl timgl deleted the fix-array-js branch April 2, 2020 16:51
yakkomajuri pushed a commit that referenced this pull request Oct 1, 2021
* Reorient `ActionManager` to group by teamId for practicality

* Make `getTeamActions()` return type more versatile

* Add ActionMatcher base

* Add `matchActions` worker task for optimization

* Add part of action matching checks

* Fix PubSub's lack of teamId

* Remove `eventsProcessor.prepare()` calls

* Add a legit ActionMatcher test

* Adjust test for matchActions task

* Improve task counting in test

* Add moar matching capabilities

* Improve tests

* Reorganize class dependencies

* Add cohort matching

* Add element/selector matching and polish other action matching parts

* Handle selector matching edge cases

* Save matched action occurrences to Postgres

* Fix action-matcher tests

* Don't expose ActionManager methods in ActionMatcher

* Use feedback + RE2

* Remove never satisfied branch

* Address sum feedback and clean code up

* Use action matching results in a smarter way

* Fix `createHub`

* Add action matching metric

* Enhance `PLUGIN_SERVER_ACTION_MATCHING`

* Update action-matcher.test.ts

* Remove `||=`

* Update process-event.ts

* Only fetch person if matching actions

* Fix non-string distinct ID handling

* Update process-event.ts
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