Go to file
Ali d93a024ba8 New 'user' wizard step + drop alert toasts after setup
Two fixes for the noisy post-finalize popup:

1. Dedicated admin-user step
   The wizard was passing Frappe's existing Administrator identity
   (full_name="Administrator", email="admin@example.com") into
   setup_complete, which made Frappe's user creation suggest a new
   username and warn that admin@example.com had no linked employee
   ("İşçinin Öz Xidməti rolu silindi"). Add a new "user" step between
   "company" and "confirm" collecting full name, email (= login), and
   password (with confirmation). build_setup_args sends those values,
   so Frappe creates a real user with no naming clash. Administrator
   stays untouched as the system-of-last-resort fallback.

   Validation: name required, basic email regex, password ≥8 chars,
   passwords must match. Email "admin@example.com" / "administrator"
   are blocked client-side as obviously-reserved.

2. Suppress alert-style toasts
   At the end of materialize_after_setup, drop every entry from
   frappe.local.message_log where alert=1. That kills the cluster of
   "Sənəd X yenidən adlandırıldı" toasts that pile up when the AZ
   translation pipeline renames default Item Group fixtures, without
   silencing the genuine modal warnings (e.g. HRMS Salary Component
   "accounts not assigned") which use plain msgprint.
2026-04-28 12:44:45 +00:00
jey_wizard New 'user' wizard step + drop alert toasts after setup 2026-04-28 12:44:45 +00:00
.editorconfig feat: Initialize App 2026-04-22 10:00:16 +00:00
.eslintrc feat: Initialize App 2026-04-22 10:00:16 +00:00
.gitignore feat: Initialize App 2026-04-22 10:00:16 +00:00
.pre-commit-config.yaml feat: Initialize App 2026-04-22 10:00:16 +00:00
CLAUDE.md Add FIFO/Moving Average picker; add CLAUDE.md 2026-04-24 13:01:18 +00:00
README.md feat: Initialize App 2026-04-22 10:00:16 +00:00
license.txt feat: Initialize App 2026-04-22 10:00:16 +00:00
pyproject.toml feat: Initialize App 2026-04-22 10:00:16 +00:00

README.md

Jey Wizard

Jey Wizard

Installation

You can install this app using the bench CLI:

cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch main
bench install-app jey_wizard

Contributing

This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:

cd apps/jey_wizard
pre-commit install

Pre-commit is configured to use the following tools for checking and formatting your code:

  • ruff
  • eslint
  • prettier
  • pyupgrade

License

unlicense