aktin / dwh-admin

0 stars 0 forks source link

Enable aktin.properties Configuration via UI #4

Open akomii opened 3 weeks ago

akomii commented 3 weeks ago

Currently, the configuration for aktin.properties must be edited directly on the server as a file, which can be time-consuming and requires server access. To improve usability and streamline the configuration process, it would be beneficial to enable aktin.properties settings to be configured directly from the UI.

Feature Request

  1. Introduce a new settings section in the UI dedicated to configuring aktin.properties
  2. Allow users to edit key fields
  3. Provide a button to save changes (the new value are written to the aktin.properties file)
  4. Provide a function to restart the wildfly server to apply the new settings
LongusBongus commented 2 weeks ago

Additionally we need to...

LongusBongus commented 2 weeks ago

Here the first ideas:

Case 1: No according user rights mockup_no_permission

Case 2: Wrong input mockup_type_error

Case 3: Empty field mockup_null_error

Case 4: Correct changes and restart button mockup_restert

simhue commented 2 weeks ago

Questions:

Remarks

LongusBongus commented 2 weeks ago

To answer the question, if a user without the correct permissions opens the page, he wont be shown editable fields. Instead he will get plain text elements.

New Mockup Case 1: No permission Mockup_no_rights

Case 2: Wrong Input Mockup_empty_error Mockup_type_error

Case 3: Changes Correct, save prompt Mockup_correct_changes

Case 4: Restart Server Request after saving changes Mockup_server_restart

simhue commented 2 weeks ago

I think there should be 2 views

Case 3: According to Material Design dismissive actions should always be to the left of confirming actions https://m3.material.io/components/dialogs/guidelines#befd7f4d-1029-4957-b1b5-da13fc0bbf3c

Edit: Try to keep the button labels short and concise, e.g. "Verwerfen" instead of "Ă„nderungen verwerfen".

LongusBongus commented 5 days ago

Not editable view Visible_only

When trying to acess editing mode, but dont have the permission no_permission

Editing mode edit_mode

Editing mode with valid changed attributes correct_changes

Editing mode with unvalidated changes, here: Wrong input and no input wrong_input no_input

A flow chart, to demonstrate how the editing workflow should look like Ablauf drawio

simhue commented 5 days ago

Looks fine, but hide the edit button, when lacking edit rights