44 Commits

Author SHA1 Message Date
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
f918795e69 Replace ApiVersion's impl with derive
- Replace the "Default" `impl` with a `#[derive()]` in config/general
- That's simpler, no extra functions
2025-11-05 15:36:16 +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
e8a2707987 Seperate library from project
- Move OWM library crate to a seperate repo
- https://git.candifloss.cc/candifloss/OpenWeatherMapSDK.git
2025-10-10 11:46:39 +05:30
e66bf8b2e9 Fix typo
- Replace ambiguous symbol with the correct "-"
2025-10-09 16:31:27 +05:30
808325c534 Add documentation to query.rs
- Documentation comments
- Tests
2025-10-09 16:26:34 +05:30
66f04c5cc9 Clippy fixes
- Fix `cargo clippy` warnings in `query.rs`
2025-10-09 15:39:00 +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
d8048daa51 Update struct WeatherResponse
- Better handling of missing fields
2025-10-09 13:36:52 +05:30
b97de37698 Rename module weather to current
- Also update the change in `weatherd` and widget
2025-10-09 12:33:16 +05:30
a70e85e58f Update README
- Update example config
- Add new item to to-do
2025-10-09 01:18:27 +05:30
352eea2a4a Update API 2.5 weather module
- Fix types
- Heper methods
2025-10-09 01:05:06 +05:30
6959ec1e67 Update library
- More complete
2025-10-08 23:59:43 +05:30
a2bdf239e0 Add daemon weatherd
- Add daemon `weatherd` to fetch and cache weather data
- Update API libraries to serialize to json
- Add "cache_file" parameter to "general" config
- Cargo `fmt` and `clippy`
2025-10-07 15:01:11 +05:30
bb2d0c910d Update README
- Better wording
- Additional link
2025-09-20 09:28:29 +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
9e8c1e6029 Update workspace Cargo.toml
- Fix workspace resolver
2025-09-19 17:54:55 +05:30
5f2ac661c7 Update README
Fix typo
2025-09-19 17:52:38 +05:30
e03c85037e Fix README
- Fix incorrect info on current API
- Update To-do list
2025-09-19 17:49:58 +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
a4034d6944 Update README 2025-09-18 23:36:31 +05:30
c768899a3b Update README 2025-09-18 23:24:47 +05:30
2c9d80a405 Update README 2025-09-18 23:22:26 +05:30
bb410d002f Parse json data
- Process json response
- Extract required json fields
- Use the extracted fields
2025-09-18 22:42:31 +05:30
bebfc6887f Fetch weather data
- Fetch weather data from the url using the api key, city id, and units config
2025-09-18 21:33:22 +05:30
8661ea87db Load TOML Config
- Read `toml` file in the config dir
- Parse `toml` config in the file
2025-09-18 19:47:33 +05:30
721d491bd3 Initial commit 2025-09-18 14:01:07 +00:00