Skip to content

Fix #3523 improved search tool#3544

Merged
tdipisa merged 4 commits intogeosolutions-it:masterfrom
MV88:improve_coord_editor
Feb 19, 2019
Merged

Fix #3523 improved search tool#3544
tdipisa merged 4 commits intogeosolutions-it:masterfrom
MV88:improve_coord_editor

Conversation

@MV88
Copy link
Copy Markdown
Contributor

@MV88 MV88 commented Feb 18, 2019

Description

This pr adds up to the previous #3524
image

It has:

  • changed some icons in the toolbar
  • added reset between switching from coordinate to addresses input fields
  • moved config search services in the new hamburger menu

Issues

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
the search results are not reset when switching tool and search service config is under general settings

What is the new behavior?
those problems are gone and new ui has been implemented

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@MV88 MV88 self-assigned this Feb 18, 2019
@MV88 MV88 requested a review from mbarto February 18, 2019 10:22
@MV88 MV88 changed the title Fix #106 improved search tool Fix #3523 improved search tool Feb 18, 2019
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.05%) to 80.765% when pulling fd4f5b1 on MV88:improve_coord_editor into d09e85f on geosolutions-it:master.

@geosolutions-it geosolutions-it deleted a comment Feb 18, 2019
dashArray: '',
fillColor: '#3388ff',
fillOpacity: 0.2,
iconUrl: "https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-red.png",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we use a local copy of this one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, i was thinking that if one overrides the resultsStyle of the Search plugin this style will be different. i'll check if we can find it from the state, (my guess is that from the config is passed to the plugin but not in the state :) )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My comment was about not depending from an external url that could disappear.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i know, that's why i started with a yes... 🥇

fillColor: '#3388ff',
fillOpacity: 0.2,
iconUrl: "https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-red.png",
shadowUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.1/images/marker-shadow.png"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suppose we should already have a local copy of this

}));

const SearchBar = connect(searchSelector, {
// ONLY FOR SAMPLE - The final one will get from state and simply call textSearch
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

old comment?

position: 4
}
}),
SearchServicesConfigPlugin: assign(SearchServicesPlugin),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove assign

Copy link
Copy Markdown
Contributor

@mbarto mbarto left a comment

Choose a reason for hiding this comment

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

Look at my comments

@geosolutions-it geosolutions-it deleted a comment Feb 19, 2019
@tdipisa tdipisa merged commit ba8be8a into geosolutions-it:master Feb 19, 2019
@allyoucanmap allyoucanmap mentioned this pull request Aug 9, 2024
5 tasks
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.

Address and coordinate search

4 participants