Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

simplify language and website selection #2415

Closed
sgiehl opened this Issue · 5 comments

2 participants

@sgiehl
Collaborator

the currently used fdd2div javascript is a bit crappy and the website selection quite too complicated

We should:

  • remove fdd2div and use native jquery (ui) functions instead
  • try to simplify the website selection (no different implemetations depeding on number of websites)
@sgiehl
Collaborator

(In [4660]) fixes #2415

  • removed fdd2div js
  • replaced fdd2div with jquery ui autocomplete in language selection
  • simplified site selector - now using same code for both variants
@sgiehl
Collaborator

(In [4661]) refs #2415 added missing doc block

@mattab
Owner

good stuff!!
some feeedback

  • when there is one website only, the website selector should not have the arrow on the right and not be clickable
  • when search for "aiehgeaiuhg" and there is no website with such name, the line "There is no site for XXX" is clickable and leads to error, instead it should not be clickable

Note: to display search in site selector, you can set
[General]
autocomplete_min_sites = 2
in config file

@sgiehl
Collaborator

(In [4671]) refs #2415 fixed error occuring on clicking empty-result message

@sgiehl
Collaborator

(In [4672]) fixes #2415 handle case with only one site correct

@sgiehl sgiehl added this to the 1.5 - Piwik 1.5 milestone
@sgiehl sgiehl self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.