Comments (7)
This is increasingly being requested, and is becoming fairly high priority.
from taxonworks.
from taxonworks.
Are you now thinking about that approach as a replacement for the wirefame that was proposed?
from taxonworks.
from taxonworks.
Thinking quickly- I think we still need the form as we designed, but it's certainly not a bad step to do this first. We need to do the following:
- Extend the invocation pattern
soft_validate(:other_soft_validation_method, set: :some_set, resolutions: ['route_name_only_no_path_or_url_postifx', ... 'other_path'])
(prioritize the first path, but here recognize that tasks may ultimately overlap, so we might give users different views that both solve the problem- likely don't use this pattern too much, but at least make it possible) - Extend SoftValidation (singular) with an accessor that stores an array of (see below) the resolution paths, set on initialization
- Add a helper method(s) that generated the fully qualified path to resolution, and optional other paths if there are more based on some click through event
Soft validation code is quite (very?) well tested, so we should be able to extend it quickly. Do you want me to tackle it, or do you want to take a look (and maybe make general improvements)?
from taxonworks.
With f7ec60a you can make a soft validation resolvable by including resolution_with: __method__
in soft_validations.add() (note that method is literally what you use). It feels a little crude, and not as automagic as it could be, but might be workable, and gives us the flexibility to user/not resolution with a particular soft validation instance. Need to further document what's going on.
from taxonworks.
Going to close this, the existing solution provides resolvable soft validations, albeit with some extra weight. We can open an new issue when we need specific changes.
from taxonworks.
Related Issues (20)
- add Source ID to output table in Filter Sources
- [Bug]: dwc import will create multiple collecting events for the same collecting event HOT 4
- Upload images and link them to already exsiting collection objects HOT 8
- [Bug]: Some hotkeys don't work on Firefox on Linux HOT 12
- [Bug]: Wikidata Global Identifers not exported in DWCA export HOT 2
- [Bug]: Content list format HOT 2
- [Bug]: Server error on CE 'Add Google map georeference' HOT 1
- [Bug]: Edit CE Task-Print Label option disappears when Verbatim label field is blank
- Tweaking usability of the hotkeys modal / navigation
- [Bug]: collectionCode and basisOfRecord in DwC Imported dataset not present in DarwinCore output for TW CO HOT 3
- Importing dwc having issues with sex HOT 5
- Could we have a Download pdf button on the Filter Sources task
- On the Filter Sources task, there is Status 500 error
- Task-Filter COs: field synchronize updates remain in filter results HOT 7
- [Bug]: Hotkey not working in CSD HOT 8
- CSD task [Bug]: entering waterBody value, then saving, causes forever buffering HOT 3
- [Bug]: 500 error at Loans Dashboard task on loan with no 'date sent' HOT 3
- [Bug]: CSD: adding type material results in duplicates/error HOT 4
- Recent param based on the Created field in any model.
- Field Syncronize - when object hasn't used a predicate then it's not available for selection HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taxonworks.