Skip to content

Releases: ebengoechea/de1app_plugin_DYE

Profile Viewer compares profiles to saved

18 Nov 11:48
Compare
Choose a tag to compare

New

  • The Profile Viewer can now compare profiles to their saved versions, and show a "differences only" version.

Changed

  • The textual representation of profiles has been improved, refactored and moved to ::profile::legacy_to_textual in the base app, so it can be reused by all skin & plugin authors.
  • Add dslector & dtoggle aspects to DSx & Insight Dark DUI themes

New "Manage" menu

15 Nov 08:21
Compare
Choose a tag to compare
New "Manage" menu Pre-release
Pre-release

New

  • New "Manage" button and matching menu dialog page dye_managed_dlg with menu items to delete shots, export shots, view profiles, and go to the DYE settings page.
  • Shots can be deleted from the history. They are actually moved to subfolder de1plus/bin, which is created if it doesn't exist, and flagged with removed=1 in the SDB database, so the removal can be manually undone.
  • Shots can be exported to formats "Tcl .shot" (really just copied from de1plus/history to the target folder), CSV (only the main chart series), and JSON v2. The user is given the choice of format and destination path, which defaults to de1plus/history/export.
  • New dialog to view profiles in a text form for any past shot or the currently selected one (through the "Plan next shot"). The dialog also gives the option to apply the profile to the next shot or, if already applied or the next shot is being described, to view/edit the profile.

Changed

  • Improve profile importing (new command plugins::DYE::import_profile), both for local history and for Visualizer imports. Now:

    • can be done from a shot or an array
    • if coming from Visualizer, it is now ensured that it is put in a "Visualizer" profile "folder" propely even when it already has a folder
    • it is ensured that it appears on the presets list, and it is selected. If the profile file exists, it is shown if it was flagged as hidden, and if no profile file exists, it is created.
    • the settings GUI in the default skin is properly updated for the type of profile
    • it is ensured that it is sent to the DE1 in case an espresso is started immediately from the GHC.
  • Improve handling of arguments in plugins::DYE::open (for launching DYE from MimojaCafe)

Remade DYE settings page. Insight Dark support.

08 Nov 19:05
Compare
Choose a tag to compare

New

  • Add setting variable default_launch_action with possible values last, next and dialog that determines what is done when the DYE icon or button is tapped. Its value can be set in a new section of the DYE settings page.
  • Support for the new Insight Dark skin. New "Insight_Dark" DUI theme.
  • Add filelist.txt.

Changed

  • Correct mispelled package name "zinto".
  • DYE settings page use the new DUI widgets "dselector" and "dtoggle".
  • Close the Visualizer dialog when selecting "Visualizer settings" and coming back.

v2.15: Gracefully handle zint package not available.

01 Nov 19:50
Compare
Choose a tag to compare
  • Hide the "download by code" controls in the dye_visualizer_dlg page if the visualizer_upload plugin is not enabled, as they were being shown overlapping the browse controls.
  • Avoid runtime errors if the zint package (that generates QR codes) is not available, as may happen in non-androwish installs.

DYE launch popup menu, relative dates and days off-roast

28 Oct 12:23
Compare
Choose a tag to compare

New

  • New dialog page dye_which_shot_dlg shows a menu of main DYE actions (plan next shot, describe last shot,
    select shot, search shot and go to DYE settings). It is launched by long tapping the DYE icons/labels in Insight & DSx.
  • New setting relative_dates makes DYE show shot dates relative to today (e.g. "25 minutes ago", "Yesterday at 07:55", or "4 days ago at 12:01"). This can be modified either on the DYE settings page, or tapping on DYE page title.
  • Show "days off-roast" near the "Roast date" field, whenever the roast date can be parsed as a date. Input format can be modified by manually editing the new setting input_date_formats, which is a list of valid formats accepted by clock scan. Each format is tried from the first to the last until a parsing raises no error.
  • Shot output date/time format can now also be user-modified through the new settings date_output_format, time_output_formatand time_output_format_ampm.

Changed

  • The DYE icon in Insight home page now has a bigger tapping area.
  • The top navigation buttons in the DYE page now have much bigger tapping areas.
  • Update theme aspects for DYE top navigation buttons.
  • Modify DYE page titles (shorter titles, replace "espresso" by "shot", capitalize "NEXT" and "LAST", remove "past")

Import shots & profiles from history & Visualizer

26 Oct 10:42
Compare
Choose a tag to compare

New

  • The "Edit data" dialog in the DYE page now allows selecting to which block of data any of the edit actions have to be applied, including the new option "Profile" that imports profiles from past shots. The profile option is only enabled on the "Next" shot plan.
  • The "Browse" section in the Visualizer dialog now changes to "Download by code" on the "Next" shot plan, and allows to download shots of any user from Visualizer. This is only available with the new version 1.2 of the visualizer_upload extension, and only works with shots recently uploaded to Visualizer (as the profile was not kept in previous versions).

Changed

  • When the propagation subtitle is "Shot not saved to history", it is now shown in error (usually red, depends on theme) color.
  • Prevent runtime errors and log warnings when DYE is launched on a brand new DE1app install with no shots on the history.

v2.12

17 Oct 17:18
Compare
Choose a tag to compare
v2.12 Pre-release
Pre-release
  • Don't reset skin target variables in DSx and MimojaCafe if the next shot variables in DYE are cleared.
  • Use the correct variables for storing target drink weight in MimojaCafe depending on bluetooth scale connected or not and settings(settings_profile_type).
  • Read from last and read from past shot now bring also the dose and yield.

v2.11: Dose & Yield for next shot now editable in DYE

14 Oct 13:15
Compare
Choose a tag to compare
  • Make dose and yield (grinder_dose_weight and drink_weight settings variables) editable in the next shot plan.

    • Changes in next shot grinder_dose_weight, drink_weight and grinder_setting in the DYE page are now reflected in MimojaCafe home page, and viceversa.
    • Changes in next shot grinder_dose_weight and drink_weight in the DYE page are now reflected in DSx home page, and viceversa.
  • Last & next shot summary description variables last_shot_desc and next_shot_desc are now stored in DYE settings instead of being namespace variables, so they persist. This prevents the error of showing an empty last_shot_desc when restarting the app after v2.08 changes.

  • DSx link to open last shot desc in DYE now launches DYE even if the last shot was not saved to history.

v2.10: Corrected bugs introduced in 2.08

12 Oct 16:33
Compare
Choose a tag to compare

Corrected a few bugs introduced by the refactoring of the last/next shot descriptions in v2.08 (reported by JoeD, Robert Jordan & TMC):

  • Next shot description was not being saved
  • Next shot summary string was not being updated when propagating last shot data (only visible in DSx)
  • Field espresso_notes was not being saved/loaded in next shot description in some scenarios.

NOTE: This corrects failed pre-release v2.09, which deleted DYE.tcl file by error.

v2.09: Corrected bugs introduced in 2.08

12 Oct 16:20
Compare
Choose a tag to compare

Corrected a few bugs introduced by the refactoring of the last/next shot descriptions in v2.08 (reported by JoeD, Robert Jordan & TMC):

  • Next shot description was not being saved
  • Next shot summary string was not being updated when propagating last shot data (only visible in DSx)
  • Field espresso_notes was not being saved/loaded in next shot description in some scenarios.