express-device icon indicating copy to clipboard operation
express-device copied to clipboard

What new features should I include for version 0.4?

Open rguerreiro opened this issue 10 years ago • 6 comments

One that is on the pipeline for a very long time is parsing the OS. But that is already done in the ua-parser package. Is it really necessary on the express-device?

What other ideas do you have that make sense on adding to express-device?

rguerreiro avatar Aug 21 '14 09:08 rguerreiro

Well I don't know if this is not an out of scope, but some feature detection would be nice. Like testing for touch events! I know that Modernizr does that pretty good, but it would be awesome if we could get that information before the client.

renancouto avatar Aug 27 '14 13:08 renancouto

How about the option for a user to force desktop - or other - view. E.g. "switch to desktop site" would set an ignore variable or other solution.

mklemme avatar Oct 23 '14 02:10 mklemme

If a function like get_type could somehow yield which device was recognized (instead of just the type), that would be splendid - even it it was just the part of the regex that matched. A full device name string would be incredibly useful though. get_device_name would make this already great lib magical. That and the force-desktop mode mentioned.

arvidkahl avatar Dec 04 '14 16:12 arvidkahl

Hi, would it be possible to add a list of custom rules to the config. It would be nice to add custom filters for specific user agent strings that are either missing or that are special cases and to be treated differently.

cbanbury avatar Dec 27 '14 20:12 cbanbury

I'd love to know the viewport width or device width.

wamoyo avatar Jul 14 '15 17:07 wamoyo

For version 0.4.0 I'll be adding support for express v4.0. For the versions after that I'll start to pick some of your ideas. Thank you for all the input. Keep it coming ;)

rguerreiro avatar Aug 26 '15 19:08 rguerreiro