Commit graph

110 commits

Author SHA1 Message Date
rohitwaghchaure
5c6b2b5bec
refactor: track completed app setup wizards and re-run the setup wizard upon new app installation. (#32640) 2025-06-03 12:36:22 +05:30
Ankush Menat
0e1388d90a
Revert "fix: single checkbox to track telemetry & allow recording" (#32749)
This reverts commit 8e7da4cd7e.
2025-06-02 14:05:05 +00:00
Suhail
d5adcf4323
fix(setup-wizard): fetch translation messages only if language is changed (#32224) 2025-04-21 11:14:19 +00:00
Suhail
f7f408bfd2
fix: selection of timezone after changing the language (#32211)
It works without changing language because the timezone was auto-filled on country selection.
2025-04-19 12:09:14 +00:00
diptanilsaha
79a24c895e fix: language change on setup wizard doesnt load options 2025-04-18 14:43:56 +05:30
Suhail
dafc73836f
feat: initialise and preload system settings and user for setup wizard (#32108)
used in press to smoothen the signup experience
2025-04-15 18:30:39 +05:30
mahsem
e8698a98de
fix: add strings and fields to translation 2024-12-21 13:17:01 +01:00
Akhil Narang
69179e8e94
fix(setup_wizard): update wording for password field for non-admins
It's an optional field because the user already exists, clarify that
that this can just update their password, otherwise the original
password will still work.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-16 11:40:06 +05:30
Akhil Narang
2e3f8ce5af
fix(setup_wizard): don't crash if a country doesn't have a timezone specified
Currently, this event is getting triggered by the country and its translated value
The translated value isn't present in the country info list, and so doesn't have any data

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-11 17:46:35 +05:30
Shariq Ansari
cc5db784f3 fix: boot.default_path is moved to boot.apps_data.default_path 2024-08-30 17:20:36 +05:30
Rushabh Mehta
b31cf8ba79 fix(style): sidebar overlay + polishes 2024-08-23 22:15:35 +05:30
Shariq Ansari
67eb28d836 fix: redirect to apps if multiple apps installed or redirect to apps portal 2024-08-08 18:29:16 +05:30
Shariq Ansari
8e7da4cd7e fix: single checkbox to track telemetry & allow recording 2024-08-08 18:29:16 +05:30
Rucha Mahabal
49bbd0d1d7 fix(setup wizard): allow setting user password for an existing user 2024-01-11 14:42:38 +05:30
Ankush Menat
1ae79badf7 fix: only set change listener if available 2023-12-28 19:11:12 +05:30
Shariq Ansari
fc13ff5f29 chore: minor fix 2023-12-23 11:39:39 +05:30
Ankush Menat
1d5d06e924
Merge pull request #23418 from akhilnarang/return-traceback-for-setupwizard-failure
fix(setup_wizard): don't suppress original exception
2023-11-27 11:51:40 +05:30
Akhil Narang
db3ffaf658
refactor: check for last response error
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-24 18:25:31 +05:30
Akhil Narang
9aec553b89
fix(setup_wizard): sync password character limit with other places (#23419)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-24 17:26:34 +05:30
Ankush Menat
86e4a3a6e1 fix: Respect "Do Not Track" settings
Don't offer telemetry as option if DNT is set in browser.

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack
2023-11-01 15:07:27 +05:30
Ankush Menat
a9d7b99429
feat(telemetry): allow users to send session recording (#22170) 2023-08-23 20:58:07 +05:30
Ankush Menat
66ea947ae6 fix: clear system settings cache explicitly 2023-08-18 17:48:22 +05:30
Maharshi Patel
6b7f815a75
fix: guess_country backward timezone issue for india. (#21849)
* fix: guess_country backward timezone issue for india.

In some cases ( mac ) where Asia/Calcutta is used as timezone. guessing didn't work.

* refactor: make tz backward compatbility extensible

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-07-28 18:13:22 +05:30
Ankush Menat
58cf770760 fix: All ESLint errors 2023-07-14 15:25:48 +05:30
Ankush Menat
1a7cb47826 fix: setup wizard auto completes when clickin on autocomplete fields
closes https://github.com/frappe/frappe/issues/15693
2023-07-02 12:50:43 +05:30
Ankush Menat
ee4c66ecf1 feat(UX): Guess country from system_timezone
This is accurate enough for vast majority of countries.
Alternate is using GeoIP and making network calls.
2023-07-02 12:31:18 +05:30
Ankush Menat
4ab98b998d
fix: setup wizard recursion in routing (#21101)
- setup wizard shows slide from index in route
- if you visit `/app/setup-wizard` then index in route is `undefined`
- because of hacky code we do `id + ''` so `undefined` becomes `"undefined"` a truthy value

The recursion of undefined > 0 > undefined > 0 continues until browser
intervenes and stops further routing.
2023-05-24 17:43:51 +05:30
Ankush Menat
c643d4a33c chore: capitalization 2023-05-22 16:15:53 +05:30
Ankush Menat
9f83ead7a2 fix: remove setup_complete events
This can trigger along side actual setup complete event causing two
parallel requests.
2023-05-22 14:48:19 +05:30
Ankush Menat
97959d7b88
fix: validate email on setup wizard (#20979)
* chore: remove unused gravatar code

* fix: Check invalid field in setup wizard

* chore: typo

---------

Co-authored-by: Michelle Alva <50285544+michellealva@users.noreply.github.com>
2023-05-14 19:16:31 +05:30
Ankush Menat
93c326b971 feat: let user opt out of telemetry from setup 2023-04-25 14:46:53 +05:30
Ankush Menat
f63c420798 feat: add python posthog library 2023-04-25 13:10:14 +05:30
Ankush Menat
6c3f29efe7 feat: setup wizard progress telemetry 2023-04-25 11:54:56 +05:30
Deepesh Garg
0f5d17663d
fix: Remove setup wizard user image (#19601) 2023-01-16 16:44:04 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Gavin D'souza
6cb8127e8d fix(setup_wizard): Make language field Autocomplete 2022-05-02 16:56:25 +05:30
Gavin D'souza
a688577a3f fix(setup_wizard): Merge language & country info slides
Minimizing the number of slides required for setting up a new site. In
developer mode, only one slide is visible now titled "Hello" or
selected language equivalent.
2022-05-02 16:19:38 +05:30
Himanshu
8947a542d1
fix: translations in setup wizard (#15401)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2021-12-29 10:15:52 +05:30
Suraj Shetty
b530beb503 revert: Empty value checks 2021-12-21 09:36:09 +05:30
Suraj Shetty
1dd870ce73 refactor: Use placeholder instead of additional option in select
- Additional options were still selectable which could have got through
- Minor formatting changes
2021-12-21 08:54:31 +05:30
saxenabhishek
91bd5ed2e2 fix: misc setup_wizard region slide
placeholder on all fields
autocomplete on country input
default selected values on inputs
2021-12-16 22:37:03 +05:30
leela
72fa9a3c19 fix: Move site setup into background to fix timeouts
Provide an option to trigger site setup as a background task.
2021-11-30 10:34:04 +05:30
prssanna
ab76d2d519 fix: setup wizard error state 2021-02-04 18:10:36 +05:30
prssanna
a47b55546b style: fix formatting 2021-01-29 17:01:08 +05:30
Suraj Shetty
d5f4edcda9 style: Fix sider issues 2021-01-28 22:18:12 +05:30
Rushabh Mehta
bebfc491a4 fix(minor): setup-wizard page_name shows as undefined 2021-01-13 16:23:00 +05:30
Rushabh Mehta
90363f4ba9 fix(routes): minor fixes to route, favion, setup-wizard 2020-12-18 13:17:28 +05:30
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
Shivam Mishra
68eda6b472 feat(setup-wizard): update loading & error state 2020-10-29 12:47:12 +05:30
Shivam Mishra
16a27e839c feat(setup-wizard): complete button is a button 2020-10-29 12:36:25 +05:30