mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3845] [MERGED] feat(sh-admin): introducing data analytics and newsletter configurations #4553
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4553
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3845
Author: @joeljstephen
Created: 2/20/2024
Status: ✅ Merged
Merged: 3/6/2024
Merged by: @AndrewBastin
Base:
release/2024.3.0← Head:feat/dashboard-data-usage📝 Commits (10+)
24e4351feat: new data analytics page to show admins on first login15641b5feat: new mutation to toggle analytics51a360cfeat: code for implementing newsletterf212d9arefactor: added data sharing configs to confighandler7886d9efeat: new data sharing componentb8e147erefactor: new link to show what data is being shared92382festyle: updated icons and stylesc38e92erefactor: new i18n string for data sharing component925f15bfeat: added new configs and mutations for data sharing in config handler and server restart785c8c6refactor: new i18n strings for data sharing and data component📊 Changes
18 files changed (+573 additions, -154 deletions)
View changed files
➕
packages/hoppscotch-sh-admin/assets/images/hoppscotch-title.svg(+16 -0)📝
packages/hoppscotch-sh-admin/locales/en.json(+32 -2)📝
packages/hoppscotch-sh-admin/src/components.d.ts(+38 -45)📝
packages/hoppscotch-sh-admin/src/components/settings/Configurations.vue(+1 -0)➕
packages/hoppscotch-sh-admin/src/components/settings/DataSharing.vue(+66 -0)📝
packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue(+16 -2)➕
packages/hoppscotch-sh-admin/src/components/setup/DataSharingAndNewsletter.vue(+141 -0)📝
packages/hoppscotch-sh-admin/src/composables/useClientHandler.ts(+17 -13)📝
packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts(+88 -51)📝
packages/hoppscotch-sh-admin/src/composables/usePagedQuery.ts(+25 -22)📝
packages/hoppscotch-sh-admin/src/helpers/auth.ts(+23 -3)📝
packages/hoppscotch-sh-admin/src/helpers/axiosConfig.ts(+7 -1)➕
packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/ToggleAnalyticsCollection.graphql(+3 -0)📝
packages/hoppscotch-sh-admin/src/helpers/backend/rest/authQuery.ts(+2 -0)📝
packages/hoppscotch-sh-admin/src/modules/admin.ts(+54 -13)➕
packages/hoppscotch-sh-admin/src/pages/setup.vue(+40 -0)📝
packages/hoppscotch-sh-admin/src/pages/teams/_id.vue(+3 -1)📝
packages/hoppscotch-sh-admin/src/pages/users/_id.vue(+1 -1)📄 Description
Ticket
Description
This PR introduces data analytics and newsletter support to the Admin Dashboard. When a new user instantiates the admin dashboard, a new data sharing page will be displayed on first initialisation which asks admins if they are interested in sharing data to make Hoppscotch better and are willing to signup to the newsletter. Admins can also modify these choices in under Configurations tab in the Settings Panel of the Dashboard
Screenshot
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.