IsThereAnyDeal / AugmentedSteam

Augments your Steam Experience
https://augmentedsteam.com
GNU General Public License v3.0
1.38k stars 85 forks source link

Improve "Activate multiple products" dialog #449

Open MxtOUT opened 5 years ago

MxtOUT commented 5 years ago

Create an input field that is suitable for the most popular Steam key format (AAAAA-BBBBB-CCCCC). I imagine it like this: x : Input field that can hold 4 characters (restrict the input to valid characters) | : Hyphen

x|x|x

If an entry has been successfully entered, create a new input, directly focusing it so the user can continue typing in (or pasting) the next key.

The input field should also support pasting from the clipboard (possibly even a in CSV format, don't know if that's overkill though).

When confirming and not activating an app, it should show the app's name (https://steamcommunity.com/groups/isthereanydeal/discussions/0/619568793803444131/?ctp=14)

Revadike commented 5 years ago

What about abnormal keys though? Should those be only allowed to be activated one by one? Also, here is my regex that works for all modern steam keys: [A-NP-RTV-Z02-9]{5}(-[A-NP-RTV-Z02-9]{5}){2} Valid steam keys don't allow all characters, as you can see. But mind that steam also accepts these keys in lowercase or/and without dashes.