Giter Site home page Giter Site logo

Comments (6)

otakustay avatar otakustay commented on May 28, 2024

没理解错的话,意思就是我们需要一个全表单的全局错误信息对吗?可能一次表单提交后,有3个字段有问题分别提示,同时这个实体本身不能更新也需要有提示(比如就放在表单最后面)

from ub-ria.

wurongyao avatar wurongyao commented on May 28, 2024

嗯,我说的是这个意思。

from ub-ria.

otakustay avatar otakustay commented on May 28, 2024

OK,这确实是我的疏忽,我们系统暂时没遇到这情况就没定义了,我去加上

from ub-ria.

otakustay avatar otakustay commented on May 28, 2024

已在WIKI文档中添加,但标记为可选,如果没有全局性的错误,可以不提供。

至于这个全局的错误如何在前端展现,是不是也有必要讨论下?是Dialog呢还是表单上内联的提示,你看这个交给UE来决定还是我们自己来?

from ub-ria.

wurongyao avatar wurongyao commented on May 28, 2024

由于这种全局错误与字段无关,放在表单位置并不容易focus到,对用户来说不太友好,最好是能dialog弹。
但有些页面是被iframe的,似乎又只能内联显示。

UE可以给我们两种具体的样式规范,我们再根据实际情况选择。

from ub-ria.

otakustay avatar otakustay commented on May 28, 2024

好,具体我会抽时间和UE去除。Dialog其实对用户的干扰是比较大的,原本放在提交按钮位置的鼠标要移到Dialog的按钮上,再点击才能关闭(后续我们做Dialog的回车确认ESC取消功能吧),对用户的整个流程是一种暴力的打断。但是内联的确实提示可能不太醒目,有一种方式是管家现在的Toast信息设计得更醒目些(Toast就是类似iphone有推送时的上面出现的那条东西)

Issue先关了,后续的推进我会去做

from ub-ria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.