GithubHelp home page GithubHelp logo

ddf-ui's People

Contributors

alexabird avatar andrewkfiedler avatar andrewzimmer avatar andyjcross avatar azgoalie avatar bdeining avatar blen-desta avatar brendan-hofmann avatar brjeter avatar clockard avatar coyotesqrl avatar djblue avatar emmberk avatar glenhein avatar hayleynorton avatar jaymcnallie avatar jlcsmith avatar josephthweatt avatar jrnorth avatar kcwire avatar lambeaux avatar mcalcote avatar mojogitoverhere avatar pklinef avatar pvargas avatar rzwiefel avatar sgalla avatar stevenmalmgren avatar stustison avatar vinamartin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ddf-ui's Issues

Federated results failing in workspace lists

Federated source results do not show up in workspace lists because the query to retrieve list items adds a filter for the metacard-tag attribute. This attribute is not recognized by federated sources.

Dropdowns don't open on Microsoft Edge versions <= 44.18362.449.0

Description

Most dropdowns do not open on Microsoft Edge with versions <= 44.18362.449.0

Steps to Reproduce

Open DDF on Microsoft Edge with one of the affected versions. Try to open the pan/zoom dropdown on the map or the location selection dropdown for an anyGeo search

Expected behavior :

A dropdown should open

Actual behavior:

No dropdown opens

Reproduces how often:

100%

Platform and environment:

Microsoft Edge versions <= 44.18362.449.0

Affects versions

2.19.x, master

Clean up, maintenance, and the future of Catalog UI Search

