Skip to content

Conversation

@pkraker
Copy link
Member

@pkraker pkraker commented Mar 23, 2020

This PR introduces two changes, which enable users of Head Start to implement a fallback AJAX search request, should the original request to the search*.php service not return (this is for example the case with bad connections):

  1. A service getLastVersion.php that returns the last version of a map for a given ID (used to check if a map/a specific revision has been created).
  2. Add the ability to provide search.php with a precomputed ID (otherwise, the client does not know, what map ID to check for).

This change was tested with all existing examples.

@pkraker pkraker requested a review from chreman March 23, 2020 19:10
@chreman
Copy link
Member

chreman commented Mar 25, 2020

Thank you for that! It works as intended. I can also confirm the non-fallback behaviour works as before, tested for the examples.

@chreman chreman merged commit ba230d9 into master Mar 25, 2020
@pkraker pkraker deleted the feature-fallback-ajax branch March 31, 2020 13:46
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.

3 participants