Matt-Yorkley
18ee5254f9
Make Geo service calls more resilient in /shops page
...
The Geo service is used heavily in the /shops page and especially in the search function. If the google maps js library has failed to load it was throwing a lot of fatal errors, so this change ensures the /shops page can at least: a) load, b) show some shops, and c) search for shops by name (but not location)
2020-04-02 13:56:25 +02:00
Matt-Yorkley
a91ae8947b
Only query visible enterprises
2019-06-12 09:47:01 +01:00
Matt-Yorkley
45d65baf8e
Improve shops performance
2019-06-12 09:47:01 +01:00
Maikel Linke
8e73a2e0d6
Dereference enterprises and taxons later
2016-07-06 16:20:07 +10:00
Maikel Linke
08fdc8a5bd
Load producers of all or selected order cycles into shop
2016-06-29 12:57:09 +10:00
Maikel Linke
e284ad62b2
Inject only relative enterprises into shopfront
...
Other shops displayed in producer modals are lazy loaded when opening
their modal.
2016-06-17 17:15:16 +10:00
Rohan Mitchell
0ab75fe2ea
Take the first name match from the post-filter results to avoid matching off a result the user can't see
2015-07-10 17:45:17 +10:00
Rohan Mitchell
5b93ac2ae1
Remove unneeded injections, consistent spacing
2015-07-10 17:45:16 +10:00
Rohan Mitchell
06c5ffb427
Wrap geocode callback in ., fixing inconsistent updates
2015-07-10 17:45:16 +10:00
Rohan Mitchell
651afc34cb
Notify enterprise change by broadcast
2015-07-10 17:45:16 +10:00
Rohan Mitchell
7f2508eeaa
When a name match is found, calculate distances from that enterprise, rather than from the geocoded lookup
2015-07-10 17:45:15 +10:00
Rohan Mitchell
744beaa26a
Perform shops search by proximity instead of plain string match
2015-07-10 17:45:15 +10:00
Rohan Mitchell
d0d9e9e367
Flag enterprises whose name matches a query
2015-07-10 17:45:15 +10:00
Rohan Mitchell
befcc37456
Fix bug in distanceBetween, update docs, deal with null queries
2015-07-10 17:45:15 +10:00
Rohan Mitchell
9fb7c47c73
Enterprises can calculate their distances from a location via geocode lookup
2015-07-10 17:45:15 +10:00
Rafael Schouten
f0a3296e52
change enterprise category name ans use symbols instead of strings
2014-10-16 16:26:49 +11:00
Rafael Schouten
7805d46743
more angular documentation
2014-10-06 23:20:43 +11:00
Rafael Schouten
881e82e825
add some angular documentation
2014-10-06 22:59:06 +11:00
Rafael Schouten
b3482a087b
separate enterprises from visible enterprises
2014-10-04 01:00:37 +10:00
Rafael Schouten
ce9b132ab5
only show visible enterprises
2014-10-02 13:10:46 +10:00
Rafael Schouten
4b576d1590
refactor enterprise specs
2014-09-26 00:15:33 +10:00
Rafael Schouten
0e2774882f
dry enterprise angular
2014-09-25 13:06:02 +10:00
Will Marshall
eb8f59d65b
Tests for the taxon filtering
2014-07-04 15:19:45 +10:00
Will Marshall
487b8616c0
Adding dereferencing to taxons and reducing our data-set
2014-07-04 13:51:22 +10:00
Will Marshall
4f3d468db6
Dereferencing groups and adding modals to page
2014-06-24 17:15:31 +10:00
Will Marshall
21589fd5b0
Hack patching home page modals
2014-06-20 16:31:49 +10:00
Will Marshall
1ed634239d
Major refactoring
2014-06-20 16:31:49 +10:00
Will Marshall
45404f1475
Adding dereferencing on construct to Enterprises service - this is MAGIC
2014-06-18 15:48:24 +10:00
Will Marshall
deb6c8a05a
Refactoring the RABL injection and the Hubs/Producers/Enterprises services
2014-06-18 15:40:02 +10:00
Will Marshall
e7c301da83
Reworking the RABL templates for simplicity AND fixing up all the tests
2014-06-18 13:05:44 +10:00