-
Notifications
You must be signed in to change notification settings - Fork 3
Search - Search by Attribute UI #45
Comments
Link to DMF in Test: https://test.apps.gov.bc.ca/ext/dmf-wizard/ |
dependency on connectivity to MPCM endpoint. #80 |
Lets set up a design session and discuss |
There is a configuration property to set the 'title attribute', ie the atttribute that is shown in the list above. This needs to be exposed in the admin UI. |
Re the first issue on @cpspicer comment above: We've added a button in the admin UI to pull values. Currently it's activated for WMS features, and on a follow up next week we'll add in vector. I took a dive into the DMF code and it looks like it's configured to use the ArcGIS service calls to populate the list (geoprocess tools should let us get around the query limits), so we can use that same method (not always ideal as it is possible for it to miss values on large datasets, but I'll try and work out a sensible query). However, because we want this to automatically update on the client side, I think this code should be removed from the Admin UI and moved into the client. On startup, the client could attempt to fetch a list that will always be up to date for a dropdown attribute. |
Agree code should be client side, with a mode option setting in the author. |
QA Failure. App builder won't open the screen to configure Queries for a layer. e.g. Points of diversion. Clicking yields no response or error from the UI. |
@cpspicer Caught a bug in the admin ui related to the removal of surround editor panel that's affecting all modal dialogs. It's been patched, will do a build/deploy by Monday at the latest so you should see this issue fixed shortly. |
I can now create queries again - testing continues. I can manually add drop down values for attributes, but the actual attribute values are blank when you click on the drop down to make a choice. The choices are there, and you can select a seemingly blank entry. If you hit return the drop down box opens, but if you click in a text field and hit return the query will run and return results from that 'invisible' drop down attribute. Also, still no toggle in the UI to have a drop down box fed from the live dataset for MPCM datasets. I do like the new title attribute. Thanks for adding! |
The title for a parameter select choice is now optional, and will be derived from value if missing. https://github.com/bcgov/smk/wiki/SMK-Client-Configuration#choices-select-layer-query-parameter |
The queries are working well. The UI styling needs a little bit of tweaking. See "Assisted Living..." site". At 100% zoom level in chrome the Query and results panel is cut-off due to the number of attributes listed, and the Title is displaced upwards. Would like to decrease the font-size for the Title and for the choices in the drop-down boxes as well. Can this be done through the .css? |
Linked to #193 |
addition of scrollbar would perhaps alleviate some of the stretch trouble with the lengthy query form. |
Good solution @qqnluaq |
link to #242 |
closing this issue - moving 242 into the backlog |
Very similar to existing DMF applications - see BC Parks as an example.
The text was updated successfully, but these errors were encountered: