ankermake-m5-protocol icon indicating copy to clipboard operation
ankermake-m5-protocol copied to clipboard

Support storing detected printer IP addresses

Open treitmayr opened this issue 1 year ago • 2 comments

This PR introduces the following features:

  • CLI
    pppp lan-search is extended by a flag --store which allows to update the already configured printers with the detected IP addresses.
  • Web Interface
    A new card is added in the Setup tab as shown below. It represents the GUI version of above --store option. Bildschirmfoto vom 2024-02-04 16-37-24

Along with these changes an "internal" reload target address was introduced which does not remove pending flash messages (in contrast to the user-triggered reload). This is important when a success message shall be displayed by actions like uploading a new configuration file or updating printer IP addresses. If the user-triggered reload was being used, it would just display a success message for the reload, not for the actual action performed.

treitmayr avatar Feb 04 '24 15:02 treitmayr

Updated the PR because I saw commit https://github.com/Ankermgmt/ankermake-m5-protocol/commit/2add2e60bb66f5ae369aefe7ed3f8cb9a087a255 and used its (proper) way of displaying the modal popup with varying messages instead of duplicating it.

treitmayr avatar Feb 05 '24 19:02 treitmayr

Fixes #109, #152.

treitmayr avatar Feb 17 '24 22:02 treitmayr