Note: Issue migrated from DDF (codice/ddf#4656)

Description

Provide an issue that can be used to discuss the future of the module, aggregate related issues, maintenance, and work out a vision for the future of UI development and accompanying services.

Expected behavior:

Any effort that helps the UI be less coupled to DDF or provides insight to a stable, versionable API around DDF is welcome. See #4606 for initial ideas.

Alternatives include:

  • Extracting just the JavaScript / UI itself to a separate repo, and versioning Intrigue's backend components themselves.

CSV Export Result should not include empty columns

When exporting a result from the results list to csv, attributes that are blank/empty for the result still get copied over to the csv. It would be better to only include columns for which the record has an attribute value.

Drawings are not rendered across multiple 3D maps

Description

If you have multiple 3D maps open and fill in a basic search form with a specific location, drawn lines and polygons are not rendered correctly across all maps. Point Radii and Bounding Boxes seem to work correctly.

Expected behavior

For all maps to display the drawings.

Screenshots

Screen Shot 2020-03-17 at 10 13 38 AM

Screen Shot 2020-03-17 at 10 13 38 AM

Improve UX on the Actions buttons in the Inspector View

In the Inspector view, there are two different elements, both labeled "Actions". There should not be multiple different actions in the same view that are labeled the same thing.

Also, the lower "Actions" opens a drop down with Show, Arrange, etc. These options should be better exposed to the user rather than hiding in this dropdown.

Spark applications that power Intrigue do not have javadoc

Note: Migrated from DDF (codice/ddf#5428)

Description

Javadoc explains what components are, how they work at a behavior level (semantics), and helps the developer identify the important pieces they should care about when accomplishing a particular objective.

Version

N/A until progress starts.

Additional Information

Impacts: #123

Enforce inter-package dependencies within Catalog UI Search

Note: Migrated from DDF (codice/ddf#4666)

Description

Normally in an OSGi environment, where a feature consists of many jars/bundles, going through the Maven project steps provides some degree of dependency protection. Culturally it also raises additional awareness and discipline because a project's larger-picture dependency graph directly impacts the potential for a clean build, parallel build, and an otherwise painless CI/CD experience.

For how classes are packaged within a Maven module, the impacts of a messy dependency graph are substantially less punishing, until the module needs to be split, or some other concern enters the picture.

Expected behavior:

Look into the current interpackage relationships within Catalog UI search, see what can easily be cleaned up, and then enforced at build time so the package dependencies stay clean.

Version

N/A until progress starts.

Additional Information

Impacts: #123

Might be worth looking into the following:
https://www.archunit.org/
https://blog.jdriven.com/2018/10/testing-the-architecture-archunit-in-practice/
http://www.mojohaus.org/extra-enforcer-rules/banCircularDependencies.html

Geometries drawn over the anti-meridian change on the map

If you draw a geometry over the anti-meridian (180 degrees longitude) on the 2D map, the shape changes to fit within the constraints of the map. Also, results that cross the anti-meridian aren't rendered over the anti-meridian; they change to fit within the constraints of the map. See examples below

Drawn geometries

Bounding Box (this change only occurs upon search/save)
antimeridian-min
Polygon (this change occurs immediately after the drawing is complete)
Recording #69-min
Line (also occurs immediately after drawing is complete)
Recording #70-min

Result geometries

Bounding Box
based on the result's location WKT, it should appear on the map like this:
image
but it's appearing here instead:
image
Polygon
should be:
image
but is:
image
Line
should be:
image
but is:
image

Inconsistent behavior for read-only results forms

System and shared result forms with read-only permissions cannot be edited by a user. Shared read-only forms will display an error upon accessing the form and a user is unable to view which attributes are selected. For system forms a user can access the form and edit, however changes are not saved and a vague error is displayed.
Behavior should be consistent for read-only forms

Show thumbnail inspector in table view

Currently, mousing over a thumbnail in the table view does not show the inspector icon (magnifying glass) in some situations. It does show up in the gallery view of the results in the side panel. This should be consistent with the gallery view, which shows the inspector icon and lets you click on it, opening the thumbnail in the new tab.

User should be able to select a default Result Form

Currently, the user can only select a default Search Form. This functionality should be extended to result forms. If the user sets a default result form, that default should appear as the default in the Search Form builder, as well as the advanced and basic search forms.

Add extension point for filter input

Description:
A downstream project would like to override the filter input in queries.

Expected behavior (if applicable):
Nothing should change in DDF, the query panel should look exactly like it did before.

CQL and filterTree sometimes get out of sync

In https://github.com/codice/ddf-ui/blob/master/ui-frontend/packages/catalog-ui-search/src/main/webapp/component/query-adhoc/query-adhoc.view.js#L207 we are setting the cql without setting the filterTree.

This can cause issues elsewhere in the UI since the filterTree is now seen as the source of truth (sometimes?).

It's probably worth considering eliminating the cql attribute entirely so we aren't trying to keep filterTree and cql in sync, otherwise I can see us running into this issue more in the future.

Result Form creation should start with default attribute value

Currently, when creating a new result form, there is no default value selected. This presents the user with an non-valid error message. The form can't be submitted without selecting a value, so we should select the top one from the list as the default.

Bounding box searches should be prevented if the south value is greater than the north value

Currently, if a user enters south and north values where south > north, the 2D map incorrectly renders a line. The 3D map takes all the coordinates into an array and renders a PolyLine (where coordinate order doesn't matter), so the correct bounding box is rendered. But both maps should not render anything since the bounding box is invalid.
If the search is executed with the invalid bounding box, it returns results within the intended bounding box because the search uses a polygon (where again, coordinate order doesn't matter). But with the recent UX changes to geo searches, we're moving more towards error handling being the responsibility of the user with an increase in specific inline errors. Therefore the search should be prevented from executing if the bounding box is invalid due to the south value being greater than the north value.

3D map does not delete certain geometries

The 3D map does not delete the keyword geometries. If the user inputs a keyword, that geometry will show on the map. But if they input another keyword, the first geometry will remain, so two geometries will be showing. Only the second one should show.

In addition, for all geometries, making a geometry invalid (for example, deleting a coordinate) should make the geometry disappear on the map. instead the map continues to show the previously valid geometry.

Allow users to remove themselves from the sharing list

Description

If a user does not want to see a workspace or search/result form that has been shared with them anymore, they should be able to remove themselves from the sharing list.

Expected behavior:

User is allowed to remove themself

UTM/UPS values are cleared when an invalid value is entered

If an invalid value is entered into the easting field, both easting and northing fields will be cleared and vice versa. There should instead be an inline error message and the values should be retained so the user can edit what's already been entered.

Update log-sanitizer to release version

log-sanitizer needs to be updated to a release version. (ui-backend/catalog-ui-search/pom.xml)

This is only a temporary workaround so that the repo can be ready for transition before the new release. Snapshot versions should not normally exist within this repo.

Allow Line geo to have no buffer

Currently, we force the Line geo to have a buffer. User should be able to search with a Line without having any buffer. If the Line does have a buffer, it should be at least 1 meter. This reflects how we treat Polygons.

Can't draw on 3D map

When attempting to draw a point-radius or bounding box on the 3D map, the drawing stops after one click on the map

Preview Popup in Intrigue Maps

Innovation week work inspired by user conference suggestions. We would like to show the title and Preview text of files when a user clicks on a map marker in Intrigue.

Requirements:

  • Preview Popups happen in both cesium and in openlayers.

Actions are being returned as improper urls from the server

Actions from the server currently can return with improper urls. We should be encoding them somewhere on the server. This can be recreated by making a source with a space in the name. If you do that, the client will hit an error when parsing the results with actions.

Screen Shot 2020-04-08 at 4 05 39 PM

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.