GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Rich Felker (dalias@hachyderm.io)'s status on Sunday, 08-Dec-2024 19:57:49 JST Rich Felker Rich Felker
    • Rob Pike

    @robpike Any type of control but a textbox for numeric input is inexcusably bad UX.

    Any good browser or UI toolkit should disallow them and silently replace them with textboxes.

    In conversation about 5 months ago from hachyderm.io permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Sunday, 08-Dec-2024 20:31:47 JST Rich Felker Rich Felker
      in reply to
      • Rob Pike
      • Tim Ward ⭐🇪🇺🔶 #FBPE

      @TimWardCam @robpike If so that's just sad and stupid. I always assumed they were something mindless UI devs believed they were supposed to use anywhere there was a "finite set of choices" and they didn't want to validate input..

      In conversation about 5 months ago permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Tim Ward ⭐🇪🇺🔶 #FBPE (timwardcam@c.im)'s status on Sunday, 08-Dec-2024 20:31:48 JST Tim Ward ⭐🇪🇺🔶  #FBPE Tim Ward ⭐🇪🇺🔶 #FBPE
      in reply to
      • Rob Pike

      @dalias @robpike Isn't it an ancient attempt at a security device, harking back to the days (last century?) when there were malware thingies called "key loggers" which could capture what you typed in a text box but couldn't capture what you selected in a scrolling widget?

      In conversation about 5 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Sunday, 08-Dec-2024 20:34:52 JST Rich Felker Rich Felker
      in reply to
      • Rob Pike
      • Tim Ward ⭐🇪🇺🔶 #FBPE

      @TimWardCam @robpike You need server side validation regardless. Client side is just a convenience for the user.

      In conversation about 5 months ago permalink
    • Embed this notice
      Tim Ward ⭐🇪🇺🔶 #FBPE (timwardcam@c.im)'s status on Sunday, 08-Dec-2024 20:34:53 JST Tim Ward ⭐🇪🇺🔶  #FBPE Tim Ward ⭐🇪🇺🔶 #FBPE
      in reply to
      • Rob Pike

      @dalias @robpike Yes well, my web site has dropdowns for dates because I'm too lazy to write any decent validation, but at least it almost always defaults to the date that the punter wants.

      In conversation about 5 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Sunday, 08-Dec-2024 21:25:16 JST Rich Felker Rich Felker
      in reply to
      • kolya
      • Rob Pike

      @kolya @robpike That is NOT fine UX. Fine UX would be interpreting that as a text field that validates YYYY-MM-DD.

      In conversation about 5 months ago permalink
    • Embed this notice
      kolya (kolya@social.cologne)'s status on Sunday, 08-Dec-2024 21:25:17 JST kolya kolya
      in reply to
      • Rob Pike

      @dalias @robpike
      all modern browsers support a standard date picker with fine UX: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
      the problem are webdevs who only know their Javascript framework and have little idea about HTML/CSS and therefore needlessly build their own pretty but shitty datepickers

      In conversation about 5 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        - HTML: HyperText Markup Language | MDN
        from MozDevNet
        elements of type="date" create input fields that let the user enter a date. The appearance of the date picker input UI varies based on the browser and operating system. The value is normalized to the format yyyy-mm-dd.
    • Embed this notice
      Simon (spzb@infosec.exchange)'s status on Sunday, 08-Dec-2024 21:45:20 JST Simon Simon
      in reply to
      • kolya
      • Rob Pike

      @dalias @kolya @robpike can't have that. It would confuse the Yanks ;)

      In conversation about 5 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Sunday, 08-Dec-2024 21:45:20 JST Rich Felker Rich Felker
      in reply to
      • kolya
      • Rob Pike
      • Simon

      @spzb @kolya @robpike You could have it as a user preference. Rather than those hideous date pickers that take tens or hundreds of clicks to do what 8 keystrokes could do.

      In conversation about 5 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Sunday, 08-Dec-2024 23:18:48 JST Rich Felker Rich Felker
      in reply to
      • kolya
      • Rob Pike
      • Simon

      @kolya @spzb @robpike I didn't get it to load to check, but that doesn't work on the vast majority of real world sites..

      In conversation about 5 months ago permalink
    • Embed this notice
      kolya (kolya@social.cologne)'s status on Sunday, 08-Dec-2024 23:18:49 JST kolya kolya
      in reply to
      • Rob Pike
      • Simon

      @dalias @spzb @robpike
      You do realise that you can type into the date picker I just linked on MDN, right?

      In conversation about 5 months ago permalink
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Monday, 09-Dec-2024 00:14:08 JST Rich Felker Rich Felker
      in reply to
      • kolya
      • Rob Pike
      • Simon
      • dr2chase

      @kolya @dr2chase @spzb @robpike What's the about:config for it?

      In conversation about 5 months ago permalink
    • Embed this notice
      kolya (kolya@social.cologne)'s status on Monday, 09-Dec-2024 00:14:09 JST kolya kolya
      in reply to
      • Rob Pike
      • Simon
      • dr2chase

      @dr2chase @dalias @spzb @robpike
      you can set that prefence in your browser or OS if you like and this date picker will use it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#:~:text=The%20appearance%20of%20the%20date%20picker%20input%20UI%20varies%20based%20on%20the%20browser%20and%20operating%20system.%20The%20value%20is%20normalized%20to%20the%20format%20yyyy%2Dmm%2Ddd.

      In conversation about 5 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        - HTML: HyperText Markup Language | MDN
        from MozDevNet
        elements of type="date" create input fields that let the user enter a date. The appearance of the date picker input UI varies based on the browser and operating system. The value is normalized to the format yyyy-mm-dd.
    • Embed this notice
      dr2chase (dr2chase@ohai.social)'s status on Monday, 09-Dec-2024 00:14:10 JST dr2chase dr2chase
      in reply to
      • kolya
      • Rob Pike
      • Simon

      @kolya @dalias @spzb @robpike I loathe any MM/DD/YYYY or DD/MM/YYYY format because for many dates (including my birthday, spouse, and 1 kid) there is a little ambiguity. I don't care if it is "standard", it sucks, I write all my US-normie dates DD-Month-YYYY and all my sensible person dates YYYY-MM-DD.

      In conversation about 5 months ago permalink
    • Embed this notice
      kolya (kolya@social.cologne)'s status on Monday, 09-Dec-2024 00:14:11 JST kolya kolya
      in reply to
      • Rob Pike
      • Simon

      @dalias @spzb @robpike
      That is a web standard, the browser compatibility chart showing it does work on all modern browsers is right there. It doesn't require JS or anything.

      In conversation about 5 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.