diff --git a/app/routes/setup.py b/app/routes/setup.py index ed3cf0a2..f2082931 100644 --- a/app/routes/setup.py +++ b/app/routes/setup.py @@ -169,8 +169,11 @@ def _module_preset_choices(): choices = [ ( ModulePreset.SOLO.value, - _("Just me"), - _("Track time, organise it by project and client, and bill it. The leanest setup."), + _("Focus mode (just me)"), + _( + "Timer-first: track time, Focus/Pomodoro sessions, weekly goals, " + "projects, clients, and invoices. Hides CRM, inventory, and team tools." + ), ), ( ModulePreset.TEAM.value, @@ -209,7 +212,7 @@ def _render_setup(settings, timezones): settings=settings, timezones=timezones, module_presets=_module_preset_choices(), - default_module_preset=ModulePreset.TEAM.value, + default_module_preset=ModulePreset.SOLO.value, rounding_methods=get_available_rounding_methods(), rounding_minimums=get_available_minimum_durations(), ) diff --git a/app/templates/admin/modules.html b/app/templates/admin/modules.html index 0ddf91f8..22c2ee7e 100644 --- a/app/templates/admin/modules.html +++ b/app/templates/admin/modules.html @@ -96,11 +96,17 @@

{{ _('Quick presets') }}

{{ _('Apply a module preset (e.g. Solo focus disables CRM, inventory, and other non-essential areas).') }}

+ {% set preset_labels = { + 'solo': _('Focus (Solo)'), + 'team': _('Team'), + 'compliance': _('Compliance'), + 'everything': _('Everything') + } %} {% for preset in ['solo', 'team', 'compliance', 'everything'] %}
- +
{% endfor %}
diff --git a/app/templates/main/dashboard.html b/app/templates/main/dashboard.html index ad955465..46ad84ec 100644 --- a/app/templates/main/dashboard.html +++ b/app/templates/main/dashboard.html @@ -28,6 +28,23 @@ {% set dashboard_breadcrumbs = [{'text': _('Dashboard')}] %} {{ page_header('fas fa-tachometer-alt', _('Dashboard'), _("Here's a quick overview of your work."), breadcrumbs=dashboard_breadcrumbs) }} +{% if not is_module_enabled('deals') and not is_module_enabled('inventory') %} +
+

+ {{ _('Focus mode') }} +

+

+ {{ _('Your workspace is lean: timer, projects, and billing. CRM and inventory stay hidden until you enable them in Admin → Modules.') }} +

+
+ {{ _('Start Focus session') }} + {% if is_module_enabled('weekly_goals') %} + {{ _('Weekly goals') }} + {% endif %} +
+
+{% endif %} + {% if pending_violations %}

{{ _('Badges') }}

diff --git a/app/templates/setup/initial_setup.html b/app/templates/setup/initial_setup.html index 6251e0e7..c711f9b0 100644 --- a/app/templates/setup/initial_setup.html +++ b/app/templates/setup/initial_setup.html @@ -108,7 +108,7 @@

🎉 {{ _('Thank you for cho