Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX Fixes #74

Merged
merged 23 commits into from
Aug 10, 2018
Merged

UX Fixes #74

merged 23 commits into from
Aug 10, 2018

Conversation

Shriyanshagro
Copy link
Collaborator

This Pr includes major UX fixes

@coveralls
Copy link

coveralls commented Aug 10, 2018

Pull Request Test Coverage Report for Build 364

  • 20 of 21 (95.24%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.09%) to 88.976%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/ifttt/utils.py 10 11 90.91%
Totals Coverage Status
Change from base Build 326: 0.09%
Covered Lines: 452
Relevant Lines: 508

💛 - Coveralls

@@ -47,6 +47,8 @@ class IIftttTriggerAction(Interface):
u'Give the name of IFTTT event which you want to trigger'
),
required=True,
# BUG - add one word contraint to this and to all ifttt_triggers
# constraints=validate_ifttt_event,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Shriyanshagro Folloe https://docs.plone.org/develop/addons/schema-driven-forms/customising-form-behaviour/validation.html#constraints to add "constaint" to schema

constraint is a function that receives value to checked as its only argument (it knows nothing about the context of the value)

if values is ok it returs nothing

if value is not ok, it raises exception (see the exception class from the linked doc)

@datakurre
Copy link
Collaborator

@Shriyanshagro I removed SelectWidget from this branch into #75

@datakurre datakurre merged commit 4543cec into master Aug 10, 2018
@Shriyanshagro Shriyanshagro deleted the ux_fixes branch August 10, 2018 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants