Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

New analytics #1483

Merged
merged 39 commits into from
Dec 26, 2023
Merged

New analytics #1483

merged 39 commits into from
Dec 26, 2023

Conversation

Geometrically
Copy link
Member

No description provided.

Geometrically and others added 30 commits December 13, 2023 16:30
Copy link
Contributor

Choose a reason for hiding this comment

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

Most of these appear to be utility functions rather than composables. Conventionally, utility functions belong to the utils/ directory, which is functionally identical to composables/, but makes the distinction clearer.

@Geometrically Geometrically merged commit e319d19 into master Dec 26, 2023
@Geometrically Geometrically deleted the new-analytics branch December 26, 2023 19:46
Mysterious-Dev pushed a commit to Mysterious-Dev/knossos that referenced this pull request Jan 4, 2024
* [WIP] Transfer analytics to own branch

* code style changes

* Refactor country name conversion

* Clean up api and ssr for settings page

* refactor analytics into reusables

* Refactor chart tooltip and reset functionality

* Update dayjs import and formatTimestamp function

* Fix bug in login functionality

* Abstract data fetching

* Refactor analytics data formatting

* Refactor useFetchAllAnalytics function signature

* Refactor analytics processing functions

* Fix chart data in ChartDisplay.vue

* Refactor analytics pages

* Refactor delete labrinth.ts test types

* Fix import statement for dayjs and update usage of
unix function

* Fix dropdown select in ChartDisplay.vue and add
Analytics link in creations.vue

* Update chart colors in ChartDisplay.vue and
analytics.js

* Update defaultRanges in ChartDisplay.vue

* Add colors to chart

* Update legend position in ChartDisplay.vue

* Refactor color conversion functions in
analytics.js

* Bug fixes

* Use softer colors

* Import dayjs unix module for analytics.js

* Refactor chart tooltip generation

* Fix calculation of total value in generateTooltip
function

* Fix button-base styling in ChartDisplay.vue

* Adopt intl standard rather than iso-3166-1

* Add support for potential flags

* Analytics rebased

* fix cf pages

* now?

* try now

* now?

* Fix this time

* address rev

* Finish analytics

* fix api url

---------

Co-authored-by: Carter <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants