WeatherLog: UI update

The next update of WeatherLog, either 4.16 or 5.0 depending on how much I break in the process, will be focused mostly on updating and streaming the user interface. As part of this effort, here is a tentative list of changes:

  • Use GTK’s header bars to integrate toolbars and menus into the header. This makes the UI more compact and visually better.
  • Merge similar features. For example, Info, Tables, and Graphs dialogs all display in one window now.
  • Merge related features. All of the dataset dialogs will be combined into a single dataset management dialog.
  • Remove redundant features. Merge Datasets is gone, as it merely replicated part of Copy Data’s features. Data for Selected Dates is also removed; note that there is no equivalent to this in 4.16, but changes to Data Subset will make this redundant now.
  • Move away from a reliance on menus. The goal is to have only one small GNOME-style application menu. This will be easy to do when the above changes are complete.

With these in mind, here’s some (early) screenshots to show changes. Here’s what the new main interface looks like. Note that this will definitely change (a few buttons/menus in the header will be added).

Click on the images for a full view.

a1

For reference, here’s what the old main interface looks like:

readme_main

The addition of a subtitle allows the title text to be made more readable and properly structured. Removing the toolbar and adding the buttons to the header saves vertical space. The same is true for the move from using a notebook (tabs) to separate data views to using a stack. Stacks also have the advantage of animating nicely (the views slide in from the side on change).

The Weather dialog looks quite nice now. As shown here, header bars don’t actually need titles if they’re not contextually necessary. In this case, putting the stack switcher in the place of the title functions perfectly clearly as a title. A label for the location is new as well, to make it bigger and more attention-getting. I’m not entirely happy with this still though. I’d really like to merge the location selection dialog into this, but I’m not sure how to visually do that best.

a2

Data in Range selection dialog also shows quite an improvement. When using a header bar, action buttons are combined into the top, instead of being placed on their own on the bottom. This dialog also demonstrates a fairly minor but significant UI change: “cancel”/”close” buttons are no longer used.

a3.png

The combined Info/Tables/Graph dialog uses the same idea as the Weather dialog.

a4

As one more example, the Data Subset dialog shows the use of additional in-dialog buttons. There’s no reason those can’t be used with header bar -based dialogs, but sometimes it makes more sense to move buttons into the header. In this case, there used to be four buttons below the conditions list: “Remove”, “Reset”, “Close”, and “View”. “Close” was removed (see above), and “View” was moved up as it contextually didn’t make sense in it’s prior location; the buttons along the bottom were otherwise all meant for condition manipulation.

a5

 

Advertisements

WeatherLog 4.15

Changes (Features)

  • Merged “Info in Range”, “Tables in Range”, and “Graphs in Range” into “Data in Range”. This displays the same two calendar dialog for date selection, with different buttons for each type of data.
  • Merged “Info for Selected Dates”, “Tables for Selected Dates”, and “Graphs for Selected Dates” into “Data for Selected Dates”. This is implemented similarly to the above change.
  • Removed the colons from all dialog frame labels for consistency.
  • Renamed “Quick Search” to “Search”.
  • Changed the keyboard shortcuts for “Search” to Control-F and for “Data Subset” to Control-Shift-F.
  • Changed dataset creation for “Copy Data” to be in-dialog, with a list that updates as each new dataset is created.

Changes (Code)

  • Renamed “weatherlog_resources” directory to “resources”.

Changes (Bugfixes)

  • Fixed toolbar getting focus on application start instead of the data list.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.54

PastebinGTK 2.2

Changes (Features)

  • Added an option in Create Paste to create the paste as a guest, even when logged in.
  • Redesigned Paste Info dialog:
    • No longer uses a list to display, but better formatted labels instead.
    • Changed “View Paste” button to “Get Paste”, and changed the button from opening the paste in a web browser to opening the paste in the application. The paste can still be opened in a web browser by clicking on the paste title.
    • See screenshot at end of post.
  • Redesigned Account Info dialog:
    • No longer uses a list to display, but better formatted labels instead.
    • Avatar image now shows as a picture instead of a link.
    • Added menu accelerator.
    • See screenshot at end of post.
  • Renamed “OK” in Delete Paste dialog to “Delete”.
  • Added spacing and increased size of Delete Paste dialog.
  • Added “Get Details” button to the list paste dialogs to open the Paste Info dialog.
  • Removed “Cancel” buttons from the paste list dialogs.
  • Changed Get Paste dialog to have the entry grab focus.
  • Renamed “Text” menu to “File”.

Changes (Bugfixes)

  • Options now saves immediately after change instead of waiting for application close. This could potentially cause loss of changes if the application crashed.

Changes (Code)

  • Separated paste info and account info dialogs into their own classes.
  • Dialogs now use application constants.
  • Application now follows PEP8 style conventions much more closely.
  • Fixed XML parsing warnings.

Screenshots

Account Details_002Paste Info_003

Download

Downloads can be found on the Github repository.

WeatherLog 4.14

Changes (Features)

  • Added list of selected datasets to the confirmation dialog for Remove Datasets. This displays similarly to the confirmation dialog for Remove.
  • Fixed extra newline in Remove confirmation dialog.
  • Changed Get Weather to use consistent decimal place formatting (two places). Some fields here used one place, which was inconsistent both within this dialog and within the application as a whole.
  • Reformatted sunrise and sunset times in Get Weather to be easier to read.
  • Increased the size and spacing of the Get Weather dialog.
  • Hid the headers for the treeviews in the Get Weather dialog.
  • Hid the headers for the treeview in the date selection dialog.
  • Hid the headers for the treeview in the Data Subset selection dialog.
  • Changed the columns in the Data Subset selection dialog to expand.
  • Changed the columns in the dataset selection dialog treeviews to expand.
  • Pressing the delete key on the main data list now removes the row.
  • Removed Clear All. Due to how deleting datasets and removing data works, this was not really necessary.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.14

WeatherLog 4.13

Changes (Features)

  • Improved display of main view info and tables by allowing the columns to expand and setting more space by default.
  • Improved display of dialog info and tables by allowing the columns to expand and settings more space by default.
  • Improved display of data subset selection dialog by adding more padding.
  • Added Remove button to Edit dialog.
  • Changed Info, Tables, and Graphs menu accelerators to be sensible after the main dialogs for those were merged into the main view.

Changes (Code)

  • Fixed PEP8 style issues.
  • Changed Info and Table dialogs to use application constants.
  • Removed remaining references to the previous licence (MIT).
  • Fixed outdated comments.
  • Removed unused file (app_data/strings.json) and related code.

Changes (Bugfixes)

  • Fixed date selection dialog showing plural label for single selection.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.13

PastebinGTK 2.1

Changes (Features)

  • Log in changes:
    • Merge Login In and Log Out buttons.
    • Enter key now works as expected in username and password entries.
    • Stopped case where user could unintentionally log out.
  • Delete Paste now shows “Untitled” in the paste name instead of leaving it blank.
  • Added spacing to the list paste dialogs for readability.
  • Merged the Editing tab in Options into the General tab. There was only one element in that tab.

Changes (Bugfixes)

  • Fixed Paste Details causing an error for guest-created pastes.
  • Fixed Get Paste and Paste Details not working with https links.

Changes (Code)

  • Fixed indentation issues.
  • Fixed Beautiful Soup (HTML parser) warnings.
  • Removed old, unused help files.
  • Change names of login-related functions and variables.
  • Changed license to GPLv3.

Download

Downloads can be found on the Github repository.

WeatherLog 4.12

Changes (Features)

  • Renamed Charts to Tables. The previous name was a relic of what that feature was originally intended to be.
  • Merge location tab in Get Current Weather into main tab, as there was very little data displayed there.

Changes (Code)

  • Fix PEP8 style warnings.

Changes (Bugfixes)

  • Fixed Edit causing an error when opening the edit dialog.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.12