feat: tooltips, two-column timer, font selector, tray behavior, icons, readme
- Custom tooltip directive (WCAG AAA) on every button in the app - Two-column timer layout with sticky hero and recent entries sidebar - Timer font selector with 16 monospace Google Fonts and live preview - UI font selector with 15+ Google Fonts - Close-to-tray and minimize-to-tray settings - New app icons (no-glow variants), platform icon set - Mini timer pop-out window - Favorites strip with drag-reorder and inline actions - Comprehensive README with feature documentation - Remove tracked files that belong in gitignore
This commit is contained in:
@@ -6,6 +6,7 @@ use tauri::Manager;
|
||||
mod database;
|
||||
mod commands;
|
||||
mod os_detection;
|
||||
mod seed;
|
||||
|
||||
pub struct AppState {
|
||||
pub db: Mutex<Connection>,
|
||||
@@ -135,10 +136,26 @@ pub fn run() {
|
||||
commands::get_entry_templates,
|
||||
commands::create_entry_template,
|
||||
commands::delete_entry_template,
|
||||
commands::update_entry_template,
|
||||
commands::get_timesheet_rows,
|
||||
commands::save_timesheet_rows,
|
||||
commands::get_previous_week_structure,
|
||||
commands::auto_backup,
|
||||
commands::search_entries,
|
||||
commands::list_backup_files,
|
||||
commands::delete_backup_file,
|
||||
commands::get_recent_descriptions,
|
||||
commands::check_entry_overlap,
|
||||
commands::get_task_actuals,
|
||||
commands::get_invoice_payments,
|
||||
commands::add_invoice_payment,
|
||||
commands::delete_invoice_payment,
|
||||
commands::get_recurring_invoices,
|
||||
commands::create_recurring_invoice,
|
||||
commands::update_recurring_invoice,
|
||||
commands::delete_recurring_invoice,
|
||||
commands::check_recurring_invoices,
|
||||
commands::seed_sample_data,
|
||||
])
|
||||
.setup(|app| {
|
||||
#[cfg(desktop)]
|
||||
@@ -151,6 +168,7 @@ pub fn run() {
|
||||
let menu = Menu::with_items(app, &[&show, &quit])?;
|
||||
|
||||
let _tray = TrayIconBuilder::new()
|
||||
.icon(app.default_window_icon().unwrap().clone())
|
||||
.menu(&menu)
|
||||
.show_menu_on_left_click(false)
|
||||
.on_menu_event(|app, event| {
|
||||
|
||||
Reference in New Issue
Block a user