Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Telemetry is on by default **with no warning**

Đang mở
#4,900 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu bằng cách chạy npx @ionic/cli help sau khi xóa ~/.ionic/, sau đó lần theo các điểm vào cấu hình và trợ giúp trong lần chạy đầu tiên của CLI. Kiểm tra cách thiết lập telemetry được tạo và cung cấp thông qua ionic config; công việc được xem là hoàn tất khi người dùng nhận được cảnh báo trong lần chạy đầu tiên và có thể biết cách kiểm tra hoặc thay đổi các thiết lập telemetry.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

triage

Description:

Ionic collects telemetry by default, does not warn users, does not mention it on first run, and hides the config in a way that cannot be discovered simply with a ionic help (this used to work in ionic v3 when telemetry was a top-level command.

Steps to Reproduce:

  1. remove local ionic settings:
rm -rf ~/.ionic/
  1. in a new window, just run the help:
npx @ionic/cli help
  1. observe that ~/.ionic/config.json was created with "telemetry": true and scan the terminal output

Output:

package.json:

{
  "version": "6.20.1",
  "telemetry": true,
  "npmClient": "npm",
  "tokens.telemetry": "...UUID..."
}

Local screen output makes no mention of the telemetry setting:

   _             _
  (_) ___  _ __ (_) ___
  | |/ _ \| '_ \| |/ __|
  | | (_) | | | | | (__
  |_|\___/|_| |_|_|\___| CLI 6.20.1


  Usage:

    $ ionic <command> [<args>] [--help] [--verbose] [--quiet] [--no-interactive] [--no-color] [--confirm] [options]

  Global Commands:

    completion ...................... (experimental) Enables tab-completion for
                                      Ionic CLI commands.
    config <subcommand> ............. Manage CLI and project config values
                                      (subcommands: get, set, unset)
    deploy <subcommand> ............. (paid) Appflow Deploy functionality
                                      (subcommands: manifest)
    docs ............................ Open the Ionic documentation website
    info ............................ Print project, system, and environment
                                      information
    init ............................ (beta) Initialize existing projects with
                                      Ionic
    login ........................... Log in to Ionic
    logout .......................... Log out of Ionic
    signup .......................... Create an Ionic account
    ssh <subcommand> ................ Commands for configuring SSH keys
                                      (subcommands: add, delete, generate, list,
                                      setup, use)
    start ........................... Create a new project

  Project Commands:

    You are not in a project directory.

NOTE: THERE IS NO TELEMETRY WARNING ON FIRST RUN WITH ANY COMMAND

If you wipe the config and start a new project without the wizard, you can search the output and notice that it never once mentions the telemetry.

Ngôn ngữ chính
TypeScript
Star
2k
Fork
681
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ionic-team/ionic-cli

Tất cả issue của ionic-team/ionic-cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.