core icon indicating copy to clipboard operation
core copied to clipboard

Confusing terms “Validity” vs “Expires” with captive portal vouchers

Open itkfm opened this issue 2 years ago • 0 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.

The English terms “Validity” and “Expires in” basically mean the same things. This makes generating captive portal vouchers a confusing task because you have to figure out which is which first.

Describe the solution you like

Regarding the Captive Portal: Vouchers page (/ui/captiveportal/voucher):

I would like to have the labels in the “Generate vouchers” dialog (which is opened by the “Create vouchers” button) to have distinct names that make it clear which one is the validity of the voucher code itself and which one designates the validity of the session.

Furthermore, I’d prefer if the overview page didn’t mix terminology all the time. At the moment, a voucher with no “Expires at” can still have its “State” saying “expired”.

Describe alternatives you considered

It would already be helpful if this could be looked up in the docs. As-is, https://docs.opnsense.org/manual/captiveportal.html doesn’t even mention the patterns “expir…” or “valid…”.

Additional context

image Which Witch Is Which

itkfm avatar Apr 24 '24 14:04 itkfm