26 Commits

Author SHA1 Message Date
ec99e817c1 Switch back to Slint
- It's simply simpler in Slint
2025-11-25 23:23:26 +05:30
783869c4e7 Cleanup widget/Cargo.toml
- Remove unwanted old dependency crates and comments
2025-11-12 15:33:53 +05:30
c306dc03fe Cargo clippy fixes 2025-11-11 11:55:41 +05:30
4529886370 Fix alignment and size 2025-11-11 11:28:04 +05:30
4d10bffe8b Refactor layout code
- Cleanup variable names
- Refactor row & column code
2025-11-10 22:27:34 +05:30
f56b543a0b Change layout
- Divide everything into individual components & join them
- Needs cleanup
2025-11-09 15:23:52 +05:30
4fda55fb2e Update styling
- Add containers for styling
2025-11-08 16:03:50 +05:30
280651a64d Start styling
- Basic coloring and layouts
2025-11-07 23:31:35 +05:30
3540f8d75a Refactor weather popup to use WeatherResponse and Config directly
- Update `main.rs` to pass `WeatherResponse` and `Config` directly to the `show_popup` function.
- Refactore `show_popup.rs` to receive `WeatherResponse` and `Config` as parameters and handle UI rendering accordingly.
- Remove redundant parsing of weather data and configuration within the popup.
- Simplifie the data flow by directly passing the necessary structures to the popup.
2025-11-07 17:53:05 +05:30
b169bc9530 Remove Window Decorations 2025-11-07 11:52:10 +05:30
da209164c7 Fix: Text output
- Display weather details instead of empty strings
2025-11-07 11:44:36 +05:30
90aca71e57 Start converting slint to iced
- Port the `slint` code to `iced`
- Display basic window and text
2025-11-06 23:37:55 +05:30
020be1d5e9 Separate UI code from main.rs
- Create `widget/src/show_popup.rs`
2025-11-06 13:51:42 +05:30
ccf9e8225f Fix: Get unit from config
- Use conditionals to determine the temperature unit symbol from config
- cargo clippy
2025-11-05 15:30:21 +05:30
4fe5878d36 Dynamic values
- Pass values to display in Slint UI
- Actual weather data instead of fixed dummy data
2025-11-04 20:05:59 +05:30
3262745771 Style popup UI
- Adjust color, size, space, padding, position, etc.
2025-11-04 12:55:40 +05:30
aa4cf1a686 Popup UI basic design
- Design popup UI with slint
2025-11-03 07:15:36 +05:30
d83c5a0aca Begin Slint UI
- Get started with Slint for UI
- Experiment with basic window structure
2025-10-15 22:56:26 +05:30
b4162a7fc0 Update general config
- Refine `general` dection of config
- Add pre-defined `api_version` values
- Add default values
2025-10-11 16:32:30 +05:30
ebbbf7533f Use cached weather data
- Read `weatherd` cache instead of fetching from API
2025-10-11 15:33:11 +05:30
a5a7e6a5db Remove old library crate
- Replace crate `owm_api25` with new crate
2025-10-10 11:54:10 +05:30
07651af450 Add documentation to module current
- Add doc comments
- cargo `clippy` fixes
- Comment out code in `widget`
2025-10-09 15:29:30 +05:30
b97de37698 Rename module weather to current
- Also update the change in `weatherd` and widget
2025-10-09 12:33:16 +05:30
01c12478f6 Separate config loading from API library
- Create new library crate for config parsing
- Modularity & flexibility
2025-09-20 08:41:28 +05:30
d45ad9bad5 Modularize the owm_api25 library
- Add separate modules for weather & forecast calls
2025-09-19 18:19:46 +05:30
1270a3e595 Create Weather API 2.5 Library
- Move API-specific structs to library
- Move API-specific configuration to library
2025-09-19 08:11:44 +05:30